Click to See Complete Forum and Search --> : can't install an rpm package


noctec
11-11-2003, 10:55 AM
I've been tring to install libcrypto and everythime I try to usr rpm it gives me a bunch of option I ahouls use but when I use them it ays the command can't be found. any help wouel be great. thanks

serz
11-11-2003, 11:16 AM
Could you please post exactly what you're doing and what errors/messages are you getting?

noctec
11-11-2003, 12:07 PM
ok I type rpm -a opnessl-0.9.4.3b1.LS1.src.rpm

and I get Usage: rpm [-a| --all] and a buch of other things
I tried using --all but it says no such command.

fredg
11-11-2003, 12:36 PM
Type

rpm --help

to get the list of valid commands.

You are also trying to install a SRPM. That isn't directly usable, you will have to rebuild it. You probably are looking for a binary RPM.

serz
11-11-2003, 04:59 PM
rpm -ivh to install. Use either rpm --help or man rpm to get a complete list of options.

Also, you could try searching here, this questions are frequently asked.

vhg119
11-11-2003, 09:46 PM
if its a src.rpm
you have to do rpmbuild --rebuild blahblah.src.rpm
it'll compile it.. and drop the packages off at /usr/src/redhat/RPMS/i386
mv the packages from there to your home directory or somewhere you can manage.
then rpm -Uvh blahblah.i386.rpm