LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-02-2004, 03:03 AM   #1
win13
LQ Newbie
 
Registered: Jan 2004
Distribution: Red Hat 9.0
Posts: 16

Rep: Reputation: 0
Just started, help installing RPM's


I just started on Red Hat 9.0 two days ago and i love it. but i am having a little trouble with it. i downloaded some games from the games.linux website and obviously they come in .rpm files. i need to know how to install them and where it installs it to. i have no knowledge of the commands and need help. i'm moving along this pretty slow, i mean it took me a day and night trying to figure out how to install the new nvidia drivers.
 
Old 01-02-2004, 03:20 AM   #2
Dominik
Member
 
Registered: Nov 2003
Distribution: slackware9.1/freebsd5.2
Posts: 53

Rep: Reputation: 15
Hi,

Run a terminal

go into the file where your rpm is typing :
cd /..../.... (path of the file)

then use:

rpm -i "name of file"

You'll find more info about commands options typing:

man rpm
rpm --help

You'll find some useful doc to http://www.tldp.org/guides.html (download the"
introduction to linux")
 
Old 01-02-2004, 03:22 AM   #3
Technoslave
Member
 
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
You should use

rpm -ivh nameof.rpm

This way you have a visual of the thing being installed. Too many newbies will just issue an rpm -i nameof.rpm and then complain that nothing happened...when the rpm did install.
 
Old 01-02-2004, 03:23 AM   #4
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 46
For rpm I would use

rpm -Uvh filename

The v and h options make it where you can see something is happening.

Good luck.
 
Old 01-02-2004, 03:26 AM   #5
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 794

Rep: Reputation: 34
http://www.desktop-linux.net/packages.htm#rpms
rpm -ivh *packagename.rpm
typing either man rpm or info rpm into a console will give you loads of information about rpm's.
 
Old 01-02-2004, 03:26 AM   #6
ngan_yine
Member
 
Registered: Aug 2003
Distribution: Slackware 10.1
Posts: 113

Rep: Reputation: 15
Can't you double click on them,like you use to do with window .exe file .That the easiest way to install rpm,I mean rpm are easiest way to install in linux specially if you are using Red Hat.Other way around is that open a shell and and 'cd ' to the directry where you save the downloaded file and in the directery type rpm -ivf <filename>.rpm.The command rpm is for to tell the computer that you are handling rpm file - mean (I don't know why ppl put - in front of optium)i for installation v for showing thing like (installing package ;doing this ,doing that) and f for force installation.After the installation type rpm -q <filename> just file name (use tab key after typing frist a few words) witout .rpm to check the file is install or not .If you wan to erase it (uninstall) just type rpm -e <filename> and it will uninstall automactically .Type rpm --help for other command and optium ,you 'll see whole bunch of it .And if you don't see you installed program ,run Run command from K menu or just type the frist a few initial of the program name on the shell and click tab key for auto complete and if it in /usr/bin or /bin ,it will launch it self from that shell on window.

hope that help.
 
Old 01-02-2004, 03:27 AM   #7
LinuxLala
Senior Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305

Rep: Reputation: 45
http://www.tldp.org/HOWTO/RPM-HOWTO/index.html

Read.

Also try 'man rpm' from the console, without the quotes ofcourse.

That's one thing u will have to do to learn linux. read a lot.
 
Old 01-02-2004, 03:32 AM   #8
win13
LQ Newbie
 
Registered: Jan 2004
Distribution: Red Hat 9.0
Posts: 16

Original Poster
Rep: Reputation: 0
it gives me warning: user floh does not exist - using root and warning: group floh does not exist - using root, and it writes both of these warning twice. what is wrong. it does this when i do rpm -i command.
 
Old 01-02-2004, 03:47 AM   #9
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 794

Rep: Reputation: 34
You need to be root(superuser).
type su and your password before installing an rpm.
 
Old 01-02-2004, 04:09 AM   #10
win13
LQ Newbie
 
Registered: Jan 2004
Distribution: Red Hat 9.0
Posts: 16

Original Poster
Rep: Reputation: 0
su doesn't work but root i know works.
 
Old 01-02-2004, 06:56 PM   #11
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 46
su is a command that you use in a user shell to become root. You type

su -

and it will prompt you for the root password.
 
Old 01-04-2004, 01:49 AM   #12
win13
LQ Newbie
 
Registered: Jan 2004
Distribution: Red Hat 9.0
Posts: 16

Original Poster
Rep: Reputation: 0
well thanx guys for helping me out, i finally got it working like two days ago. sorry i didn't thank earlier, was at a 2 day lan w/ no internet.
 
  


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
RPM's not installing! =( Kane635 Linux - Software 2 09-14-2004 09:06 PM
RPM's not installing.... kperrone Linux - Software 9 07-05-2004 06:51 PM
installing rpm's apoc013 Linux - Newbie 7 01-21-2004 09:55 AM
RPM's not ever installing... warheros Linux - Software 19 06-25-2003 10:37 AM
Installing RPM's drojek Linux - Software 6 05-08-2003 09:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:14 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