How to Install and Uninstall apache2-dev Package on Debian 12 (Bookworm)

Last updated: December 25,2024

1. Install "apache2-dev" package

Please follow the instructions below to install apache2-dev on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install apache2-dev

2. Uninstall "apache2-dev" package

This tutorial shows how to uninstall apache2-dev on Debian 12 (Bookworm):

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

3. Information about the apache2-dev package on Debian 12 (Bookworm)

Package: apache2-dev
Source: apache2
Version: 2.4.57-2
Installed-Size: 1097
Maintainer: Debian Apache Maintainers
Architecture: amd64
Provides: dh-apache2
Depends: debhelper (>= 10), libapr1-dev, libaprutil1-dev, libpcre2-dev, openssl, perl:any
Description: Apache HTTP Server (development headers)
Description-md5: 8ba6f3b272c39cc7a08a802594285f02
Homepage: https://httpd.apache.org/
Tag: devel::lang:c, devel::lang:perl, devel::library, implemented-in::c,
implemented-in::perl, protocol::http, role::devel-lib, role::program,
suite::apache
Section: httpd
Priority: optional
Filename: pool/main/a/apache2/apache2-dev_2.4.57-2_amd64.deb
Size: 306000
MD5sum: 00c20d39a5ef35bced8452aa2f7260e2
SHA256: 75c3adf0251b46819b5de8ce645167e5f43c143f9431939d5700105a02447caa