How to Install and Uninstall python3-selinux Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 26,2024

1. Install "python3-selinux" package

This tutorial shows how to install python3-selinux on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python3-selinux

2. Uninstall "python3-selinux" package

Please follow the step by step instructions below to uninstall python3-selinux on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the python3-selinux package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: python3-selinux
Architecture: amd64
Version: 2.7-2build2
Built-Using: libsepol (= 2.7-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: 558
Provides: python3.6-selinux
Depends: python3 (<< 3.7), python3 (>= 3.6~), python3:any (>= 3.3.2-2~), libc6 (>= 2.14), libselinux1 (>= 2.7~rc2)
Filename: pool/universe/libs/libselinux/python3-selinux_2.7-2build2_amd64.deb
Size: 138292
MD5sum: 5c6a37b269fefbdeb3a17017a3ceee31
SHA1: 21c19b77068f7ad619ecd72abd7e56da3714b039
SHA256: 3a9b880460a23e6e1a899cc2bdb03ba62ead1f8384c7eca35523f22377e4ff66
Homepage: http://userspace.selinuxproject.org/
Description: Python3 bindings to SELinux shared libraries
Description-md5: 9ba663ede69837730eefa0d1d3aeaa21