LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-28-2004, 09:52 PM   #1
nicksmart234
Member
 
Registered: Sep 2004
Location: CT,USA
Distribution: Kubuntu 7.10
Posts: 53

Rep: Reputation: 15
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
 
Old 09-28-2004, 10:00 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
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>
 
Old 09-28-2004, 10:30 PM   #3
nicksmart234
Member
 
Registered: Sep 2004
Location: CT,USA
Distribution: Kubuntu 7.10
Posts: 53

Original Poster
Rep: Reputation: 15
so wu twould i do for the file
FlightGear-0.7.10-39.nosrc.rpm
in the directry
file:/root/Games
 
Old 09-28-2004, 11:07 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
yo uwutr ead
man rpm


Cheers,
Tink
 
Old 09-28-2004, 11:28 PM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
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..
 
Old 09-29-2004, 01:22 PM   #6
halo14
Senior Member
 
Registered: Apr 2004
Location: Surprise, AZ
Distribution: Debian | CentOS | Arch
Posts: 1,103

Rep: Reputation: 45
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...
 
Old 09-29-2004, 08:41 PM   #7
nicksmart234
Member
 
Registered: Sep 2004
Location: CT,USA
Distribution: Kubuntu 7.10
Posts: 53

Original Poster
Rep: Reputation: 15
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?
 
Old 09-29-2004, 08:54 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install rpm file? futurist Linux - Newbie 12 09-07-2005 10:42 AM
Install RPM with YaST dlublink SUSE / openSUSE 3 01-19-2005 12:22 PM
Yast won't install all RPM files.... WHY? TdlSnare SUSE / openSUSE 19 11-28-2004 03:11 PM
how to give source address to yast to install a rpm? milad126 SUSE / openSUSE 2 11-15-2004 07:09 AM
SuSE 9.1 YasT closes when trying to install .rpm JazzSheep Linux - Software 12 09-24-2004 05:00 PM


All times are GMT -5. The time now is 02:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration