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

Last updated: May 21,2024

1. Install "python-selinux" package

Please follow the instructions below to install python-selinux on Debian 10 (Buster)

$ sudo apt update $ sudo apt install python-selinux

2. Uninstall "python-selinux" package

This guide let you learn how to uninstall python-selinux on Debian 10 (Buster):

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

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

Package: python-selinux
Source: libselinux (2.8-1)
Version: 2.8-1+b1
Installed-Size: 569
Maintainer: Debian SELinux maintainers
Architecture: amd64
Provides: python2.7-selinux
Depends: python (<< 2.8), python (>= 2.7~), python:any (<< 2.8), python:any (>= 2.7.5-5~), libc6 (>= 2.14), libselinux1 (>= 2.7~rc2)
Description: Python bindings to SELinux shared libraries
Description-md5: 67b963c735f7257847962058fa0ce21f
Homepage: http://userspace.selinuxproject.org/
Built-Using: libsepol (= 2.8-1)
Tag: devel::lang:python, devel::library, implemented-in::python,
role::devel-lib, role::shared-lib, role::source
Section: python
Priority: optional
Filename: pool/main/libs/libselinux/python-selinux_2.8-1+b1_amd64.deb
Size: 159092
MD5sum: 9a60a3b10cd1a0568cabaa44359fca55
SHA256: 2137cee9453ac4b7d591139a76dd2f6ab86a679345f5ae6191fde27234adc355