How To Install parted.x86_64 on Amazon Linux 2

In this tutorial we learn how to install parted.x86_64 in Amazon Linux 2. parted.x86_64 is The GNU disk partition manipulation program

Introduction

In this tutorial we learn how to install parted.x86_64 on Amazon Linux 2.

What is parted.x86_64

The GNU Parted program allows you to create, destroy, resize, move, and copy hard disk partitions. Parted can be used for creating space for new operating systems, reorganizing disk usage, and copying data to new hard disks.

We can use yum to install parted.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install parted.x86_64.

Install parted.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 parted.x86_64 using yum by running the following command:

sudo yum -y install parted.x86_64

How To Uninstall parted.x86_64 on Amazon Linux 2

To uninstall only the parted.x86_64 package we can use the following command:

sudo yum remove parted.x86_64

parted.x86_64 Package Contents on Amazon Linux 2

/lib64/libparted-fs-resize.so
/lib64/libparted-fs-resize.so.0
/lib64/libparted-fs-resize.so.0.0.0
/lib64/libparted.so.2
/lib64/libparted.so.2.0.0
/sbin/parted
/sbin/partprobe
/usr/share/doc/parted-3.1
/usr/share/doc/parted-3.1/API
/usr/share/doc/parted-3.1/AUTHORS
/usr/share/doc/parted-3.1/BUGS
/usr/share/doc/parted-3.1/COPYING
/usr/share/doc/parted-3.1/ChangeLog
/usr/share/doc/parted-3.1/FAT
/usr/share/doc/parted-3.1/NEWS
/usr/share/doc/parted-3.1/README
/usr/share/doc/parted-3.1/THANKS
/usr/share/doc/parted-3.1/TODO
/usr/share/info/parted.info.gz
/usr/share/locale/ca/LC_MESSAGES/parted.mo
/usr/share/locale/cs/LC_MESSAGES/parted.mo
/usr/share/locale/da/LC_MESSAGES/parted.mo
/usr/share/locale/de/LC_MESSAGES/parted.mo
/usr/share/locale/es/LC_MESSAGES/parted.mo
/usr/share/locale/fr/LC_MESSAGES/parted.mo
/usr/share/locale/gl/LC_MESSAGES/parted.mo
/usr/share/locale/id/LC_MESSAGES/parted.mo
/usr/share/locale/it/LC_MESSAGES/parted.mo
/usr/share/locale/ja/LC_MESSAGES/parted.mo
/usr/share/locale/nl/LC_MESSAGES/parted.mo
/usr/share/locale/nn/LC_MESSAGES/parted.mo
/usr/share/locale/pl/LC_MESSAGES/parted.mo
/usr/share/locale/pt/LC_MESSAGES/parted.mo
/usr/share/locale/pt_BR/LC_MESSAGES/parted.mo
/usr/share/locale/ro/LC_MESSAGES/parted.mo
/usr/share/locale/ru/LC_MESSAGES/parted.mo
/usr/share/locale/rw/LC_MESSAGES/parted.mo
/usr/share/locale/sk/LC_MESSAGES/parted.mo
/usr/share/locale/sl/LC_MESSAGES/parted.mo
/usr/share/locale/sr/LC_MESSAGES/parted.mo
/usr/share/locale/sv/LC_MESSAGES/parted.mo
/usr/share/locale/tr/LC_MESSAGES/parted.mo
/usr/share/locale/uk/LC_MESSAGES/parted.mo
/usr/share/locale/vi/LC_MESSAGES/parted.mo
/usr/share/locale/zh_CN/LC_MESSAGES/parted.mo
/usr/share/locale/zh_TW/LC_MESSAGES/parted.mo
/usr/share/man/man8/parted.8.gz
/usr/share/man/man8/partprobe.8.gz

References

Summary

In this tutorial we learn how to install parted.x86_64 on Amazon Linux 2 using yum.