Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-16-2001, 01:49 AM   #1
Registered: Jun 2001
Location: 28N,82W
Distribution: XP,Ubuntu 9
Posts: 472

Rep: Reputation: 30
How to install rpm packages recursively?

I am faced with a installation problem. If I want to install package A, it has dependencies B1, B2. These in turn have dependancies C11, C12 etc.

How can I use rpm to install package 'A' which takes care of dependencies?
Old 12-16-2001, 05:22 AM   #2
Dave Campbell
Registered: Dec 2001
Location: London
Distribution: Redhat 6.2
Posts: 48

Rep: Reputation: 15
I don't believe there is a way to do this other than reading up before attempting an install.
Old 12-16-2001, 08:17 AM   #3
Registered: Oct 2001
Distribution: MD81 RH71
Posts: 555

Rep: Reputation: 30
the urpmi packages use a catalogue of distro cd's to store records of depencies, so all satisfyable ones can be dealt with. i don't know if rh72 has a gui for it, but mandrake has the lovely, if slow, rpmdrake. is there an rpmdruid?

you could try and install teh rpmdrake rpms onto a non mandrake system, (esp if you use teh src.rpms' and compile them) they should be ok i think. i did actaully get about 30(!!!) depency failures when i tried to upgrade it recetnly tho!
Old 12-17-2001, 02:39 PM   #4
Registered: Oct 2001
Location: Lilburn, Ga.
Distribution: RH
Posts: 77

Rep: Reputation: 15
There is a thing called red-carpet which deals very effectively with this, look for it at, ( I am experienced with this) also a project at sourceforge called aptrpm, or something like that, (I am NOT experienced with this) which implements the Debian apt-get for rpm based distros.
Old 12-20-2001, 09:42 AM   #5
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 11,917

Rep: Reputation: 3096Reputation: 3096Reputation: 3096Reputation: 3096Reputation: 3096Reputation: 3096Reputation: 3096Reputation: 3096Reputation: 3096Reputation: 3096Reputation: 3096
rpmfind will also do what you are looking for. From the man page:
It analyzes the current state of the system, checks a remote database using HTTP to lookup the packages providing the best affinity with your current software base and also list the extra packages that you need to install to solve the missing dependencies.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Install rpm packages in RedHat shahrokhnikou Linux - Software 1 07-28-2005 02:50 PM
how to install *.scr.rpm packages... IAnCool Linux - Newbie 5 03-06-2005 01:48 AM
How do I install .rpm packages using RH9? ScottyKUtah Linux - Newbie 3 08-08-2004 08:09 AM
RPM 'failed dependencies': Why can I not install any rpm packages? leontini Linux - Newbie 7 09-16-2003 12:44 AM
can RPM removing all packages I have install? Embeder Linux - General 4 06-13-2003 10:37 AM

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