LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What is the correct command line sytax to install an rpm on mandrake 10? (https://www.linuxquestions.org/questions/linux-newbie-8/what-is-the-correct-command-line-sytax-to-install-an-rpm-on-mandrake-10-a-204871/)

Stevetgn 07-14-2004 07:59 AM

What is the correct command line sytax to install an rpm on mandrake 10?
 
I'm trying to install the latest wine rpm on Mandrake 10 I've just downloaded but don't know the correct commands or switches

Sorry, I know this is basic shit and I should know it by now!
Thanks in advance

Steve :newbie:

netmask 07-14-2004 08:00 AM

Execute man rpm or rpm --help ;)


The general syntax is rpm -option1 [-option2 ... ] file.rpm

stuart 07-14-2004 08:54 AM

im pretty new as well but this works for me



rpm -i packagename

-i is for install

im pretty sure you ned to be logged in as root to do this

to login as root goto a console

>su

type pass

then do the rpm command

hope this helps

Stevetgn 07-14-2004 09:48 AM

Cheers Stuart... that seem easy enough! :D


All times are GMT -5. The time now is 06:36 AM.