How To Install libblkid on Rocky Linux 8
Introduction
In this tutorial we learn how to install libblkid
on Rocky Linux 8.
What is libblkid
This is block device identification library, part of util-linux.
We can use yum
or dnf
to install libblkid
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libblkid.
Install libblkid 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 libblkid
using dnf
by running the following command:
sudo dnf -y install libblkid
Install libblkid 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 libblkid
using yum
by running the following command:
sudo yum -y install libblkid
How To Uninstall libblkid on Rocky Linux 8
To uninstall only the libblkid
package we can use the following command:
sudo dnf remove libblkid
libblkid Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/91a1b93aa32d9e03cd62526d91664a89656760
/usr/lib/libblkid.so.1
/usr/lib/libblkid.so.1.1.0
/usr/share/doc/libblkid
/usr/share/doc/libblkid/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/5b631cce397db2e81cc465a05fbe7d6c0661d1
/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 Rocky Linux 8 using yum and dnf.