How to find the installed package of a dependency?

Hi,

a package (X) was installed as a dependency for another package (Y).

Which command do I use to find which package (Y) breaks if I delete the dependency (X)?

So basically, the command for checking which packages (Y) depend on package (X)?

You can use pactree with the -r option. The program is part of pacman-contrib . Looks like the package pacman-contrib is not part of Manjaro, in Manjaro pactree is part of the pacman package.

3 Likes

Thank you.
Badass :muscle:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.