How To Install gdisk.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install gdisk.x86_64
on Amazon Linux 2.
What is gdisk.x86_64
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
to install gdisk.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install gdisk.x86_64.
Install gdisk.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install gdisk.x86_64
using yum
by running the following command:
sudo yum -y install gdisk.x86_64
How To Uninstall gdisk.x86_64 on Amazon Linux 2
To uninstall only the gdisk.x86_64
package we can use the following command:
sudo yum remove gdisk.x86_64
gdisk.x86_64 Package Contents on Amazon Linux 2
/usr/sbin/cgdisk
/usr/sbin/fixparts
/usr/sbin/gdisk
/usr/sbin/sgdisk
/usr/share/doc/gdisk-0.8.10
/usr/share/doc/gdisk-0.8.10/COPYING
/usr/share/doc/gdisk-0.8.10/README
/usr/share/doc/gdisk-0.8.10/gdisk_test.sh
/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.x86_64
on Amazon Linux 2 using yum.