deborphan Command Examples in Linux

deborphan is a command line tool in Linux that can be used to find “orphaned” packages on a Debian-based system. Orphaned packages are packages that are no longer needed by any other package on the system. They can be left behind after upgrading or uninstalling packages, and can take up unnecessary space on the system.

deborphan Command Examples

1. Display library packages (from the “libs” section of the package repository) which are not required by another package:

# deborphan

2. List orphan packages from the “libs” section as well as orphan packages that have a name that looks like a library name:

# deborphan --guess-all

3. Find packages which are only recommended or suggested (but not required) by another package:

# deborphan --nice-mode
Related Post