How To Install gdisk on Fedora 36

In this tutorial we learn how to install gdisk in Fedora 36. gdisk is An fdisk-like partitioning tool for GPT disks

Introduction

In this tutorial we learn how to install gdisk on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install gdisk.

Install gdisk on Fedora 36 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 Fedora 36 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 Fedora 36

To uninstall only the gdisk package we can use the following command:

sudo dnf remove gdisk

gdisk Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/7f5f9e413a60063586d807e8339a605091ba24
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/cd62c925fde60a3229ade3f2de8890beb99870
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/46abc30b499482f559ad0b29721d96c4f0e973
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/38bade13dd2e690ccac62848f2af03b213db56
/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
/usr/lib/.build-id
/usr/lib/.build-id/21
/usr/lib/.build-id/21/3b3d251d95648d2d1b2fff6356652227986c2f
/usr/lib/.build-id/56
/usr/lib/.build-id/56/e61b406d84f4e47805b18d745b58e74c8febd0
/usr/lib/.build-id/79
/usr/lib/.build-id/79/2cfab1dd049e33932d17b3f66ae50b9b944cc1
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/636af1b7ea1cbc2b7410f1868253b1b8986aea
/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/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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).