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

Last updated: April 27,2024

1. Install "apparmor" package

This guide let you learn how to install apparmor on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install apparmor

2. Uninstall "apparmor" package

Please follow the guidelines below to uninstall apparmor on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove apparmor $ sudo apt autoclean && sudo apt autoremove

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

Package: apparmor
Architecture: amd64
Version: 3.0.0-0ubuntu7
Priority: standard
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian AppArmor Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2105
Depends: debconf, lsb-base, debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.33)
Suggests: apparmor-profiles-extra, apparmor-utils
Breaks: apparmor-profiles-extra (<< 1.21), fcitx-data (<< 1:4.2.9.1-1ubuntu2), snapd (<< 2.44.3+20.04~)
Replaces: fcitx-data (<< 1:4.2.9.1-1ubuntu2)
Filename: pool/main/a/apparmor/apparmor_3.0.0-0ubuntu7_amd64.deb
Size: 533976
MD5sum: 1f9cdc1c5c1d159ae82634e99667393c
SHA1: 784da6fe0cb9184c9236220e4a427431262b8ded
SHA256: 97592d06dda0866a8c9438f8b347a1f18a32f91207899b1a7d1b9b5256067a5c
SHA512: adf051a7da796bc9aad6f416e6e4e4a6fd85e49c44bd1083cd46593c5ede8da578113a4bf538b9a11303b4f528381ba12f96fd68bd49c8b4fb31feefa310f9ee
Homepage: http://apparmor.net/
Description-en: user-space parser utility for AppArmor
apparmor provides the system initialization scripts needed to use the
AppArmor Mandatory Access Control system, including the AppArmor Parser
which is required to convert AppArmor text profiles into machine-readable
policies that are loaded into the kernel for use with the AppArmor Linux
Security Module.
Description-md5: 9fdfbb456943ca7bfea9e5fd580a5b7f
Task: standard