In order to research what caused the installation of a given package, I'd like to get a list of packages which depend on that package. I couldn't find anything obvious in man dpkg.
|
|
||||
|
|
|||||||||||||||||||||
|
|
aptitude has a fairly nice way of handling this:
By default, it only lists the "most installed, strongest, tightest, shortest" reason, but you can use |
|||||||||||||||||
|
Example:
|
||||
|
|
|
There are more than one way, with each method showing a different output. For a detailed view of the dependency tree;
Alternatively;
Or a concise list:
|
||||
|
|
|
In addition to other good answers, doing:
( The removal command will normally list any dependencies/programs/libraries that will be affected or that can removed (orphaned) along with specified pkg. (If they exist.) |
||||
|
|
aptitude, something that hasn't been installed by default for years. In 2017, everyone on Ubuntu still hasapt-cache. Anyone who follows the linked question is going to get lost in a discussion about a program few will have. – Lambart Aug 18 '17 at 17:48