[Yum] How can I get full list of dependencies?

James Antill james-yum at and.org
Wed Jan 26 14:23:05 UTC 2011


Adrian Stel <adisan82 at gmail.com> writes:

> Hi,
>
>
>
> The question is how can I get full list of dependencies?
> I mean full list, not only 1lvl from yum deplist "package name"
> Full list you can see when you do yum install "packages name"

repoquery --tree-requires
yum install --installroot=/tmp/does/not/exist

> I need this list to my script. So using "yum install" is a little dirty ;/

 Neither of the above are designed to be consumable by scripts. Not
sure what you are doing, but you might want to look at mock.

-- 
James Antill -- james at and.org


More information about the Yum mailing list