How to Install and Uninstall python3-sepolgen Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 05,2024

1. Install "python3-sepolgen" package

In this section, we are going to explain the necessary steps to install python3-sepolgen on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-sepolgen

2. Uninstall "python3-sepolgen" package

This guide let you learn how to uninstall python3-sepolgen on Ubuntu 21.10 (Impish Indri):

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

3. Information about the python3-sepolgen package on Ubuntu 21.10 (Impish Indri)

Package: python3-sepolgen
Architecture: all
Version: 3.1-1build1
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: 423
Depends: checkpolicy (>= 3.1), make, python3-selinux (>= 3.1), python3-setools (>= 4.2.1), semodule-utils (>= 3.1), python3:any
Recommends: selinux-policy-dev
Breaks: python-sepolgen (<< 2.6)
Replaces: python-sepolgen (<< 2.6)
Filename: pool/universe/s/selinux-python/python3-sepolgen_3.1-1build1_all.deb
Size: 72020
MD5sum: e23de72941bb8eb67265f501398eedb1
SHA1: 6ad4abbf297c8ec6bcec447fea65914dbf298b4a
SHA256: 9ef2ef71d7ebe5fe5db61eab205b6a240b134ea8962070f2bba788d814ee59e7
SHA512: 3d183d446a62b87f3ce027f459627a1a30d1b7a7cacd8c6e031e696fab499fcbb44a3d63ecaa4439563d3c873de8646f16040de972edcc6805ad4b602ca15b45
Homepage: http://userspace.selinuxproject.org/
Description-en: Python3 module used in SELinux policy generation
This package contains a Python3 module that forms the core of the modern
audit2allow (which is a part of the package policycoreutils).
.
The sepolgen library is structured to give flexibility to the application
using it. The library contains: Reference Policy Representation,
which are Objects for representing policies and the reference policy
interfaces. Secondly, it has objects and algorithms for representing
access and sets of access in an abstract way and searching that
access. It also has a parser for reference policy "headers". It
contains infrastructure for parsing SELinux related messages as
produced by the audit system. It has facilities for generating policy
based on required access.
Description-md5: 03778db4097db3afbc6b04fa1214dd9a