How To Install libblkid on Fedora 36

In this tutorial we learn how to install libblkid in Fedora 36. libblkid is Block device ID library

Introduction

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

What is libblkid

This is block device identification library, part of util-linux.

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

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

sudo dnf -y install libblkid

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

sudo yum -y install libblkid

How To Uninstall libblkid on Fedora 36

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

sudo dnf remove libblkid

libblkid Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/58123c73f92b29e14b080448cade11b65edde2
/usr/lib64/libblkid.so.1
/usr/lib64/libblkid.so.1.1.0
/usr/share/doc/libblkid
/usr/share/doc/libblkid/COPYING

References

Summary

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