LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-04-2004, 03:53 PM   #1
onzlow
LQ Newbie
 
Registered: Apr 2004
Location: Birmingham UK
Distribution: mandrake 10
Posts: 8

Rep: Reputation: 0
how do i install a RPM ?


hi all new newbie here

im still tryin to get to grips with linux/mandrake and im tryin to sort the video card out, i have dual monitors and want to use them both with mandrake but its saying it cannot detect a second monitor so i have downloaded the driver file for linux and its an RPM extention do i have to install it from the shell thingy or can i do it from the GUI ?
if so please could you let me know how to do it, im pulling my hair out hear,lol
 
Old 05-04-2004, 04:00 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
You can install the driver from both the GUI and console. In GUI just use your file manager (Konqueror or any other you use) to get to the directory you have the RPM file in. Then just double-click it. You should be asked for root password and the package should install.

Alternatively, from console run
cd /directory/where/the/file/is
su
(will ask for root password)
rpm -ivh filename.rpm
 
Old 05-04-2004, 04:04 PM   #3
frogman
Member
 
Registered: Sep 2003
Distribution: Mandrake, Slack, Debian and PicoBSD
Posts: 181

Rep: Reputation: 31
to install from the "shell thingy" (it's good practise )....

Open a terminal / command shell

su to root ( type "su" <press enter> type "the_root_password" <press enter>)

As root, type:

rpm -ivh whatever_it's_called.rpm

The rpm should install, assuming it has no dependencies. If there are any additional file it requires it will usually tell you.

If you do need extra files for it to work, take note of what they are and use urpmi ( type "man urpmi" for more info).

Damn, beaten to the post by Mara - teach me to make coffee.

Last edited by frogman; 05-04-2004 at 04:07 PM.
 
Old 05-04-2004, 04:05 PM   #4
lacerto
Member
 
Registered: Oct 2003
Location: South London
Distribution: Gentoo.
Posts: 297

Rep: Reputation: 30
Hey
Well, I know little about Mandy, but I recollect from a recent look at it, that it comes with a GUI thingy called
Drake or something(look for a menu item under system configuration or something like it, and you are sure to find it there. Then just click the add software item)

It just as easy from the comand line though: Just open a terminal window, then navigate to the directory where your RPM file is. Then just type: rpm -ivh
yourrmpfile.
Good luck - and either msg me back, or search the forum - this question has certainly been asked before.
L
 
Old 05-04-2004, 04:16 PM   #5
onzlow
LQ Newbie
 
Registered: Apr 2004
Location: Birmingham UK
Distribution: mandrake 10
Posts: 8

Original Poster
Rep: Reputation: 0
il give it a go

thanz all for your help ill give it a go in a few,this lixux stuff beats the crap outa me,lol
like learnin to walk backwards upside down blind fold gettin to grips with it
only took me 10 years to sort windows out i go no hope with linux,but feel i need to hava go at it,lol
 
Old 05-04-2004, 05:13 PM   #6
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
Chapter 32. Package Management with RPM

https://www.redhat.com/docs/manuals/...de/ch-rpm.html
 
  


Reply



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 error when trying to install an rpm Trance56k SUSE / openSUSE 3 11-10-2005 10:25 PM
How do I force an older rpm to install over a newer rpm of wine onyx Linux - Software 4 02-20-2004 12:44 AM
Ok, dumb question. If I install a Mandrake kernel RPM, where does it install to? Kramer Linux - General 6 01-13-2004 09:39 PM
RPM 'failed dependencies': Why can I not install any rpm packages? leontini Linux - Newbie 7 09-16-2003 12:44 AM
Help : rpm dependency error when install video driver rpm ymdwxm Linux - Software 1 04-04-2003 04:55 PM

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

All times are GMT -5. The time now is 07:10 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
Open Source Consulting | Domain Registration