How to Install and Uninstall python3-sh Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 17,2024

1. Install "python3-sh" package

This guide covers the steps necessary to install python3-sh on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python3-sh

2. Uninstall "python3-sh" package

Please follow the guidance below to uninstall python3-sh on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove python3-sh $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-sh package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python3-sh
Priority: optional
Section: universe/python
Installed-Size: 118
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Architecture: all
Source: python-sh
Version: 1.11-1
Depends: python3:any (>= 3.3.2-2~)
Filename: pool/universe/p/python-sh/python3-sh_1.11-1_all.deb
Size: 22820
MD5sum: f4ad1fe1c13d7d540ed1849cb36c4377
SHA1: aa91f4da7595d9d29dbcc27d2f8d515dbeaf5bc0
SHA256: 5e79ff5c58948f3ad690260606b7fbae4500e7fcb5f8294342f3e0aecb0ce247
Description-en: Python 3 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 3 module bindings only.
Description-md5: b3c3033a5fae335008a03181bf0df81d
Homepage: https://github.com/amoffat/sh/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu