How to Install and Uninstall apache2 Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: May 05,2024

1. Install "apache2" package

Please follow the steps below to install apache2 on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install apache2

2. Uninstall "apache2" package

Here is a brief guide to show you how to uninstall apache2 on Ubuntu 22.10 (Kinetic Kudu):

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

3. Information about the apache2 package on Ubuntu 22.10 (Kinetic Kudu)

Package: apache2
Architecture: amd64
Version: 2.4.54-2ubuntu1
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.54-2ubuntu1), apache2-data (= 2.4.54-2ubuntu1), apache2-utils (= 2.4.54-2ubuntu1), lsb-base, mime-support, 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.54-2ubuntu1_amd64.deb
Size: 97292
MD5sum: c977f837d17aa65810ccea55f87792e0
SHA1: a3796c4ecb42f081fae4a8b0fd7d355d5b2b96b6
SHA256: ff6bb5f4bcc0474f2bb0033dd01eb6c9706a8afcdc5bce93bbebf393fece3370
SHA512: cd247e44dac247c184a5422d1b54ee3b2354545ad1d3d7f8ceea123dd4029b52aa67b60b2085bbcc24088af5f985d0114b7c8464a4ac14a0c8010a6a217cd7c5
Homepage: https://httpd.apache.org/
Description: Apache HTTP Server
Description-md5: d02426bc360345e5acd45367716dc35c
Task: lamp-server