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

Last updated: May 11,2024

1. Install "python3-selinux" package

In this section, we are going to explain the necessary steps to install python3-selinux on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install python3-selinux

2. Uninstall "python3-selinux" package

Please follow the instructions below to uninstall python3-selinux on Debian 12 (Bookworm):

$ sudo apt remove python3-selinux $ sudo apt autoclean && sudo apt autoremove

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

Package: python3-selinux
Source: libselinux (3.4-1)
Version: 3.4-1+b6
Installed-Size: 555
Maintainer: Debian SELinux maintainers
Architecture: amd64
Depends: python3 (<< 3.12), python3 (>= 3.11~), python3:any, libc6 (>= 2.26), libselinux1 (>= 3.4)
Description: Python3 bindings to SELinux shared libraries
Description-md5: 9ba663ede69837730eefa0d1d3aeaa21
Homepage: https://selinuxproject.org
Built-Using: libsepol (= 3.4-2.1)
Section: python
Priority: optional
Filename: pool/main/libs/libselinux/python3-selinux_3.4-1+b6_amd64.deb
Size: 151844
MD5sum: fe02163d1711194b6b9c6263750e369d
SHA256: bc63d3d041ca56869c912d796b3f5a8967a18cccff3fd520a9fc1b89a17c22ce