Debian

From BeePerNet
Jump to navigation Jump to search
Openlogo-debianV2.svg

Debian based distributions

Packages

Purge uninstalled package files

dpkg -l | grep "^rc" | awk '{print $2}' | xargs dpkg --purge
or
dpkg --purge `dpkg --get-selections | grep deinstall | cut -f1`

Source: How To Remove Unnecessary Configuration Files On Debian-based Systems