How to Install and Uninstall selinux-policy-dev Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 10,2024

1. Install "selinux-policy-dev" package

In this section, we are going to explain the necessary steps to install selinux-policy-dev on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install selinux-policy-dev

2. Uninstall "selinux-policy-dev" package

Please follow the step by step instructions below to uninstall selinux-policy-dev on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove selinux-policy-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the selinux-policy-dev package on Ubuntu 20.04 LTS (Focal Fossa)

Package: selinux-policy-dev
Architecture: all
Version: 2:2.20190201-8
Priority: optional
Section: universe/admin
Source: refpolicy
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian SELinux maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 9864
Depends: checkpolicy (>= 2.8), gawk, m4, make, policycoreutils (>= 2.8), policycoreutils-dev (>= 2.8), policycoreutils-python-utils (>= 2.8), python3, selinux-utils (>= 2.8)
Recommends: setools
Filename: pool/universe/r/refpolicy/selinux-policy-dev_2.20190201-8_all.deb
Size: 430976
MD5sum: e3af71b9887dacdda463241e25abfa9d
SHA1: 632e5b6e491329ef07011146e63150e27034752c
SHA256: d26d013512a7e58b5b2da6500a1556266d863dbf87a20cfd15399c4b699075a3
Homepage: https://github.com/SELinuxProject/refpolicy/releases
Description: Headers from the SELinux reference policy for building modules
Description-md5: f35abfcf906e4208534af358dff216e2