How to Install and Uninstall apache2-dev Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 09,2024

1. Install "apache2-dev" package

This guide covers the steps necessary to install apache2-dev on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install apache2-dev

2. Uninstall "apache2-dev" package

This guide covers the steps necessary to uninstall apache2-dev on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the apache2-dev package on Ubuntu 20.04 LTS (Focal Fossa)

Package: apache2-dev
Architecture: amd64
Version: 2.4.41-4ubuntu3.15
Priority: optional
Section: httpd
Source: apache2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Apache Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1006
Provides: dh-apache2
Depends: debhelper (>= 10), libapr1-dev, libaprutil1-dev, openssl, perl:any
Filename: pool/main/a/apache2/apache2-dev_2.4.41-4ubuntu3.15_amd64.deb
Size: 179400
MD5sum: e948e2a7246b0f72c59931cb321baf7d
SHA1: f3a25bd324cc0fcebcf153e7c4340167a80dac0f
SHA256: f1a0787090a3e3993eb723e13d495b8d2df65b8aca5a5d6a1353b1da6bf1c002
SHA512: 047d819dc3406521f1bd2f9fb5cfa000f753a8ba0e2ab5a5e1e99cd245458f8ca0bd9dede5863ede310a0fb22ca193e61d1032c6756be081b8569f5213a0db6f
Homepage: https://httpd.apache.org/
Description: Apache HTTP Server (development headers)
Description-md5: 8ba6f3b272c39cc7a08a802594285f02

Package: apache2-dev
Architecture: amd64
Version: 2.4.41-4ubuntu3
Priority: optional
Section: httpd
Source: apache2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Apache Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1000
Provides: dh-apache2
Depends: debhelper (>= 10), libapr1-dev, libaprutil1-dev, openssl, perl:any
Filename: pool/main/a/apache2/apache2-dev_2.4.41-4ubuntu3_amd64.deb
Size: 178224
MD5sum: 72b81f3254a1592fbaf74ac3514c758a
SHA1: 0160dd5295344e2e05c1e8ac8a76c38a750fbed7
SHA256: 63c16d3c5b2ae0044cc4bb7adc030e32b616f171f572d5aed89c5ccc93b87393
Homepage: https://httpd.apache.org/
Description: Apache HTTP Server (development headers)
Description-md5: 8ba6f3b272c39cc7a08a802594285f02