How To Install libfdisk on Rocky Linux 8
Introduction
In this tutorial we learn how to install libfdisk
on Rocky Linux 8.
What is libfdisk
This is library for fdisk-like programs, part of util-linux.
We can use yum
or dnf
to install libfdisk
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libfdisk.
Install libfdisk 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 libfdisk
using dnf
by running the following command:
sudo dnf -y install libfdisk
Install libfdisk 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 libfdisk
using yum
by running the following command:
sudo yum -y install libfdisk
How To Uninstall libfdisk on Rocky Linux 8
To uninstall only the libfdisk
package we can use the following command:
sudo dnf remove libfdisk
libfdisk Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/4ea42703124d37eaf420ebabf304fe0c61598c
/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.LGPLv2.1
/usr/lib/.build-id
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/69ce92bdf9a83fecf33b11fc0ded79f087d4f5
/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.LGPLv2.1
References
Summary
In this tutorial we learn how to install libfdisk
on Rocky Linux 8 using yum and dnf.