Already uninstalled apache2 in Debian but it's still there?

6,193

An apt-get install apache2 will actually install apache2.

To uninstall apache2 you have to use 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.

Share:
6,193

Related videos on Youtube

IMB
Author by

IMB

Updated on September 18, 2022

Comments

  • IMB
    IMB over 1 year

    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?

  • IMB
    IMB over 11 years
    Wow, what a bad typo, I mean I typed apt-get remove apache2