How to Install and Uninstall python-sh Package on Ubuntu 16.04 LTS (Xenial Xerus)
Last updated: November 25,2024
1. Install "python-sh" package
Please follow the step by step instructions below to install python-sh on Ubuntu 16.04 LTS (Xenial Xerus)
$
sudo apt update
Copied
$
sudo apt install
python-sh
Copied
2. Uninstall "python-sh" package
Please follow the step by step instructions below to uninstall python-sh on Ubuntu 16.04 LTS (Xenial Xerus):
$
sudo apt remove
python-sh
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the python-sh package on Ubuntu 16.04 LTS (Xenial Xerus)
Package: python-sh
Priority: optional
Section: universe/python
Installed-Size: 118
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Architecture: all
Version: 1.11-1
Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~)
Filename: pool/universe/p/python-sh/python-sh_1.11-1_all.deb
Size: 22736
MD5sum: 75484d200165f1144302b33dc66816b2
SHA1: 9a8f0c55682a61b1f11ba61c855a4af0f0a8e556
SHA256: 5edd9a7c119bc082cba36a261f69c08ec848b708286ed27a8d9b3874782daab1
Description-en: Python subprocess interface
sh (previously pbs) is a full-fledged subprocess replacement for Python 2.6 -
3.2 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.
.
This package provides Python 2 module bindings only.
Description-md5: ab83f8836e43521b84a6690a3b753e35
Homepage: https://github.com/amoffat/sh/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Priority: optional
Section: universe/python
Installed-Size: 118
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Architecture: all
Version: 1.11-1
Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~)
Filename: pool/universe/p/python-sh/python-sh_1.11-1_all.deb
Size: 22736
MD5sum: 75484d200165f1144302b33dc66816b2
SHA1: 9a8f0c55682a61b1f11ba61c855a4af0f0a8e556
SHA256: 5edd9a7c119bc082cba36a261f69c08ec848b708286ed27a8d9b3874782daab1
Description-en: Python subprocess interface
sh (previously pbs) is a full-fledged subprocess replacement for Python 2.6 -
3.2 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.
.
This package provides Python 2 module bindings only.
Description-md5: ab83f8836e43521b84a6690a3b753e35
Homepage: https://github.com/amoffat/sh/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu