Install apparmor-utils by entering the following commands in the terminal:
sudo apt update sudo apt install apparmor-utils
utilities for controlling AppArmor
apparmor-utilities provides utilities that operate on AppArmor profiles. Profiles can be created, updated, enforced, set to complain mode, and disabled with tools such as aa-genprof, aa-enforce, aa-complain and aa-disabled.