Re: Recursive list of required packages for kickstart

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

 



On Wed, 2010-06-16 at 14:09 -0400, rarob@xxxxxxxxxxxxxxxxxxxxxx wrote:
> Hello all,
>   I'm trying to generate a minimal list of required packages in order to
> install a particular software package (which itself consists of several
> packages).  Does anyone have a script (shell or python preferred) that
> when given one or more package names, generates a list of the other
> packages that would be required to install it?
>   I know I can do 'rpm -Uvh --test <package names...>' to generate a list
> of packages that are missing and would need to be installed before I can
> install '<package names...>, but I'm looking for something that would
> tell me the exhaustive list of all required package names.  So far my
> google-fu has been lacking....

 The usual way I do this on F-13 is:

yum install mypkg --instalroot=/tmp/test-install-mypkg --release=13

...that'll give you the list of packages and the size (according to the
rpms) they'll take when installed. You can even run the command to get
the exact installed size.

-- 
James Antill - james@xxxxxxxxxxxxxxxxx
http://yum.baseurl.org/wiki/whatsnew/3.2.28
http://yum.baseurl.org/wiki/YumBenchmarks
http://yum.baseurl.org/wiki/YumHistory
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux