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.
Related videos on Youtube
Author by
IMB
Updated on September 18, 2022Comments
-
IMB over 1 year
I performed the following command
apt-get remove apache2
but when I typeservice --status-all
apache2 is still up in the list. How can you completely uninstall apache2? -
IMB over 11 yearsWow, what a bad typo, I mean I typed
apt-get remove apache2