How to Install and Uninstall apache2 Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: May 09,2024

1. Install "apache2" package

This guide covers the steps necessary to install apache2 on Ubuntu 23.10 (Mantic Minotaur)

$ sudo apt update $ sudo apt install apache2

2. Uninstall "apache2" package

Please follow the guidance below to uninstall apache2 on Ubuntu 23.10 (Mantic Minotaur):

$ sudo apt remove apache2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the apache2 package on Ubuntu 23.10 (Mantic Minotaur)

Package: apache2
Architecture: amd64
Version: 2.4.57-2ubuntu2.3
Priority: optional
Section: web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Apache Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 462
Provides: httpd, httpd-cgi
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: apache2-bin (= 2.4.57-2ubuntu2.3), apache2-data (= 2.4.57-2ubuntu2.3), apache2-utils (= 2.4.57-2ubuntu2.3), lsb-base, media-types, perl:any, procps
Recommends: ssl-cert
Suggests: apache2-doc, apache2-suexec-pristine | apache2-suexec-custom, www-browser, ufw
Filename: pool/main/a/apache2/apache2_2.4.57-2ubuntu2.3_amd64.deb
Size: 96882
MD5sum: 0ecca2cb7df3a169d67f2b806773ad73
SHA1: 96682e4d834fa7121d29c351d9fd990c038ff9d0
SHA256: 2b7c6f2e03388e52fc4904b372befe875935e33da24ca0e25b80ae19a65c82a9
SHA512: 61ac964e72a35d8b4d91d83f5d49aad924b7d2e4c1395bdf4ac224f1c3faba2bafa65a9566139e3ae1520e039d645a6418155ae632ccb565b841a6ee376f37bc
Homepage: https://httpd.apache.org/
Description: Apache HTTP Server
Description-md5: d02426bc360345e5acd45367716dc35c
Task: lamp-server

Package: apache2
Architecture: amd64
Version: 2.4.57-2ubuntu2.1
Priority: optional
Section: web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Apache Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 462
Provides: httpd, httpd-cgi
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: apache2-bin (= 2.4.57-2ubuntu2.1), apache2-data (= 2.4.57-2ubuntu2.1), apache2-utils (= 2.4.57-2ubuntu2.1), lsb-base, media-types, perl:any, procps
Recommends: ssl-cert
Suggests: apache2-doc, apache2-suexec-pristine | apache2-suexec-custom, www-browser, ufw
Filename: pool/main/a/apache2/apache2_2.4.57-2ubuntu2.1_amd64.deb
Size: 96872
MD5sum: ad4b3e3c33547284262e55928254b31a
SHA1: de49650008c0349a7d93b0a177dff1938f54ae5b
SHA256: 7c96789670f38ba1b8f13d0f4030baa80851c97af4e508b1382c40f84c972f78
SHA512: 06ee060ae878d03d742b550a98174c389b73d9b1d9789e9e6cd7bf9e337152d4e447bb13f36508de9f340eb9d14de51a0e7c9c0ceca642c0753129102f70141d
Homepage: https://httpd.apache.org/
Description: Apache HTTP Server
Description-md5: d02426bc360345e5acd45367716dc35c
Task: lamp-server

Package: apache2
Architecture: amd64
Version: 2.4.57-2ubuntu2
Priority: optional
Section: web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Apache Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 462
Provides: httpd, httpd-cgi
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: apache2-bin (= 2.4.57-2ubuntu2), apache2-data (= 2.4.57-2ubuntu2), apache2-utils (= 2.4.57-2ubuntu2), lsb-base, media-types, perl:any, procps
Recommends: ssl-cert
Suggests: apache2-doc, apache2-suexec-pristine | apache2-suexec-custom, www-browser, ufw
Filename: pool/main/a/apache2/apache2_2.4.57-2ubuntu2_amd64.deb
Size: 96858
MD5sum: 4750cc78f4dc44f7bfec55878132d6d6
SHA1: fd749daafdfb30275fd57bfdbb40fc673f481b55
SHA256: 21dcc2bc5d0a348ded3e092de767a493966ef49b57a5e925759487f6cb803849
SHA512: 309623de2ec56db41f18c42325c889d1a6c1841beb0343b1f7e312e0ce9571bbf4e87019b24e7b6afc0bc3aba885a22bb91dded19c3d3f0480ec600fc50789aa
Homepage: https://httpd.apache.org/
Description: Apache HTTP Server
Description-md5: d02426bc360345e5acd45367716dc35c
Task: lamp-server