Deborphan finds packages installed on your Debian/GNU system that have no other packages depending on them. Its primary goal (and default action) is to trace unused libraries.
The output of the command deborphan
is a list of packages that are no longer required. It can be used with apt
, to automatically remove unused packages: apt-get remove $(deborphan)
.
The previous command can be required to run more times in order to remove all useless packages, until we don't obtain the following output: 0 upgraded, 0 newly installed, 0 to remove [...].