Welcome to the most active Linux Forum on the web.
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 04-21-2007, 09:58 AM   #1
Registered: Apr 2006
Location: Australia
Distribution: Debian Squeeze
Posts: 135

Rep: Reputation: 18
how do i use package managers and which one?

hi. i am running linux distribution CentOS 4.4.

for an example i am wanting for install aMule rpm which is available here:

so i downloaded amule-2.0.0-1.2.el4.rf.i386.rpm using wget and then typed:
rpm -ivh amule-2.0.0-1.2.el4.rf.i386.rpm
then i got the error:
error: Failed dependencies: is needed by amule-2.0.0-1.2.el4.rf.i386 is needed by amule-2.0.0-1.2.el4.rf.i386
so i searched libwx_gtk and came up with this:

so i typed:
rpm -ivh wxGTK-2.6.3-1.el4.rf.i386.rpm
then it gave me this:
error: Failed dependencies: is needed by wxGTK-2.6.3-1.el4.rf.i386 is needed by wxGTK-2.6.3-1.el4.rf.i386
    Suggested resolutions:
so as you can see installing amule in the end might take days if i have to keep downloading dozens of packages down the list like this.

so i'm a complete noob and never used a package manager besides yum and yum i don't even know how to use to download amule.

any suggestions on how to install packages from that DAG site using any package manager?

Last edited by FireRaven; 04-21-2007 at 09:59 AM.
Old 04-21-2007, 10:49 AM   #2
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Distributions often ship with only one package manager to keep things simple. I don't know if it's wise to start adding another package manager to your system, and yum is perfectly good to add rpm packages to your system. If amule is in the yum reposities, you just hit a command
yum install amule
and see what happens. Though most modern distributions nowadays have graphical front-ends to their package managers, so if CentOS is a "modern distribution" you should perhaps crawl trough the menus to see if there is such a program. I personally prefer using console, but if you find it easier for yourself, see if there's a graphical front-end for yum somewhere.

If the above yum command says it can't find amule (the package name you ask to install should not contain any suffixes or version numbers, just the name part of the filename), you may have to add a new reposity to yum which holds the packages that are needed. This is easy, and there are basically two ways of achieving it:
1) you find out the information (i.e. address) of the reposity and create a new repo file under /etc/yum.d/ (that's the directory on some other RPM distributions, might differ on CentOS), taking one of the existing files as an example of the file format
2) you find an rpm package from the web that, when installed, adds the new reposity to yum. This is a lot easier if such an rpm is available; effectively it does the same as above, but without you needing to use editors yourself.

After that, update yum's knowledge of reposity contents:
yum update
and then re-try installing amule.


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
multiple package managers Phil459 Linux - Newbie 2 12-15-2006 02:01 PM
Portage vs. Other Package Managers jeelliso Linux - Software 7 08-07-2006 09:02 PM
considering package managers peok Linux From Scratch 4 07-27-2006 06:42 AM
Using multiple package managers B1-66ER Linux - General 2 09-16-2005 10:44 PM
Linux Package Managers a4r0 Linux - Newbie 1 08-17-2004 05:04 PM > Forums > Linux Forums > Linux - Newbie

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

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