To remove everything related to the package, its binaries, the configuration/data files and dependencies that are installed with the package:
sudo apt-get --purge autoremove packagename
To remove the package binaries and the configuration/data files but not the dependencies that are installed with the package:
sudo apt-get purge packagename
To remove the package binaries but not the configuration/data files and dependencies:
sudo apt-get remove packagename
Let me know if this helped. Follow me on Twitter, Facebook and YouTube, or 🍊 buy me a smoothie.
Merci pour cette information détaillée j’ai pu supprimer mes essais avec LAMP.
Thanx, helped a newby.