How to Install and Uninstall python3-selinux Package on openSUSE Leap

Last updated: May 12,2024

1. Install "python3-selinux" package

Please follow the guidance below to install python3-selinux on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python3-selinux

2. Uninstall "python3-selinux" package

Please follow the guidelines below to uninstall python3-selinux on openSUSE Leap:

$ sudo zypper remove python3-selinux

3. Information about the python3-selinux package on openSUSE Leap

Information for package python3-selinux:
----------------------------------------
Repository : Main Repository
Name : python3-selinux
Version : 3.1-150400.1.5
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 526.5 KiB
Installed : No
Status : not installed
Source package : libselinux-bindings-3.1-150400.1.5.src
Upstream URL : https://github.com/SELinuxProject/selinux/wiki/Releases
Summary : Python bindings for the SELinux runtime library
Description :
libselinux provides an interface to get and set process and file
security contexts and to obtain security policy decisions.
This subpackage contains Python extensions to use SELinux from that
language.