How to Install and Uninstall apache2 Package on Debian 11 (Bullseye)
Last updated: November 05,2024
1. Install "apache2" package
Here is a brief guide to show you how to install apache2 on Debian 11 (Bullseye)
$
sudo apt update
Copied
$
sudo apt install
apache2
Copied
2. Uninstall "apache2" package
Please follow the instructions below to uninstall apache2 on Debian 11 (Bullseye):
$
sudo apt remove
apache2
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the apache2 package on Debian 11 (Bullseye)
Package: apache2
Version: 2.4.54-1~deb11u1
Installed-Size: 623
Maintainer: Debian Apache Maintainers
Architecture: amd64
Replaces: apache2.2-bin, apache2.2-common, libapache2-mod-proxy-uwsgi (<< 2.4.33)
Provides: httpd, httpd-cgi
Depends: apache2-bin (= 2.4.54-1~deb11u1), apache2-data (= 2.4.54-1~deb11u1), apache2-utils (= 2.4.54-1~deb11u1), lsb-base, mime-support, perl:any, procps
Pre-Depends: dpkg (>= 1.17.14), init-system-helpers (>= 1.54~)
Recommends: ssl-cert
Suggests: apache2-doc, apache2-suexec-pristine | apache2-suexec-custom, www-browser
Conflicts: apache2.2-bin, apache2.2-common
Breaks: libapache2-mod-proxy-uwsgi (<< 2.4.33)
Description: Apache HTTP Server
Description-md5: d02426bc360345e5acd45367716dc35c
Homepage: https://httpd.apache.org/
Tag: role::metapackage, suite::apache
Section: httpd
Priority: optional
Filename: pool/main/a/apache2/apache2_2.4.54-1~deb11u1_amd64.deb
Size: 274960
MD5sum: 7d42e8360bf96b170a82ab6853b618d7
SHA256: 216d9d33d6d360b10c93eb7ca3e97eb04274dac64648d563279c38d7eb600112
Package: apache2
Version: 2.4.52-1~deb11u2
Installed-Size: 620
Maintainer: Debian Apache Maintainers
Architecture: amd64
Replaces: apache2.2-bin, apache2.2-common, libapache2-mod-proxy-uwsgi (<< 2.4.33)
Provides: httpd, httpd-cgi
Depends: apache2-bin (= 2.4.52-1~deb11u2), apache2-data (= 2.4.52-1~deb11u2), apache2-utils (= 2.4.52-1~deb11u2), lsb-base, mime-support, perl:any, procps
Suggests: apache2-doc, apache2-suexec-pristine | apache2-suexec-custom, www-browser
Conflicts: apache2.2-bin, apache2.2-common
Breaks: libapache2-mod-proxy-uwsgi (<< 2.4.33)
Description: Apache HTTP Server
Description-md5: d02426bc360345e5acd45367716dc35c
Homepage: https://httpd.apache.org/
Pre-Depends: dpkg (>= 1.17.14), init-system-helpers (>= 1.54~)
Recommends: ssl-cert
Section: httpd
Priority: optional
Filename: pool/updates/main/a/apache2/apache2_2.4.52-1~deb11u2_amd64.deb
Size: 271952
SHA256: 00bd5ca827ea67e0d2a10e6191595b26261f902c66096bd9e2b80fe6b606945a
Version: 2.4.54-1~deb11u1
Installed-Size: 623
Maintainer: Debian Apache Maintainers
Architecture: amd64
Replaces: apache2.2-bin, apache2.2-common, libapache2-mod-proxy-uwsgi (<< 2.4.33)
Provides: httpd, httpd-cgi
Depends: apache2-bin (= 2.4.54-1~deb11u1), apache2-data (= 2.4.54-1~deb11u1), apache2-utils (= 2.4.54-1~deb11u1), lsb-base, mime-support, perl:any, procps
Pre-Depends: dpkg (>= 1.17.14), init-system-helpers (>= 1.54~)
Recommends: ssl-cert
Suggests: apache2-doc, apache2-suexec-pristine | apache2-suexec-custom, www-browser
Conflicts: apache2.2-bin, apache2.2-common
Breaks: libapache2-mod-proxy-uwsgi (<< 2.4.33)
Description: Apache HTTP Server
Description-md5: d02426bc360345e5acd45367716dc35c
Homepage: https://httpd.apache.org/
Tag: role::metapackage, suite::apache
Section: httpd
Priority: optional
Filename: pool/main/a/apache2/apache2_2.4.54-1~deb11u1_amd64.deb
Size: 274960
MD5sum: 7d42e8360bf96b170a82ab6853b618d7
SHA256: 216d9d33d6d360b10c93eb7ca3e97eb04274dac64648d563279c38d7eb600112
Package: apache2
Version: 2.4.52-1~deb11u2
Installed-Size: 620
Maintainer: Debian Apache Maintainers
Architecture: amd64
Replaces: apache2.2-bin, apache2.2-common, libapache2-mod-proxy-uwsgi (<< 2.4.33)
Provides: httpd, httpd-cgi
Depends: apache2-bin (= 2.4.52-1~deb11u2), apache2-data (= 2.4.52-1~deb11u2), apache2-utils (= 2.4.52-1~deb11u2), lsb-base, mime-support, perl:any, procps
Suggests: apache2-doc, apache2-suexec-pristine | apache2-suexec-custom, www-browser
Conflicts: apache2.2-bin, apache2.2-common
Breaks: libapache2-mod-proxy-uwsgi (<< 2.4.33)
Description: Apache HTTP Server
Description-md5: d02426bc360345e5acd45367716dc35c
Homepage: https://httpd.apache.org/
Pre-Depends: dpkg (>= 1.17.14), init-system-helpers (>= 1.54~)
Recommends: ssl-cert
Section: httpd
Priority: optional
Filename: pool/updates/main/a/apache2/apache2_2.4.52-1~deb11u2_amd64.deb
Size: 271952
SHA256: 00bd5ca827ea67e0d2a10e6191595b26261f902c66096bd9e2b80fe6b606945a