[Mageia-dev] How to see the Suggests of a rpm package

Florian Hubold doktor5000 at arcor.de
Thu Feb 23 14:31:21 CET 2012

Am 23.02.2012 09:12, schrieb Pascal Terjan:
> On Thu, Feb 23, 2012 at 06:38, Remco Rijnders <remco at webconquest.com> wrote:
>> This question falls perhaps in the 'silly' category, but I haven't been able
>> to find the answer myself, even though I have searched for it.
>> How does one check the Suggests provided by a rpm package that is not
>> installed and only locally available? I know how to see the Requires, etc.
>> but have had no luck with the Suggests part of it.
> rpm -qp --suggests foo.rpm
The long form would be
rpm -qp --queryformat "%{SUGGESTS}" foo.rpm

You can see all queriable tags via rpm --querytags

BTW: You can also use urpmf to query which package from the repos
suggests a given package/library "foobar" via urpmf --suggests foobar

More information about the Mageia-dev mailing list