How to Install libgpiod1 in Ubuntu 18.04



Install libgpiod1 by entering the following commands in the terminal:

sudo apt update
sudo apt install libgpiod1

Description:

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.

Homepage: https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git

Version: 1.0-1

Section: universe/libs