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

In this answer, I came across this command:

aptitude why firefox

aptitude whylooks like an useful command but I don't want to install aptitude just for that. What is the apt-get equivalent of aptitude why?

share|improve this question
up vote 4 down vote accepted

Instead of apt-get I would have a look at apt-cache, though not one on one the same but close will be:

apt-cache --installed rdepends firefox
share|improve this answer
This is not right answer. There is no similar for aptitude why – Maythux Feb 21 '14 at 12:28
Thanks! I mentioned apt-get but apt-cache will do just as well because it is installed by default. I should have made my question clear on this point! – DK Bose Feb 21 '14 at 12:29
Even though these two commands are not the same – Maythux Feb 21 '14 at 12:32
@maythux, as mentioned in my answer. But it comes close and gives reverse dependencies so it is useful for most users who ask this, so why not mention it? – Requist Feb 21 '14 at 12:34
As suggested here there is a bunch of other options you might want to add; apt-cache rdepends --no-suggests --no-conflicts --no-breaks --no-replaces --no-enhances --installed --recurse $package – tripleee Jun 29 '15 at 5:10

People might want to know why an automatically installed package is present on the system. To get this information from the command line, you can use aptitude why package

apt-get has no similar feature


share|improve this answer
It was my mistake. I mentioned apt-get but main thing is I didn't want new software. apt-cache is there already! Sorry about confusion :) – DK Bose Feb 21 '14 at 12:32
So Why downvoting?! – Maythux Jun 29 '15 at 10:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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