How to Install and Uninstall python-smbus Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 23,2024

1. Install "python-smbus" package

Please follow the instructions below to install python-smbus on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-smbus

2. Uninstall "python-smbus" package

Please follow the steps below to uninstall python-smbus on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove python-smbus $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-smbus package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python-smbus
Priority: extra
Section: universe/python
Installed-Size: 58
Maintainer: Ubuntu Developers
Original-Maintainer: Aurelien Jarno
Architecture: amd64
Source: i2c-tools
Version: 3.1.1-1
Provides: python2.7-smbus
Depends: libc6 (>= 2.4), python (>= 2.7), python (<< 2.8)
Recommends: i2c-tools
Filename: pool/universe/i/i2c-tools/python-smbus_3.1.1-1_amd64.deb
Size: 8240
MD5sum: cf2ac3bcefb5ff814eeddda1bc597dbd
SHA1: 622543ccce564d6114936cc934a0cf33f843a9b1
SHA256: 681829203e1dcd83986be9ad4f1c404fc0870178be99a54a9083457c10bca5b6
Description-en: Python bindings for Linux SMBus access through i2c-dev
This Python module allows SMBus access through the I2C /dev interface on
Linux hosts. The host kernel must have I2C support, I2C device interface
support, and a bus adapter driver.
Description-md5: c36ce675a1bddacc672388af4111ac28
Homepage: http://www.lm-sensors.org
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu