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

Last updated: May 17,2024

1. Install "python3-sepolicy" package

In this section, we are going to explain the necessary steps to install python3-sepolicy on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python3-sepolicy

2. Uninstall "python3-sepolicy" package

Here is a brief guide to show you how to uninstall python3-sepolicy on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: python3-sepolicy
Architecture: all
Version: 2.7-2
Priority: optional
Section: universe/python
Source: selinux-python
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian SELinux maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 220
Depends: python3-selinux (>= 2.7), python3-sepolgen (= 2.7-2), python3:any (>= 3.3.2-2~)
Filename: pool/universe/s/selinux-python/python3-sepolicy_2.7-2_all.deb
Size: 28938
MD5sum: 035dbf0cf8847b7c8c7690a1cc33408a
SHA1: 02ec16adf14d80223df9577607a47ed9f3c9e5dc
SHA256: b9ba9caa821eec202cee014408ccfb5bf18b97923629c31c310e87cef017c3cd
Homepage: http://userspace.selinuxproject.org/
Description: Python binding for SELinux Policy Analyses
Description-md5: 5b6eaa5991c31b18921b2241cd0460e6