Web lists-archives.com

Re: How to >>COMPLETELY<< remove an application?




I am also using

aptitude purge ~c

which removes orphaned configurations by already deinstalled packages, and

aptitude purge `deborphan --guess-all`

which deinstalls all orphaned libs and packages. Here yo uhave to look, if 
something unwanted is deinstalled, but in my experiences this very rare 
happened.  In that case, i.e, when a library is missing, I am just reinstall 
this partiular one.

For uninstalling old kernels, I also like to use

aptitude purge ~n4.8.0-1-amd64-*

(the same is apt-get --purge remove 4.8.0-1-amd64-*
which installs all packages with 4.8.0-1-amd64 in its name. And as the version 
no other package is using, it deinstalls just that kernel, headers and built 
modules. Note: Take a look, before confirm!

Happy hacking!

Hans