Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-20-2004, 10:49 AM   #1
LQ Newbie
Registered: May 2004
Posts: 12

Rep: Reputation: 0
how to install an rpm file

How do i install an rpm file? I'm using redhat
Old 05-20-2004, 10:55 AM   #2
Registered: Apr 2004
Distribution: Debian
Posts: 185

Rep: Reputation: 30
Since you are new I'm going to tell you about a utility you will learn to live by. It is called "man" short for manual. Usage would be like this "man rpm" this will tell you how to use it and options that are available.
Old 05-20-2004, 11:01 AM   #3
LQ Newbie
Registered: May 2004
Posts: 12

Original Poster
Rep: Reputation: 0
how do i run "man"? If i go to the run command and type man or man rpm nothing executes.
Old 05-20-2004, 11:16 AM   #4
Senior Member
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 45
I'm assuming you're in KDE or Gnome and are just clicking on something that gives you a place to type in a command.

The best thing to do is to open a terminal and then type it in the command line.
Old 05-20-2004, 04:27 PM   #5
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
In the console you install an rpm using
rpm -i filename.rpm
(you need to be root to do it, so if you're logged in as a normal user use 'su' command before and provide root password when it ask you).

'man rpm' is quite long and reading it will show you many interesting options.

I don't know how it is with RH, but you may try to double-click the file. If you're lucky, it may work and you'll be asked for root password and when provided the program will be installed.
Old 11-21-2004, 04:59 PM   #6
Registered: Aug 2004
Posts: 40

Rep: Reputation: 15
i was googling for info on this topic and i ran across this post. i'm trying to use conectiva linux on a dell inspiron 2650c. i found rpm's for my touchpad and i think even one for my wireless card, but one thing at a time. i opened a terminal window, su'ed into root and typed "rmp -i <thefilename>.rpm" the prompt came back and i typed the same thing and it told me that rmp was already installed. when i restarted the machine, my touchpad still didn't work. do i have to edit the x86config file also or should installing the rpm do this for me? i would really hate going back to windows just to get my machine working right. forgive the lack of patience, i'm a complete and total newbie. thanks for all help.
Old 11-21-2004, 05:07 PM   #7
Registered: Apr 2004
Distribution: Debian
Posts: 185

Rep: Reputation: 30
I'm not familiar with the package you have but I would guess that it is a kernel module, maybe? To find out the files the rpm installed oyu can do a "rpm -ql packagename". Now this should produce a list of files. If there is a file in /lib/modules/somthing.o then this is a kernel module that you will need to load. "modprobe something" should load this module. If it isn't a module then rpm -ql should show a README or etc to check out, you should probably read that anyway.
Old 12-21-2004, 06:23 AM   #8
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
Just do a "rpm -Uvh packagename.rpm" at the command prompt


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
How do you install a .rpm file? njschroe Linux - Software 8 12-05-2004 09:56 AM
install rpm file , where is it ? kernelvn Linux - Software 5 08-27-2004 08:45 PM
How to install an RPM file? eBopBob Linux - Software 7 08-14-2004 11:10 AM
My rpm file won't install AndreL Linux - Newbie 1 02-29-2004 11:02 AM > Forums > Linux Forums > Linux - Newbie

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

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