On Mon, 2022-02-07 at 15:33 +0100, Axel Braun wrote:
Hallo Klaus
Am Montag, 7. Februar 2022, 14:55:15 CET schrieb Klaus Kämpf:
I'm looking for a tool that lists all dependencies of a package. Background: when installing package 'trytond' I get around 200 additional packages, and onl around 50 with --no-recommends.
The 'details' view of the build service gives you this information:
https://build.opensuse.org/package/binary/openSUSE:Factory/trytond/standard/ x86_64/trytond-5.0.43-1.1.noarch.rpm For an installed package, "rpm -q --requires ..." (resp. "rpm -q --recommends ...") shows dependencies.
Thank you for your input! zypper se -i --recommends works similar, and this is OK for a single packages, but is a bit difficult for nested dependencies.
AFAIK neither rpm nor zypper show nested deps. They can't be derived easily. running "zypper in" in a minimal container is probably the safest bet. Martin