How to Install and Uninstall python3-selinux Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: May 11,2024

1. Install "python3-selinux" package

Learn how to install python3-selinux on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install python3-selinux

2. Uninstall "python3-selinux" package

This guide covers the steps necessary to uninstall python3-selinux on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the python3-selinux package on Ubuntu 24.04 LTS (Noble Numbat)

Package: python3-selinux
Architecture: amd64
Version: 3.5-2build1
Built-Using: libsepol (= 3.5-2)
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: 1076
Depends: python3 (<< 3.13), python3 (>= 3.11~), python3:any, libc6 (>= 2.26), libselinux1 (>= 3.5)
Filename: pool/universe/libs/libselinux/python3-selinux_3.5-2build1_amd64.deb
Size: 202192
MD5sum: ae23eccb44fc0d412291f1bc4936102d
SHA1: 51c0f1512de5cc769ddbfdc6ca74fd6fc1ae4712
SHA256: 8a74fceabefa2daa318c7e30fbcd6a8d4d483f8982341a1cabdd4a3ef1b98bd9
SHA512: b7efb6e5bd2fc63149d1dd4c0a1352bb99b05d06d20a9c651e4d8c45eec1a558cba2734c565fd9102c17abaa354608bb4a26ac547a2e8091e7e019d0a67d6e8f
Homepage: https://selinuxproject.org
Description: Python3 bindings to SELinux shared libraries
Description-md5: 9ba663ede69837730eefa0d1d3aeaa21