How to Install and Uninstall python3-selinux Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 11,2024

1. Install "python3-selinux" package

This is a short guide on how to install python3-selinux on Ubuntu 16.04 LTS (Xenial Xerus)

$ 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 16.04 LTS (Xenial Xerus):

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

3. Information about the python3-selinux package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python3-selinux
Priority: optional
Section: universe/python
Installed-Size: 1021
Maintainer: Ubuntu Developers
Original-Maintainer: Debian SELinux maintainers
Architecture: amd64
Source: libselinux
Version: 2.4-3build2
Provides: python3.5-selinux
Depends: python3 (<< 3.6), python3 (>= 3.5~), libc6 (>= 2.14), libselinux1 (>= 2.3)
Filename: pool/universe/libs/libselinux/python3-selinux_2.4-3build2_amd64.deb
Size: 173232
MD5sum: 496da871656386cc661ff1879b9739fb
SHA1: 78fded70d4caa147e65743b940844a03ef450f0a
SHA256: 7279c785722797cd7d430d71f8090f21008d567fb3c112bdff200e6aef412d10
Description-en: Python3 bindings to SELinux shared libraries
This package provides the Python3 bindings needed for developing Python
SELinux applications.
.
Security-enhanced Linux is a patch of the Linux kernel and a number
of utilities with enhanced security functionality designed to add mandatory
access controls to Linux. The Security-enhanced Linux kernel contains
new architectural components originally developed to improve the security
of the Flask operating system. These architectural components provide
general support for the enforcement of many kinds of mandatory access
control policies, including those based on the concepts of Type Enforcement,
Role-based Access Control, and Multi-level Security.
Description-md5: 9ba663ede69837730eefa0d1d3aeaa21
Built-Using: libsepol (= 2.4-2)
Homepage: http://userspace.selinuxproject.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu