How to Install and Uninstall python3-selinux Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 23,2024

1. Install "python3-selinux" package

In this section, we are going to explain the necessary steps to install python3-selinux on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install python3-selinux

2. Uninstall "python3-selinux" package

In this section, we are going to explain the necessary steps to uninstall python3-selinux on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the python3-selinux package on Ubuntu 20.04 LTS (Focal Fossa)

Package: python3-selinux
Architecture: amd64
Version: 3.0-1build2
Built-Using: libsepol (= 3.0-1)
Priority: optional
Section: universe/python
Source: libselinux
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian SELinux maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 560
Provides: python3.8-selinux
Depends: python3 (<< 3.9), python3 (>= 3.8~), python3:any, libc6 (>= 2.14), libselinux1 (>= 3.0)
Filename: pool/universe/libs/libselinux/python3-selinux_3.0-1build2_amd64.deb
Size: 138508
MD5sum: c5d44f94730b1cede0f59516101c3267
SHA1: bb1b3ceb5ca4726645abd32ac853b9b457e1088c
SHA256: 1fae8d1c046067356d67fa556d7129edf8dc1748ad91db0dbfd4bf64373d654d
Homepage: http://userspace.selinuxproject.org/
Description: Python3 bindings to SELinux shared libraries
Description-md5: 9ba663ede69837730eefa0d1d3aeaa21