Koozali.org: home of the SME Server

Installing Modules

Graham

Installing Modules
« on: August 21, 2001, 04:53:11 PM »
Could anyone give me a few pointers on installing downloaded
rpm add ons ?

I have transferred the ones I want to use to the server and have
telnet access . .is it possible to install / run rpm from there ?

Many Thanks !

Graham

Allen Rapini

Re: Installing Modules
« Reply #1 on: August 21, 2001, 07:12:12 PM »
Aboslutely. The standard syntax for e-smith modules is:
rpm -Uvh "rpmname(s)"

you can successfully update mutltiple rpm this way, and if not installed, then it will install them. Try not to use the --force or --nodeps unless a reliable source verifies that the exception is warranted.
If you search for rpm -U in the forums, you will find several other good examples.

Allen

Graham

Re: Installing Modules
« Reply #2 on: August 21, 2001, 11:02:55 PM »
Thanks,  tried rpm -Uvh "rpm.name" on the CD-ROM share contributed module.
I didnt see any errors so assumed everything worked ok. I also assumed that
the install would patch the web templates for the manager and give me an option
to enable Sambe sharing of CD but I couldnt see any such feature ?

I guess I should read the doc but if thats installed as well where would it live ?

Is it possible to view a file temporarily like this using MC without actually decompressing and installing the rpm ?

Many thanks !

Graham

Pieter Links

Re: Installing Modules
« Reply #3 on: August 22, 2001, 11:55:14 PM »
Hello Graham,

Yes you can view the contents of an RPM in Midnight Commander.
Just go to the file with the cursor, hit ENTER and you will see some directories, files and scripts. Some RPM's have the directory-structure of the installed files right there, others have a file called CONTENTS.cpio. When you hit ENTER there, you will see the directory-structure with the installable files. The directory INFO in the RPM root contains more information about the program.

Good luck,

Pieter