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

Last updated: December 23,2024

1. Install "python3-sh" package

Please follow the guidelines below to install python3-sh on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python3-sh

2. Uninstall "python3-sh" package

Learn how to uninstall python3-sh on openSUSE Leap:

$ sudo zypper remove python3-sh

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

Information for package python3-sh:
-----------------------------------
Repository : Main Repository
Name : python3-sh
Version : 1.12.14-bp155.2.11
Arch : noarch
Vendor : openSUSE
Installed Size : 287.8 KiB
Installed : No
Status : not installed
Source package : python-sh-1.12.14-bp155.2.11.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.