How To Install gdisk on Rocky Linux 8
Introduction
In this tutorial we learn how to install gdisk
on Rocky Linux 8.
What is gdisk
An fdisk-like partitioning tool for GPT disks. GPT fdisk features a command-line interface, fairly direct manipulation of partition table structures, recovery tools to help you deal with corrupt partition tables, and the ability to convert MBR disks to GPT format.
We can use yum
or dnf
to install gdisk
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install gdisk.
Install gdisk 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 gdisk
using dnf
by running the following command:
sudo dnf -y install gdisk
Install gdisk 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 gdisk
using yum
by running the following command:
sudo yum -y install gdisk
How To Uninstall gdisk on Rocky Linux 8
To uninstall only the gdisk
package we can use the following command:
sudo dnf remove gdisk
gdisk Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/b5d29e6be2912603f5e040930730252c351719
/usr/lib/.build-id/61
/usr/lib/.build-id/61/1f671a0615fe40256be77461317715c5e00bbe
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/7c7baccd6d6632a4d5ce71f9905862d6f65be8
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/358fcf0981f7d8c0cfda080c81edc89be51890
/usr/sbin/cgdisk
/usr/sbin/fixparts
/usr/sbin/gdisk
/usr/sbin/sgdisk
/usr/share/doc/gdisk
/usr/share/doc/gdisk/NEWS
/usr/share/doc/gdisk/README
/usr/share/doc/gdisk/gdisk_test.sh
/usr/share/licenses/gdisk
/usr/share/licenses/gdisk/COPYING
/usr/share/man/man8/cgdisk.8.gz
/usr/share/man/man8/fixparts.8.gz
/usr/share/man/man8/gdisk.8.gz
/usr/share/man/man8/sgdisk.8.gz
References
Summary
In this tutorial we learn how to install gdisk
on Rocky Linux 8 using yum and dnf.