How to Install and Uninstall apache2 Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 09,2024

1. Install "apache2" package

This guide let you learn how to install apache2 on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install apache2

2. Uninstall "apache2" package

This guide let you learn how to uninstall apache2 on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the apache2 package on Ubuntu 20.10 (Groovy Gorilla)

Package: apache2
Architecture: amd64
Version: 2.4.46-1ubuntu1
Priority: optional
Section: web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Apache Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 529
Provides: httpd, httpd-cgi
Pre-Depends: dpkg (>= 1.17.14)
Depends: apache2-bin (= 2.4.46-1ubuntu1), apache2-data (= 2.4.46-1ubuntu1), apache2-utils (= 2.4.46-1ubuntu1), lsb-base, mime-support, perl:any, procps
Recommends: ssl-cert
Suggests: apache2-doc, apache2-suexec-pristine | apache2-suexec-custom, www-browser, ufw
Conflicts: apache2.2-bin, apache2.2-common
Breaks: libapache2-mod-proxy-uwsgi (<< 2.4.33)
Replaces: apache2.2-bin, apache2.2-common, libapache2-mod-proxy-uwsgi (<< 2.4.33)
Filename: pool/main/a/apache2/apache2_2.4.46-1ubuntu1_amd64.deb
Size: 95644
MD5sum: 0205321fe1b0415a2d9c863d07f60a35
SHA1: 47274f0c832f4d1e3930f789f4612b4e3b1b9f8c
SHA256: 6c7d2c02d996471863258510dbbbcddeb8454d4288ca5484484bbf1626b08d2d
SHA512: 81743dfdcc0101fa9bf8f76b3fda7ea4d825d1cb13a4cf63ebd61654fc35a743345e4a320cfa4ccdc32ad3bc792521467b6d7494ed9a4907839fcbe49a176b4a
Homepage: https://httpd.apache.org/
Description-en: Apache HTTP Server
The Apache HTTP Server Project's goal is to build a secure, efficient and
extensible HTTP server as standards-compliant open source software. The
result has long been the number one web server on the Internet.
.
Installing this package results in a full installation, including the
configuration files, init scripts and support scripts.
Description-md5: d02426bc360345e5acd45367716dc35c
Task: lamp-server