I uninstalled a corrupted Apache2 on Ubuntu and when I re/install Apache2 it will restore the same files as the old one.
I want to do a fresh installation of apache2.
It is not enough to use sudo apt-get uninstall, that will keep the configuration. For a complete uninstall, use sudo apt-get purge apache2.
sudo apt-get uninstall
sudo apt-get purge apache2
You may also be interested in reading this Q&A on the Ubuntu Stack Exchange site, which covers the same problem.
1.4m articles
1.4m replys
5 comments
57.0k users