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:
With the following command
you can see what are the other packages that depend directly on this package, and this can help in understand. 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 old dpkg.
For example, "dpkg -p zip" provides the following information:
dpkg -p zip
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
|show 1 more comment|