How to Install and Uninstall selinux-policy-default Package on Debian 12 (Bookworm)
Last updated: February 17,2025
Notice
You can also install and uninstall the selinux-policy-default on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "selinux-policy-default" package
Please follow the guidelines below to install selinux-policy-default on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
selinux-policy-default
Copied
2. Uninstall "selinux-policy-default" package
In this section, we are going to explain the necessary steps to uninstall selinux-policy-default on Debian 12 (Bookworm):
$
sudo apt remove
selinux-policy-default
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the selinux-policy-default package on Debian 12 (Bookworm)
Package: selinux-policy-default
Source: refpolicy
Version: 2:2.20221101-9
Installed-Size: 4161
Maintainer: Debian SELinux maintainers
Architecture: all
Depends: libselinux1 (>= 3.4), libsemanage2 (>= 3.4), libsepol2 (>= 3.4), policycoreutils (>= 3.4), selinux-utils (>= 3.4)
Recommends: checkpolicy, setools
Suggests: logcheck, syslog-summary
Conflicts: mcstrans
Breaks: selinux-basics (<< 0.5.2~)
Description: Strict and Targeted variants of the SELinux policy
Description-md5: 325e1ecabb3986761a584eae753fa7e7
Homepage: https://github.com/SELinuxProject/refpolicy/releases
Section: admin
Priority: optional
Filename: pool/main/r/refpolicy/selinux-policy-default_2.20221101-9_all.deb
Size: 3052412
MD5sum: 1478fb8317b1b99bf52722875d6c509d
SHA256: 0577cfde2c03754bdb32ea1f103b94cd464c53d73c0c8210c85003e1faf88864
Source: refpolicy
Version: 2:2.20221101-9
Installed-Size: 4161
Maintainer: Debian SELinux maintainers
Architecture: all
Depends: libselinux1 (>= 3.4), libsemanage2 (>= 3.4), libsepol2 (>= 3.4), policycoreutils (>= 3.4), selinux-utils (>= 3.4)
Recommends: checkpolicy, setools
Suggests: logcheck, syslog-summary
Conflicts: mcstrans
Breaks: selinux-basics (<< 0.5.2~)
Description: Strict and Targeted variants of the SELinux policy
Description-md5: 325e1ecabb3986761a584eae753fa7e7
Homepage: https://github.com/SELinuxProject/refpolicy/releases
Section: admin
Priority: optional
Filename: pool/main/r/refpolicy/selinux-policy-default_2.20221101-9_all.deb
Size: 3052412
MD5sum: 1478fb8317b1b99bf52722875d6c509d
SHA256: 0577cfde2c03754bdb32ea1f103b94cd464c53d73c0c8210c85003e1faf88864