How To Install libfdisk on Fedora 34
Introduction
In this tutorial we learn how to install libfdisk
on Fedora 34.
What is libfdisk
This is library for fdisk-like programs, part of util-linux. libfdisk 2.36.2 1.fc34 i686 167 k util-linux-2.36.2-1.fc34.src.rpm fedora Partitioning library for fdisk-like programs. http LGPLv2+ This is library for fdisk-like programs, part of util-linux.
We can use yum
or dnf
to install libfdisk
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libfdisk.
Install libfdisk 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 libfdisk
using dnf
by running the following command:
sudo dnf -y install libfdisk
Install libfdisk 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 libfdisk
using yum
by running the following command:
sudo yum -y install libfdisk
How To Uninstall libfdisk on Fedora 34
To uninstall only the libfdisk
package we can use the following command:
sudo dnf remove libfdisk
libfdisk Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/3b97adc15ea8ed9c9e183bd161b85333252783
/usr/lib/libfdisk.so.1
/usr/lib/libfdisk.so.1.1.0
/usr/share/licenses/libfdisk
/usr/share/licenses/libfdisk/COPYING
/usr/share/licenses/libfdisk/COPYING.LGPL-2.1-or-later
/usr/lib/.build-id
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/47a18e8533e0429c61499eb2423de0a6be388c
/usr/lib64/libfdisk.so.1
/usr/lib64/libfdisk.so.1.1.0
/usr/share/licenses/libfdisk
/usr/share/licenses/libfdisk/COPYING
/usr/share/licenses/libfdisk/COPYING.LGPL-2.1-or-later
References
- [libfdisk website](http://en.wikipedia.org/wiki/Util-linux http://en.wikipedia.org/wiki/Util-linux)
Summary
In this tutorial we learn how to install libfdisk
on Fedora 34 using yum and dnf.