LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-16-2005, 03:37 AM   #1
Enoon
LQ Newbie
 
Registered: Sep 2005
Posts: 8

Rep: Reputation: 0
installing rpms on mandriva


Hello!
First off my appologies, this topic has probably been touched somewhere else, but I couldn't find it when I searched thorugh the forum... and I need some help here...

I have Mandriva LE 2005 running on my PC. I got the distribution with 7 CDs of which only three were needed for the installation. Now I'm strongly assuming that there are other programs on the other 4 CDs but I have no way of knowing... since it only shows lots and lots of rpms there with gibberish-like names.
Well I tried going into the package management thing (menu -> system -> ... -> package source ? it's all in german here) and tried adding the CD to the sources it chooses. But it gives me an error message that copying failed and that there are no rmps there. Then I copied the whole CD to my HD and tried the same thing again. When I tried to add the folder from my HD to the source it said copying failed unable to add source.

So... how exactly should I go about doing this, since I figure I must be doing something completely wrong. I have no clue as how to install an rpm at all, except through that manager tool, but it only recognizes rpms that were on the initial 3 CDs. If I add folders that have rpms in them it sais "could not add ... no rpms found."

I could probably install the rpm by double clicking it? but the names don't mean anything to me, so I doubt it would help. I probably need several of them to make up something useful, and I don't know which combinations are usefull... If anyone can help, please let me know, please be detailed, since I'm very new to Linux and don't know where to find everything.

Thanks in advance
 
Old 09-16-2005, 11:15 AM   #2
chemdawg
Member
 
Registered: Jan 2005
Distribution: Mandriva
Posts: 206

Rep: Reputation: 31
First of all, I do only the initial installation via the CD's. After I'm all set up and have an internet connection, i use Easy Urpmi to update (system > mandrake update) and install any additional software. Read the instructions carefully before you type anything into console, as you have to remove your CD's as a medium before you add these sites. Once you have done this you can go to rpmdrake (system > install software) and install almost any software you want by doing a simple search. In general, I try to install using rpmdrake first before I go looking for rpm's for the things I want.

Now, as far as installing rpm's, open a console and cd to the directory where your rpm is, then this command will do it (as root):

# rpm -i packagename.rpm

for more rpm commands do a "rpm --help" or "man rpm" to get more commands. to uninstall the rpm, change the -i to an -e.

One thing you might run into is the rpm you're trying to install will need additional rpms to be installed first (failed dependencies). this can be frustrating. go to rpm.pbone.net to get most of the rpms your missing. this should get you started!
 
Old 09-17-2005, 02:37 AM   #3
Enoon
LQ Newbie
 
Registered: Sep 2005
Posts: 8

Original Poster
Rep: Reputation: 0
alright, sounds fairly reasonable... now all I have to do is get Linux up and running again. *sigh*
 
Old 10-06-2005, 09:56 AM   #4
purelithium
Member
 
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390

Rep: Reputation: 30
But what do I do once it says that the software is installed? Where did it go? How do I run it?
 
Old 10-06-2005, 01:59 PM   #5
chemdawg
Member
 
Registered: Jan 2005
Distribution: Mandriva
Posts: 206

Rep: Reputation: 31
Quote:
Originally posted by purelithium
But what do I do once it says that the software is installed? Where did it go? How do I run it?
Normally, it will appear in some category under your menu (equivalent to "start" on MS). If it does not, you can put it there by right clicking on the menu button and choosing "menu editor" or "edit K menu". Click "add application". Then you can find the command in the directory /usr/bin usually. For example if you were installing "firefox" you'd look for the firefox executable in /usr/bin. Once you do that, save your changes and your newly installed program should be there.

hope this helps
 
Old 10-06-2005, 02:50 PM   #6
purelithium
Member
 
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390

Rep: Reputation: 30
Thank you, for some reason I can't find that information anywhere else. All the guides, and walkthroughs stop just before they get to that point =)

Thanks,
 
Old 10-06-2005, 05:07 PM   #7
chemdawg
Member
 
Registered: Jan 2005
Distribution: Mandriva
Posts: 206

Rep: Reputation: 31
Quote:
Originally posted by purelithium
Thank you, for some reason I can't find that information anywhere else. All the guides, and walkthroughs stop just before they get to that point =)

Thanks,
It seems like some things that aren't obvious to newbs get omitted from a lot of guides. I guess people who know enough to write a guide or how-to may take for granted what newbs do and do not know. I used to have the same problem, but once you get used to where things are and how linux works, you really start to see some logic in it!
 
  


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
Problems installing RPMs in Mandriva LE2006 LordKwiKSilva00 Linux - Software 9 10-13-2005 02:26 PM
Installing RPMS Demon86 Linux - Newbie 1 05-22-2005 03:20 AM
Installing RPMs Neb Linux - Newbie 1 10-17-2003 02:50 PM
installing rpms BLAMM0 Debian 5 09-03-2003 06:24 AM
installing rpms digsby0007 Linux - Software 5 06-12-2003 03:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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