How to Install and Uninstall python3-sh Package on Kali Linux

Last updated: November 26,2024

1. Install "python3-sh" package

Learn how to install python3-sh on Kali Linux

$ sudo apt update $ sudo apt install python3-sh

2. Uninstall "python3-sh" package

This is a short guide on how to uninstall python3-sh on Kali Linux:

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

3. Information about the python3-sh package on Kali Linux

Package: python3-sh
Source: python-sh
Version: 1.14.2-1
Installed-Size: 159
Maintainer: Debian Python Team
Architecture: all
Depends: python3:any
Size: 42808
SHA256: 76e7fdfa00ea574c834625e1e45571add8b9e6d7e1738d19cef9408a44c10cb2
SHA1: 2548f88e99cf4a365c9c34e09b69e0cafd8867ed
MD5sum: b39e0161315ac2c081ee2cbc46a2563b
Description: 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:
Homepage: https://github.com/amoffat/sh/
Section: python
Priority: optional
Filename: pool/main/p/python-sh/python3-sh_1.14.2-1_all.deb