How to Install and Uninstall python312-sh Package on openSuSE Tumbleweed

Last updated: November 27,2024

1. Install "python312-sh" package

In this section, we are going to explain the necessary steps to install python312-sh on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install python312-sh

2. Uninstall "python312-sh" package

Please follow the guidelines below to uninstall python312-sh on openSuSE Tumbleweed:

$ sudo zypper remove python312-sh

3. Information about the python312-sh package on openSuSE Tumbleweed

Information for package python312-sh:
-------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python312-sh
Version : 2.0.6-2.2
Arch : noarch
Vendor : openSUSE
Installed Size : 274.8 KiB
Installed : No
Status : not installed
Source package : python-sh-2.0.6-2.2.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.