Debian APT
From Realm Business Systems Ltd
Check for unused packages
dpkg -l | awk '/^rc/ { print $2 }' apt-get purge xxx apt-mark hold smartmontools ALL in one go; apt-get purge $(dpkg -l | awk '/^rc/ { print $2 }')
dpkg --get-selections | grep 'hold$' apt-mark unhold openssh-server apt-mark unhold net-tools apt-mark unhold bridge-utils