How can I find out why a particular package was installed?
- Is it part of the default installation?
- Was it specified manually, or was it chosen automatically to meet dependencies?
- Which packages are dependent on it?
- When was it installed?
A quick and short reasoning on why a certain package was installed can be found out by typing the following command in a terminal (
Replace with the name of the package you are interested in. For example, typing
This basically means that the package
However, there is a caveat. I often notice aptitude finds the most plausible explanation for the situation that may not be the actual case, but will nevertheless give you a clue to look further.
In my case,
Finally, you can find out whether a package was installed automatically (meaning decided by the package management system as mandatory from looking at dependencies and recommendations of other packages you asked it to install) by running following command.
This will output a line like below (3rd line of the output) :
For more info run
To find out when a particular package was installed, there are 2 options: