Click to See Complete Forum and Search --> : How to install RPMs??


I AM SO NEWBIE
02-04-2001, 01:48 PM
I've got Linux Mandrake now for 3 days and I've been trying this and that...but I found that I could only UNinstall Programs with RPMdrake and not INSTALL them...well, with RPMdrake I selected the RPMs I wanted to install and pressed "install selected". OK, it said : "Wait a moment" , so I did..but there wasn't any activity of the HDD or the CDROM.
With the Packagehandler program I opened an RPM and pressed "Install". and it did install..I think, I saw the prgram process some things. I just don't know WHERE it's installed, I couldn't find the installed program in my Gnome-menu afterwards...

Anyone who can help me with this prblem???
(I guess it'll have a really simple solution...)

Greetz,
WOotAhS :confused:

ph34r
02-04-2001, 02:00 PM
rpm --help

should show you

to install: rpm -ivh rpmfilename.rpm
to upgrade: rpm -Uvh rpmfilename.rpm
to remove: rpm -e rpmfilename.rpm
to query: rpm -qa

PLBlaze
02-04-2001, 02:07 PM
From your prompt or terminal type rpm -i package.rpm to install or rmp -Uvh pakage.rpm to upgrade...there are mny options to rpm and they can be seen by invoking rpm alone.Hope this helps.

chadm1967
02-04-2001, 02:18 PM
Here's a great NHF that I use all the time....

http://www.linuxnewbie.org/nhf/intel/distros/redh/rpmcheat.html

LiNuts
02-04-2001, 05:57 PM
In rpmDrake, you have to point to the rpm's you want to install, I think it is on File at the top of your screen,(I have not used it for a while), you might be better of using a terminal and doing su then type kpackage, and use that to install your rpm's.
Or as said before, use a terminal and cd to the place where the rpm's are, then do su to get permission(root) and type rpm -ivh <rpm package>.

On mine it would be.
cd /mnt/win_c2/Linuxgear(wherei keep all my downloads).
or cd /mnt/cdrom/Mandrake/RPMS (if you want to use the installation cd).
Cheers
LiNuts