Remove apache from ubuntu

Posted by Keyo on Server Fault See other posts from Server Fault or by Keyo
Published on 2010-11-25T09:09:50Z Indexed on 2012/03/27 11:32 UTC
Read the original article Hit count: 378

I want to remove apache as if it was never installed, no config files left behind. I intend to reinstall apache2 fresh. I have tried various combinations of apt-get options to no success.

apt-get remove apache2
apt-get remove --purge apache2
apt-get purge apache2
apt-get autoremove apache2

None of these totally remove apache properly.

Nothing works, the /etc/apache2 directory still exists. So I deleted it. When I install apache the folder is never created.

Running Ubuntu server 10.10.

© Server Fault or respective owner

Related posts about ubuntu

Related posts about apache2