How to Install and Uninstall selinux-policy-dev Package on Debian 12 (Bookworm)

Last updated: November 26,2024

1. Install "selinux-policy-dev" package

This guide let you learn how to install selinux-policy-dev on Debian 12 (Bookworm)

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

2. Uninstall "selinux-policy-dev" package

Please follow the guidance below to uninstall selinux-policy-dev on Debian 12 (Bookworm):

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

3. Information about the selinux-policy-dev package on Debian 12 (Bookworm)

Package: selinux-policy-dev
Source: refpolicy
Version: 2:2.20221101-9
Installed-Size: 8797
Maintainer: Debian SELinux maintainers
Architecture: all
Depends: checkpolicy (>= 3.4), gawk, m4, make, policycoreutils (>= 3.4), policycoreutils-dev (>= 3.4), policycoreutils-python-utils (>= 3.4), python3, selinux-utils (>= 3.4)
Recommends: setools
Description: Headers from the SELinux reference policy for building modules
Description-md5: f35abfcf906e4208534af358dff216e2
Homepage: https://github.com/SELinuxProject/refpolicy/releases
Section: admin
Priority: optional
Filename: pool/main/r/refpolicy/selinux-policy-dev_2.20221101-9_all.deb
Size: 456956
MD5sum: 7b86a56a67b73d5cdf88fcf1cc6ae9fe
SHA256: 90d333576df3a19ea161393fa0b07a0797d3fb33dc91573dfb8a926a3cb673c7