How can I list the dependencies for a given package?
I thought this should be an easy task for Google, but I only found yaourt -Sq --depends <pkg>
, which lists all packages that depend on <pkg>
.
I was not able to find the other way around: list all dependencies that need to be installed for <pkg>
.
pacman -Qi $pkg
or-Si
if it is not in the local db) or expac (expac -S %D $pkg
).yaourt -Qi $pkg
worked for me