Deborphan is a tool for Debian-based Linux distributions to identify packages with no dependent packages, indicating potential removal of unused dependencies.
deborphan is a utility program included in Debian-based Linux distributions such as Ubuntu and Linux Mint. It is used to identify orphaned packages on the system - packages that were installed to satisfy a dependency of another program but are no longer needed as a dependency for anything.
When packages are installed via a package manager like APT, they can often pull in other packages to satisfy dependencies. Over time, as software gets removed or upgraded, these previously needed dependency packages can be left behind, unneeded. These orphaned packages unnecessarily take up disk space.
deborphan detects such packages by analyzing the libraries, binaries, and other files the package installed against the package database. If it doesn't find any packages that depend on the files installed by a package, it will flag it as orphaned.
The tool can be run manually by a user to generate a list of orphaned packages that can then be easily removed. It is often included as part of automated job scripts to keep a system clean of cruft over time. By removing obsolete and orphaned packages that accumulated over years of adding/removing software, deborphan can recover considerable disk space and reduce clutter on Debian-based Linux installations.
Here are some alternatives to Deborphan:
Suggest an alternative ❐