LinuxCommandLibrary

deborphan

find orphaned packages on Debian-based systems

TLDR

Display orphan library packages

$ deborphan
copy
List orphans including library-like names
$ deborphan --guess-all
copy
Find packages only recommended or suggested
$ deborphan -n
copy

SYNOPSIS

deborphan [options]

DESCRIPTION

deborphan finds orphaned packages on Debian-based systems. Orphaned packages are typically libraries that were installed as dependencies but are no longer required by any installed package.
By default, it checks only packages in the "libs" section, but can be configured to check all packages.

PARAMETERS

--guess-all

Include packages with library-like names
-n, --nice-mode
Show packages that are only recommended/suggested
-a, --all-packages
Check all packages, not just libs section
-H, --show-section
Show package section
-s section
Check specific section

CAVEATS

Only shows libraries by default. Results should be reviewed before removal as some packages may still be wanted. For automatic cleanup, consider apt autoremove.

SEE ALSO

apt(8), aptitude(8), dpkg(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community