LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Trying to install an .rpm file without YaST (https://www.linuxquestions.org/questions/linux-newbie-8/trying-to-install-an-rpm-file-without-yast-236426/)

nicksmart234 09-28-2004 08:52 PM

Trying to install an .rpm file without YaST
 
hi im trying to install an rpm file wihtout yast im in the terminal and wuts the command to run an rpm file? thx just ask for more info

trickykid 09-28-2004 09:00 PM

man rpm is your friend.. man pages are always available

Quick and dirty:

rpm -ivh <rpmfilename.rpm>

That will install..

If you already have the package installed but its an updated package do this:

rpm -Uvh <rpmfilename.rpm>

nicksmart234 09-28-2004 09:30 PM

so wu twould i do for the file
FlightGear-0.7.10-39.nosrc.rpm
in the directry
file:/root/Games

Tinkster 09-28-2004 10:07 PM

yo uwutr ead
man rpm


Cheers,
Tink

trickykid 09-28-2004 10:28 PM

Quote:

Originally posted by nicksmart234
so wu twould i do for the file
FlightGear-0.7.10-39.nosrc.rpm
in the directry
file:/root/Games

Well, you would apply the commands I gave with the name of the rpm you have like this:

rpm -ivh FlightGear-0.7.10-39.nosrc.rpm

And its most likely you'll need to be logged in as root to do this as well, but you never know.

PS. Is your name really Nick Smart? I knew and had a friend named Nick Smart in Dallas.. :)

halo14 09-29-2004 12:22 PM

lol... (liking the sarcasum)

Also, as a side note.. I have always gotten into the habit of always running "rpm -Uvh" because it will upgrade if it's there and install it if it's not... if yu use -Ivh because you don't think that package is there... you run the risk of having two versions of the same ackage installed... I have never, nor do I know anyone who has ever done that... but I just figured it's good practice...

nicksmart234 09-29-2004 07:41 PM

1 no my name is not nick smart i nvr give out my real name
2. ok i typed in the command and then it loaded then..... nothing happens.... wut do i do?

Tinkster 09-29-2004 07:54 PM

Brew a cup of tea?
Read some more "man rpm"?

What did you expect to happen, that the install process
also launch the newly installed program?



Cheers,
Tink


All times are GMT -5. The time now is 10:06 PM.