How To Install libblkid on Fedora 34
Introduction
In this tutorial we learn how to install libblkid
on Fedora 34.
What is libblkid
This is block device identification library, part of util-linux. libblkid 2.36.2 1.fc34 i686 111 k util-linux-2.36.2-1.fc34.src.rpm fedora Block device ID library http LGPLv2+ This is block device identification library, part of util-linux.
We can use yum
or dnf
to install libblkid
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libblkid.
Install libblkid on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libblkid
using dnf
by running the following command:
sudo dnf -y install libblkid
Install libblkid on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 34
To uninstall only the libblkid
package we can use the following command:
sudo dnf remove libblkid
libblkid Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/64
/usr/lib/.build-id/64/264349fe107e5123183cee44d384ba4c011910
/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/e8
/usr/lib/.build-id/e8/4e55b96ca7dd6655dc72fce14c4fda4f051537
/usr/lib64/libblkid.so.1
/usr/lib64/libblkid.so.1.1.0
/usr/share/doc/libblkid
/usr/share/doc/libblkid/COPYING
References
- [libblkid website](http://en.wikipedia.org/wiki/Util-linux http://en.wikipedia.org/wiki/Util-linux)
Summary
In this tutorial we learn how to install libblkid
on Fedora 34 using yum and dnf.