Let’s start the discussion about How to remove apache2 from ubuntu in following methods.
Remove apache2 from ubuntu
In order to remove Apache2 from Ubuntu then follow the below steps:
Initially, stop the Apache2 service
sudo systemctl stop apache2
Then remove all the Apache2 packages using:
sudo apt-get purge apache2 apache2-utils apache2-bin apache2.2-common
Now remove using:
sudo apt-get autoremove
I hope the strategies listed above work for you. Happy coding and come back again.
Similar Post : How to remove file mode changes in git