I have a package installed automatically (I am sure of it because I run apt list --installed | grep <mypackagename>) on my Debian 10 GNU+Linux system and I'd like to know which other (manually) installed package required its installation, but I do not know how to do that.

Thanks in advance.


aptitude can tell you:

aptitude why <yourpackagename>

will show the strongest relationship between a manually-installed package and <yourpackagename>, and

aptitude -v why <yourpackagename>

will show you all such relationships.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.