apt-suggest-auto
identify packages safe to mark as automatically installed
- Provided by: apt-suggest-auto (Version: 0.1)
- Report a bug
identify packages safe to mark as automatically installed
apt-suggest-auto [OPTIONS]
Over time, packages installed as dependencies of manually-installed packages remain marked as manual in the APT database, preventing their autoremoval when no longer needed. apt-suggest-auto identifies such packages by simulating the effect of marking each one as automatically installed and checking whether it would become eligible for autoremoval. Only packages that remain required by other installed packages are suggested for reclassification. It serves as a modern replacement for debfoster(8) and deborphan(1).
By default, the tool runs in simulation mode and makes no changes to the system.
Simulate and display packages that can be safely marked as automatic:
apt-suggest-auto
Apply the changes, marking packages as automatically installed:
sudo apt-suggest-auto --apply
Get a plain list of markable packages for scripting:
apt-suggest-auto --raw