How to Install and Uninstall libapache2-mod-apparmor Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 16,2024

1. Install "libapache2-mod-apparmor" package

Please follow the step by step instructions below to install libapache2-mod-apparmor on Ubuntu 21.04 (Hirsute Hippo)

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

2. Uninstall "libapache2-mod-apparmor" package

Please follow the guidance below to uninstall libapache2-mod-apparmor on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the libapache2-mod-apparmor package on Ubuntu 21.04 (Hirsute Hippo)

Package: libapache2-mod-apparmor
Architecture: amd64
Version: 3.0.0-0ubuntu7
Priority: extra
Section: web
Source: apparmor
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian AppArmor Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 127
Depends: apache2-api-20120211, apache2-bin (>= 2.4.16), libapparmor1 (>= 2.7.0~beta1+bzr1772), libc6 (>= 2.4)
Filename: pool/main/a/apparmor/libapache2-mod-apparmor_3.0.0-0ubuntu7_amd64.deb
Size: 15120
MD5sum: 3ee5b77ae2abdb180a3654edf9b7a671
SHA1: bef6493217448af3f0a0953036014e740d01fb36
SHA256: 7afb2f34c4f01daafb6f13e3b5ee4972a4764517c4a3d15a9c4a809bbc13a1f6
SHA512: 56d086b094b409ae4bc01058a3cf98fc361264035e9a30612bcdfed0c75f42d331008ea4b22113813198d58ebbdeabd4791f60cec7b2d7c936915bfa86704272
Homepage: http://apparmor.net/
Description-en: changehat AppArmor library as an Apache module
libapache2-mod-apparmor provides the Apache module needed to declare
various differing confinement policies when running virtual hosts in the
webserver by using the changehat abilities exposed through libapparmor.
Description-md5: 675226c578343873100f70dfcbc986ad