[Yum] Recursive dependency resolution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



seth vidal wrote:
> 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
> 

Sure but I just want the list, not for anything to actually install.

-jim

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux