How to Install and Uninstall libapache2-mod-security2 Package on Debian 11 (Bullseye)

Last updated: May 14,2024

1. Install "libapache2-mod-security2" package

This guide covers the steps necessary to install libapache2-mod-security2 on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install libapache2-mod-security2

2. Uninstall "libapache2-mod-security2" package

Please follow the step by step instructions below to uninstall libapache2-mod-security2 on Debian 11 (Bullseye):

$ sudo apt remove libapache2-mod-security2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the libapache2-mod-security2 package on Debian 11 (Bullseye)

Package: libapache2-mod-security2
Source: modsecurity-apache
Version: 2.9.3-3+deb11u1
Installed-Size: 1087
Maintainer: Alberto Gonzalez Iniesta
Architecture: amd64
Depends: libxml2 (>= 2.9.0), libapr1 (>= 1.2.7), libaprutil1 (>= 1.4.0), libc6 (>= 2.14), libcurl3-gnutls (>= 7.16.2), liblua5.1-0, libpcre3, libyajl2 (>= 2.0.4), apache2-api-20120211, apache2-bin (>= 2.4.16)
Recommends: modsecurity-crs
Description: Tighten web applications security for Apache
Description-md5: 198ee1322fd8f21e7b0987f6dfb5edc3
Homepage: http://www.modsecurity.org/
Section: httpd
Priority: optional
Filename: pool/main/m/modsecurity-apache/libapache2-mod-security2_2.9.3-3+deb11u1_amd64.deb
Size: 258880
MD5sum: 17ef91f5f6407c04dfe0e5e056c69320
SHA256: 6c7f7255df583d7cf46009d2d4db0b23174ddcd4e1dce7e3d0451f61c5ef0de5