How to Install and Uninstall libgpiod2 Package on Ubuntu 21.10 (Impish Indri)

Last updated: December 26,2024

1. Install "libgpiod2" package

This guide covers the steps necessary to install libgpiod2 on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libgpiod2

2. Uninstall "libgpiod2" package

Learn how to uninstall libgpiod2 on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libgpiod2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the libgpiod2 package on Ubuntu 21.10 (Impish Indri)

Package: libgpiod2
Architecture: amd64
Version: 1.6.2-1
Multi-Arch: same
Priority: optional
Section: universe/libs
Source: libgpiod
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: SZ Lin (林上智)
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 149
Depends: libc6 (>= 2.16), libgcc-s1 (>= 3.0), libstdc++6 (>= 5.2)
Filename: pool/universe/libg/libgpiod/libgpiod2_1.6.2-1_amd64.deb
Size: 38600
MD5sum: 001bb12b7c547ca5d4c74859f0f692b9
SHA1: acd5f6af467f2ae3566777d9781610f5b2744aa1
SHA256: b82c0d9f70a15c24b0232bbc640d454c4a9244014e9adcb4871fdeb44df66566
SHA512: 4c43c2b86724cd17ecc016d3aa5040da2454250a381e6a004d51d7c815975169ec99294c54566984ef039f12359f8fc1e1770babed6c45256b94baaf4712ded7
Homepage: https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git
Description-en: C library for interacting with Linux GPIO device - shared libraries
libgpiod encapsulates the ioctl calls and data structures
behind a straightforward API. This new character device
interface guarantees all allocated resources are freed after
closing the device file descriptor and adds several new
features that are not present in the obsolete sysfs interface
(like event polling, setting/reading multiple values at once or
open-source and open-drain GPIOs).
.
This package contains the required shared libraries.
Description-md5: fdc58e35bead39e38c167aaf93875f04