Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

Is there a way to find out from which Package-Installation a certain package was installed as Dependency?

share|improve this question

marked as duplicate by muru, Charles Green, Afshin Hamedi, bcbc, Eric Carvalho Nov 20 '14 at 17:01

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 3 down vote accepted

You could check /var/log/apt/history.log for a log entry.

Also, there are several ways to check for reverse dependencies:

apt-cache rdepends packagename

Will show you all packages that depend on packagename. Also those that are not installed, though. Better would be:

aptitude why packagename

This might require to install aptitude Install aptitude

if everything else fails, try to remove the package in question and look at which other packages would be removed because of your decision. Remember to answer "n" to the "are you sure?" question.

share|improve this answer

In a Terminal, try aptitude why $package.

share|improve this answer

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