How to Install and Uninstall selinux-policy-dev Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 20,2024

1. Install "selinux-policy-dev" package

Please follow the steps below to install selinux-policy-dev on Ubuntu 21.10 (Impish Indri)

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

2. Uninstall "selinux-policy-dev" package

This tutorial shows how to uninstall selinux-policy-dev on Ubuntu 21.10 (Impish Indri):

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

3. Information about the selinux-policy-dev package on Ubuntu 21.10 (Impish Indri)

Package: selinux-policy-dev
Architecture: all
Version: 2:2.20210203-7
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: 10071
Depends: checkpolicy (>= 3.0), gawk, m4, make, policycoreutils (>= 3.0), policycoreutils-dev (>= 3.0), policycoreutils-python-utils (>= 3.0), python3, selinux-utils (>= 3.0)
Recommends: setools
Filename: pool/universe/r/refpolicy/selinux-policy-dev_2.20210203-7_all.deb
Size: 440336
MD5sum: f86197d15247ba992a4078566bbd5935
SHA1: 75a5125ade893e0506d011835a6e2f5a6993863a
SHA256: 554751d862a423287656d2d80363fbd6974e096306e9aca8fd061bae350f2e8d
SHA512: ddc91440978b278f444d3f05fbfeb3da688e111bb25e32f121568a9ea4d7fc25c70d225f1780b5e8cd90e8168051a4dcf958c4cb3ff808bb01241e7aaf127bfd
Homepage: https://github.com/SELinuxProject/refpolicy/releases
Description-en: Headers from the SELinux reference policy for building modules
The SELinux Reference Policy (refpolicy) is a complete SELinux
policy, as an alternative to the existing strict and targeted
policies available from http://selinux.sf.net. The goal is to have
this policy as the system policy, be and used as the basis for
creating other policies. Refpolicy is based on the current strict and
targeted policies, but aims to accomplish many additional
goals:
+ Strong Modularity
+ Clearly stated security Goals
+ Documentation
+ Development Tool Support
+ Forward Looking
+ Configurability
+ Flexible Base Policy
+ Application Policy Variations
+ Multi-Level Security
.
This package provides header files for building your own SELinux
policy packages compatible with official policy packages.
Description-md5: f35abfcf906e4208534af358dff216e2