Debian super purge

We all are used to the following commands for managing the packages on your system.

sudo apt update

sudo apt upgrade

sudo apt dist-upgrade

sudo apt autoremove

sudo apt clean all

and so on.

Now... A great command line to check for and remove all existing package files, including configuration files.

sudo apt purge `dpkg --list | grep ^rc | awk '{ print $2; }'`


Donations

If you choose to do so, you can donate to me by clicking on the image below. Any donations are greatly appreciated and go towards hosting and hardware so I can continue contribution across a wide range of Free and Open Source projects.

Buy me a coffee