How To Install libgpiod-utils on Rocky Linux 8

In this tutorial we learn how to install libgpiod-utils on Rocky Linux 8. libgpiod-utils is Utilities for GPIO

Introduction

In this tutorial we learn how to install libgpiod-utils on Rocky Linux 8.

What is libgpiod-utils

Utilities for interacting with GPIO character devices.

We can use yum or dnf to install libgpiod-utils on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libgpiod-utils.

Install libgpiod-utils on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libgpiod-utils using dnf by running the following command:

sudo dnf -y install libgpiod-utils

Install libgpiod-utils on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libgpiod-utils using yum by running the following command:

sudo yum -y install libgpiod-utils

How To Uninstall libgpiod-utils on Rocky Linux 8

To uninstall only the libgpiod-utils package we can use the following command:

sudo dnf remove libgpiod-utils

libgpiod-utils Package Contents on Rocky Linux 8

/usr/bin/gpiodetect
/usr/bin/gpiofind
/usr/bin/gpioget
/usr/bin/gpioinfo
/usr/bin/gpiomon
/usr/bin/gpioset
/usr/lib/.build-id
/usr/lib/.build-id/42
/usr/lib/.build-id/42/a4e4c7fca8080b81be7302fa4068dfe7828abc
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/0f78b7e1ba447b6ade78c3e6b84e9606308887
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/338eb42fbd7bd1883e51660985e075f1eac11a
/usr/lib/.build-id/85
/usr/lib/.build-id/85/9ee488325abe7680617e537a830969e7568752
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/e33ba7f3a48ac44659f68882f21170233917c4
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/c8f7f5b4cf3cf0063095c0263b0283b4d7ad18

References

Summary

In this tutorial we learn how to install libgpiod-utils on Rocky Linux 8 using yum and dnf.