How to Install and Uninstall python-semanage Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: July 02,2024

1. Install "python-semanage" package

Learn how to install python-semanage on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python-semanage

2. Uninstall "python-semanage" package

This guide let you learn how to uninstall python-semanage on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the python-semanage package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: python-semanage
Architecture: amd64
Version: 2.7-2build2
Priority: optional
Section: universe/devel
Source: libsemanage
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian SELinux maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 388
Depends: python (<< 2.8), python (>= 2.7~), python:any (<< 2.8), python:any (>= 2.7.5-5~), libc6 (>= 2.14), libsemanage1 (>= 2.7~rc2)
Filename: pool/universe/libs/libsemanage/python-semanage_2.7-2build2_amd64.deb
Size: 54540
MD5sum: da766079b03348048271ca9f685c72d6
SHA1: 2670ca7c1aa072df63f1bd150e09d7d9cb361d5d
SHA256: f74b4185a424e3faa9db7d1b16b7dab31e7dcf9b7920fd6b33e0beba2d216fae
Homepage: http://userspace.selinuxproject.org/
Description: Python bindings for SELinux policy management
Description-md5: 6dd99d6e9727185721eb00b32350f847