[Yum] Recursive dependency resolution

seth vidal skvidal at phy.duke.edu
Thu Apr 28 21:42:26 UTC 2005


On Thu, 2005-04-28 at 17:39 -0400, Jim Bartus wrote:
> Is there a simple programmatic way to generate a list of every package 
> that needs to be installed to meet the requirements of a given package? 
>   Basically a dry run of what yum is made for but without being smart 
> and ignoring those dependencies which are already met.
> 
> For instance "yum --what-would-be-needed-for php" would recursively go 
> through and generate a list of all packages that php requires, and all 
> the packages that those packages require, etc.
> 

You mean EVERYTHING?

if so try a yum --installroot=/some/path/ install php

yum should try to do an entirely new and exciting install in that new
path. And since nothing is in that new path then it will install all
those things required for php.

-sv





More information about the Yum mailing list