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

Last updated: May 05,2024

1. Install "python2-selinux" package

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

$ sudo zypper refresh $ sudo zypper install python2-selinux

2. Uninstall "python2-selinux" package

Please follow the instructions below to uninstall python2-selinux on openSUSE Leap:

$ sudo zypper remove python2-selinux

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

Information for package python2-selinux:
----------------------------------------
Repository : Main Repository
Name : python2-selinux
Version : 2.6-4.7.3
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 517,5 KiB
Installed : No
Status : not installed
Source package : libselinux-bindings-2.6-4.7.3.src
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.