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

Last updated: November 22,2024

1. Install "python-selinux" package

Please follow the guidelines below to install python-selinux on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-selinux

2. Uninstall "python-selinux" package

Please follow the step by step instructions below to uninstall python-selinux on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: python-selinux
Priority: optional
Section: universe/devel
Installed-Size: 1021
Maintainer: Ubuntu Developers
Original-Maintainer: Debian SELinux maintainers
Architecture: amd64
Source: libselinux
Version: 2.4-3build2
Provides: python2.7-selinux
Depends: python (<< 2.8), python (>= 2.7~), python:any (>= 2.7.5-5~), libc6 (>= 2.14), libselinux1 (>= 2.3)
Filename: pool/universe/libs/libselinux/python-selinux_2.4-3build2_amd64.deb
Size: 173408
MD5sum: 4f8f4d49fb4e47e6280d65a6ab2e0d63
SHA1: 440966a435797b9114fbcf9e8eddffbaafd13d99
SHA256: 66f383902c7e692c64f1fda47ca2373579bcf4cf942a1919c40db11c0cd8405f
Description-en: Python bindings to SELinux shared libraries
This package provides the Python 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: 67b963c735f7257847962058fa0ce21f
Built-Using: libsepol (= 2.4-2)
Homepage: http://userspace.selinuxproject.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu