March 15, 2026 Apache Debian Ubuntu uninstall and remove Apache2 on Ubuntu or Debian Finally, check if there is any configuration files or manual pages belonging to Apache2, which are still not removed. Directory and any configuration files in it is no longer necessary, so go ahead and remove it manually.