How to Install and Uninstall checkpolicy Package on Ubuntu 21.10 (Impish Indri)

Last updated: April 27,2024

1. Install "checkpolicy" package

Please follow the instructions below to install checkpolicy on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install checkpolicy

2. Uninstall "checkpolicy" package

This tutorial shows how to uninstall checkpolicy on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove checkpolicy $ sudo apt autoclean && sudo apt autoremove

3. Information about the checkpolicy package on Ubuntu 21.10 (Impish Indri)

Package: checkpolicy
Architecture: amd64
Version: 3.1-1
Built-Using: libsepol (= 3.1-1)
Priority: optional
Section: universe/utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian SELinux maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 926
Depends: libc6 (>= 2.14)
Filename: pool/universe/c/checkpolicy/checkpolicy_3.1-1_amd64.deb
Size: 226904
MD5sum: 5b9564338af70bacce041d66abc6384d
SHA1: b16da691eefab92661910915a0c9bc4d4ce8b192
SHA256: 721c5f920e02f11e808dacb480032e6817757746822af52b0c3aa3e9c088d32c
SHA512: ea02c3a2d1682a4b2a290a576d72b227c6ca02f6e48771b79b9df094bb47a84df9a89a6bbdc6cc8dd7555f10e4f4f26f55578b924a9ea236799fa91c36d56bac
Homepage: http://userspace.selinuxproject.org/
Description-en: SELinux policy compiler
Security-enhanced Linux is a patch of the Linux® kernel and a number
of utilities with enhanced security functionality designed to add
mandatory access controls to Linux. The Security-enhanced Linux
kernel contains new architectural components originally developed to
improve the security of the Flask operating system. These
architectural components provide general support for the enforcement
of many kinds of mandatory access control policies, including those
based on the concepts of Type Enforcement®, Role-based Access
Control, and Multi-level Security.
.
This package contains checkpolicy, the SELinux policy compiler.
Only required for building policies. It uses libsepol to generate
the binary policy. checkpolicy uses the static libsepol since it
deals with low level details of the policy that have not been
encapsulated/abstracted by a proper shared library interface.
Description-md5: 863da67d6724107de7579bcd3c30b3db