0

I want to start a fresh installation of LAMP. I went through several answers on how to remove/uninstall LAMP but the issue being that even after uninstallation there are still many PHP,MySQL and Apache folders and files in etc, var, usr folders.

How to uninstall LAMP completely such that all the files/folders created during installation are deleted when LAMP is uninstalled?

0

Running

apt-get purge <packagename>

Will remove not only the packages, but the configuration files as well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.