LinuxQuestions.org
Review your favorite Linux distribution.
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 05-20-2004, 09:49 AM   #1
Roitoy
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, 09:55 AM   #2
peacebwitchu
Member
 
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, 10:01 AM   #3
Roitoy
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, 10:16 AM   #4
itsjustme
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, 03:27 PM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,571

Rep: Reputation: 180Reputation: 180
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, 03:59 PM   #6
soupy
Member
 
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, 04:07 PM   #7
peacebwitchu
Member
 
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, 05:23 AM   #8
whipermr5
Member
 
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
 
  


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

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

All times are GMT -5. The time now is 11:31 AM.

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