How can I uninstall Apache2 on Ubuntu 14.04, from the terminal? I don't know the commands.
2 Answers
If you just want to remove apache use:
sudo apt-get remove apache2
Though if you don't intend to reinstall at some point and would like to remove all of apache's configuration files then use:
sudo apt-get purge apache2
sudo apt-get sudo apt-get remove apache2
. Please refer here : askubuntu.com/questions/151941/…