How to Install and Uninstall golang-github-d2r2-go-i2c-dev Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 15,2024

1. Install "golang-github-d2r2-go-i2c-dev" package

Please follow the guidance below to install golang-github-d2r2-go-i2c-dev on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install golang-github-d2r2-go-i2c-dev

2. Uninstall "golang-github-d2r2-go-i2c-dev" package

Please follow the guidance below to uninstall golang-github-d2r2-go-i2c-dev on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove golang-github-d2r2-go-i2c-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the golang-github-d2r2-go-i2c-dev package on Ubuntu 21.04 (Hirsute Hippo)

Package: golang-github-d2r2-go-i2c-dev
Architecture: all
Version: 0.0~git20191123.73a8a79-2
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: golang-github-d2r2-go-i2c
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 24
Filename: pool/universe/g/golang-github-d2r2-go-i2c/golang-github-d2r2-go-i2c-dev_0.0~git20191123.73a8a79-2_all.deb
Size: 4672
MD5sum: 3bcec5c24c3237b05de032faad7d7eaf
SHA1: b7edc43dd381215b68e312e2b37879e4fd727fbd
SHA256: 468dc335fb7e670f43fe75086cf06d1629a180d9f4c6bd1e784de9ee2ddb1c53
SHA512: 3e5ffb1d3cbd43c0f47f5772a7dbf6fb322ad4b8d7af5bc4c60f341d3f9bc82c622e0ceee49d09fb447a354eb8009a2fb4097a16324ecb59abbe31806fc91698
Homepage: https://github.com/d2r2/go-i2c
Description-en: I2C-bus interaction of peripheral sensors with single-board computers (library)
This library written in Go is intended to activate and interact with the I2C
(Inter-Integrated Circuit) bus by reading and writing data. The i2c library is
a starting point to interact with various peripheral devices and sensors for
use on embedded Linux devices.
.
Following libraries for the listed devices and sensors use this i2c library:
* go-hd44780: Liquid-crystal display driven by Hitachi HD44780 IC
* go-bsbmp: BMP180/BMP280/BME280 temperature and pressure sensors
* go-aosong: DHT12/AM2320 humidity and temperature sensors
* go-si7021: Si7021 relative humidity and temperature sensor
* go-sht3x: SHT3x humidity and temperature sensor
* go-vl53l0x: VL53L0X time-of-flight ranging sensor
* go-bh1750: BH1750 ambient light sensor
* go-mpl3115a2: MPL3115A2 pressure and temperature sensor
Description-md5: ea81abd7de66dda0ec9b3a1ac9e93833