3

I performed the following command apt-get remove apache2 but when I type service --status-all apache2 is still up in the list. How can you completely uninstall apache2?

2 Answers 2

3

When you run apt-get remove apache2, this will still leave config files behind, though.

To fully uninstall apache2 and remove its config files try apt-get purge apache2.

Before trying each of these, take a look at man apt-get to make sure, that the mentioned commands will do what you want.

1
  • 1
    Wow, what a bad typo, I mean I typed apt-get remove apache2
    – IMB
    Oct 16, 2012 at 17:26
1

I had a similar issue and I had to run the following:

apt-get remove apache2-utils

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .