How to Install and Uninstall python3-selinux Package on Debian 10 (Buster)

Last updated: May 11,2024

1. Install "python3-selinux" package

Learn how to install python3-selinux on Debian 10 (Buster)

$ sudo apt update $ sudo apt install python3-selinux

2. Uninstall "python3-selinux" package

Please follow the guidance below to uninstall python3-selinux on Debian 10 (Buster):

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

3. Information about the python3-selinux package on Debian 10 (Buster)

Package: python3-selinux
Source: libselinux (2.8-1)
Version: 2.8-1+b1
Installed-Size: 1041
Maintainer: Debian SELinux maintainers
Architecture: amd64
Provides: python3.6-selinux, python3.7-selinux
Depends: python3 (<< 3.8), python3 (>= 3.6~), python3:any (>= 3.3.2-2~), libc6 (>= 2.14), libselinux1 (>= 2.7~rc2)
Description: Python3 bindings to SELinux shared libraries
Description-md5: 9ba663ede69837730eefa0d1d3aeaa21
Homepage: http://userspace.selinuxproject.org/
Built-Using: libsepol (= 2.8-1)
Section: python
Priority: optional
Filename: pool/main/libs/libselinux/python3-selinux_2.8-1+b1_amd64.deb
Size: 159860
MD5sum: 0c5ee76d74d8fabfaf1b5d86f62c1303
SHA256: 6f62bbbabb70144019ba0b51ff529c0f093166074995f9b744092d96cfed0568