How To Install libgpiod-utils on Fedora 36

In this tutorial we learn how to install libgpiod-utils in Fedora 36. libgpiod-utils is Utilities for GPIO

Introduction

In this tutorial we learn how to install libgpiod-utils on Fedora 36.

What is libgpiod-utils

Utilities for interacting with GPIO character devices.

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

Install libgpiod-utils on Fedora 36 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 Fedora 36 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 Fedora 36

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

sudo dnf remove libgpiod-utils

libgpiod-utils Package Contents on Fedora 36

/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/0e
/usr/lib/.build-id/0e/f4df432be5e485098e256f2a0004d41db408b5
/usr/lib/.build-id/49
/usr/lib/.build-id/49/1cb02b2fb567a5d17b74ad08855b205ff208fb
/usr/lib/.build-id/89
/usr/lib/.build-id/89/a1f5c2eeff88665d9066650499018a4f8e3d59
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/a8e909bd7d830194c7cfb0220dc47c6663f9ab
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/0938f9f69c037949b292ec49ffbbc175a1a3ed
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/465064f298ae5476c1626429928f94806ac29c

References

Summary

In this tutorial we learn how to install libgpiod-utils on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).