How to Install and Uninstall apache2 Package on Linux Mint 21 (Vanessa)

Last updated: May 09,2024

1. Install "apache2" package

Please follow the step by step instructions below to install apache2 on Linux Mint 21 (Vanessa)

$ sudo apt update $ sudo apt install apache2

2. Uninstall "apache2" package

This is a short guide on how to uninstall apache2 on Linux Mint 21 (Vanessa):

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

3. Information about the apache2 package on Linux Mint 21 (Vanessa)

Package: apache2
Architecture: amd64
Version: 2.4.52-1ubuntu4.8
Priority: optional
Section: web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Apache Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 534
Provides: httpd, httpd-cgi
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: apache2-bin (= 2.4.52-1ubuntu4.8), apache2-data (= 2.4.52-1ubuntu4.8), apache2-utils (= 2.4.52-1ubuntu4.8), 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
Replaces: apache2.2-bin, apache2.2-common
Filename: pool/main/a/apache2/apache2_2.4.52-1ubuntu4.8_amd64.deb
Size: 97862
MD5sum: f57aee53862c05001552f6c6efe2412e
SHA1: 5ca67989d2973ed32152f4bcff22d227b9b0c833
SHA256: 755acdb47f3e38c6f79000c3d6eea4bbbf5d632899000180ebf7f6d879e82021
SHA512: 2d1b50fea1130fabe158bfef8330d49129ea772258580896c79e47cb4fb470f592dec7d9c78f1decf36f2db74bbf5003c366b9b4e583165f91d44794e0c234d7
Homepage: https://httpd.apache.org/
Description: Apache HTTP Server
Description-md5: d02426bc360345e5acd45367716dc35c
Task: lamp-server

Package: apache2
Architecture: amd64
Version: 2.4.52-1ubuntu4.7
Priority: optional
Section: web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Apache Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 533
Provides: httpd, httpd-cgi
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: apache2-bin (= 2.4.52-1ubuntu4.7), apache2-data (= 2.4.52-1ubuntu4.7), apache2-utils (= 2.4.52-1ubuntu4.7), 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
Replaces: apache2.2-bin, apache2.2-common
Filename: pool/main/a/apache2/apache2_2.4.52-1ubuntu4.7_amd64.deb
Size: 97816
MD5sum: 9ff01e27323fe5366842321a14b66539
SHA1: 9c355877b27b2018c8b967f378a63993f1550790
SHA256: d4dd4330aac3632398eb583e4b5b4ae60da02e729f949ca6f6d4df1ef4388cea
SHA512: fa6d0a09c4d5a737e82fad90343b69774acad883c6cb1d6f34a275c2761f5b749b45f849babb9a818d2f62034788899055f7dc76efd96a58401df821c1ffda7d
Homepage: https://httpd.apache.org/
Description: Apache HTTP Server
Description-md5: d02426bc360345e5acd45367716dc35c
Task: lamp-server

Package: apache2
Architecture: amd64
Version: 2.4.52-1ubuntu4
Priority: optional
Section: web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Apache Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 532
Provides: httpd, httpd-cgi
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: apache2-bin (= 2.4.52-1ubuntu4), apache2-data (= 2.4.52-1ubuntu4), apache2-utils (= 2.4.52-1ubuntu4), 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
Replaces: apache2.2-bin, apache2.2-common
Filename: pool/main/a/apache2/apache2_2.4.52-1ubuntu4_amd64.deb
Size: 97834
MD5sum: 9a264ccbe2bb24d7ebbe317219162006
SHA1: 21a85e607069db8f9bb51c208254b5e6efa11f96
SHA256: 8db7abada23b7a2221ca7cbd20cc455f8cc2cd69a130d03dc92eb6377de42cb3
SHA512: 483d20cc2df4cd6b2428d74722b10657eb69117414fab296ad3af3ec3d2b7eb7597cc29ea8f0749f3c4f2a144c107fd93e73e322a62763e25e9039103284c9fb
Homepage: https://httpd.apache.org/
Description: Apache HTTP Server
Description-md5: d02426bc360345e5acd45367716dc35c
Task: lamp-server