LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   rpm command (http://www.linuxquestions.org/questions/linux-general-1/rpm-command-16168/)

loganwva 03-13-2002 08:51 AM

rpm command
 
Could someone please tell me the command line command used to install a rpm package. I'm trying to install the evolution application, the package name is:
evolution-1.0.2-1mdk.i686.rpm

Thank you

Bert 03-13-2002 08:56 AM

rpm -ivh package-name.rpm

will do it.

Thymox 03-13-2002 08:58 AM

Have you looked? :D The first port of call for any command should always be the [i]man[/u]ual pages. Try typing man rpm for detailed information. If you can't find it there, you could try the HOWTOs, which can be found on www.linuxdoc.org.

Generally the command to install would be rpm -i xxx.rpm, but perhaps using the update might be better: rpm -Uvh xxx.rpm.

Oh, since you're trying to install the Mandrake RPM, (that's what the mdk bit signifies), why don't you use Package Manager, or Software Manager?

loganwva 03-13-2002 09:48 AM

I did look at the man page but could not figure out how to do the install from there, man pages always give me trouble. I'll look at the link you posted. The reason I want the command line command is because when I'm using Gnome the RPM Manager is not available so I have to switch back to KDE to install a package.


All times are GMT -5. The time now is 01:24 PM.