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
In addition to other good answers, an
apt/apt-get -s does a "simulated" removal (or install).
sudo apt -s remove <pkgname>
--simulate to remove (or install) packages, will normally list any dependencies affected. It will show orphaned packages when removing, or needed dependencies when installing, without actually executing the
remove. Informational only.
reverse-depends command from the package:
reverse-depends libjs-openlayers # For build depends search reverse-depends -b libjs-openlayers
Reverse-Recommends * gis-osm Reverse-Depends * cyclograph * phpmyadmin * sumo-tools Packages without architectures listed are reverse-dependencies in: amd64, arm64, armhf, i386, ppc64el, s390x