Alternative content
#Purge it sudo apt-get purge apache2 #Auto remove sudo apt-get autoremove #Remove sudo rm -rf /etc/apache2 #Try this sudo apt remove apache2.*