15

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?

DK Bose
  • 44,553

2 Answers2

14

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
Avinash Raj
  • 80,446
Requist
  • 2,439
  • 2
  • 25
  • 32
4

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

source:debian-handbook

Maythux
  • 87,123