How To Install libgudev on Fedora 36

In this tutorial we learn how to install libgudev in Fedora 36. libgudev is GObject-based wrapper library for libudev

Introduction

In this tutorial we learn how to install libgudev on Fedora 36.

What is libgudev

This library makes it much simpler to use libudev from programs already using GObject. It also makes it possible to easily use libudev from other programming languages, such as Javascript, because of GObject introspection support.

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

Install libgudev 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 libgudev using dnf by running the following command:

sudo dnf -y install libgudev

Install libgudev 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 libgudev using yum by running the following command:

sudo yum -y install libgudev

How To Uninstall libgudev on Fedora 36

To uninstall only the libgudev package we can use the following command:

sudo dnf remove libgudev

libgudev Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/93
/usr/lib/.build-id/93/abb5324445582a0da95e246a0a0e5896fc3fec
/usr/lib64/girepository-1.0/GUdev-1.0.typelib
/usr/lib64/libgudev-1.0.so.0
/usr/lib64/libgudev-1.0.so.0.3.0
/usr/share/doc/libgudev
/usr/share/doc/libgudev/NEWS
/usr/share/licenses/libgudev
/usr/share/licenses/libgudev/COPYING

References

Summary

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