For a specific package, can I find out why it is installed?
So, can I see or it's manually installed, or that it is installed as a dependency of another package? Or that it is installed as part of the distro?
A quick solution is to enter the following command in a terminal:
Replace $package with the package's name, and you may need to install the
The following command
lists the other packages installed on your computer that depend directly on $package. You can add the
Yes, you can, and it's a pretty obvious command, in fact. Assuming you've aptitude installed, you can open up a Terminal Window ad type:
That should give a list of packages that depend on that specific package. If it's a manually installed package, it will say something like "It wasn't possible to find a reason to install package".
You can also use plain
Example : if [ PACKAGE NAME ] is
Here's a simple way that doesn't rely on
Open Synaptic and try to remove it.
If a dialog pops up asking you to delete other packages, those are the packages that (recursively) depend upon it.
Again, the packages that would be removed as a result are all those that (recursively) depend on it. (The