This question already has an answer here:

I messed up by followed certain guideline to install LAMP for wordpress development and now i'm confused for what I have done.

So now i want to remove everything and start again.

Can u guys show me where can I learn to uninstall LAMP in ubuntu 16.04? Lots of tutorial teach to install but less about uninstall

BTW I'm still new to linux

marked as duplicate by karel, Eric Carvalho, Kevin Bowen, Thomas, waltinator Jul 22 '18 at 16:29

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 2
    How did you install it? – L. D. James Dec 6 '16 at 16:59
sudo apt-get remove --purge apache2 php5 mysql-server-5.0 phpmyadmin
sudo apt-get autoclean
sudo apt-get autoremove

Hope this was helpful. if not ping me sudo apt-get remove --purge phpmyadmin

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