How to Install and Uninstall python311-sh Package on openSUSE Leap

Last updated: November 08,2024

1. Install "python311-sh" package

Please follow the guidance below to install python311-sh on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python311-sh

2. Uninstall "python311-sh" package

Please follow the step by step instructions below to uninstall python311-sh on openSUSE Leap:

$ sudo zypper remove python311-sh

3. Information about the python311-sh package on openSUSE Leap

Information for package python311-sh:
-------------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : python311-sh
Version : 2.0.4-150400.9.3.9
Arch : noarch
Vendor : SUSE LLC
Installed Size : 287.2 KiB
Installed : No
Status : not installed
Source package : python-sh-2.0.4-150400.9.3.9.src
Upstream URL : https://github.com/amoffat/sh
Summary : Python subprocess interface
Description :
sh is a full-fledged subprocess replacement for Python 2.6 - 3.6, PyPy
and PyPy3 that allows you to call any program as if it were a
function:
from sh import ifconfig
print ifconfig("eth0")
sh is not a collection of system commands implemented in Python.

5. The same packages on other Linux Distributions