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?

1 Answer 1

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 and acknowledge that you have read and understand our privacy policy and code of conduct.

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