How To Install parted on Fedora 36

In this tutorial we learn how to install parted in Fedora 36. parted is The GNU disk partition manipulation program

Introduction

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

What is parted

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

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

sudo dnf -y install parted

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

sudo yum -y install parted

How To Uninstall parted on Fedora 36

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

sudo dnf remove parted

parted Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/29fd081977673e4d3cd49c314698fe18aa5ddb
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/ac729832f2850d1625e3efccb4f9f2a37a861e
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/39c8ec007d1de38d4e2fc0a9e19f70f1de4276
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/3b119d22261ba3ddd252afa682d4df23e16db2
/usr/lib64/libparted-fs-resize.so.0
/usr/lib64/libparted-fs-resize.so.0.0.3
/usr/lib64/libparted.so.2
/usr/lib64/libparted.so.2.0.3
/usr/sbin/parted
/usr/sbin/partprobe
/usr/share/doc/parted
/usr/share/doc/parted/AUTHORS
/usr/share/doc/parted/NEWS
/usr/share/doc/parted/README
/usr/share/doc/parted/THANKS
/usr/share/info/parted.info.gz
/usr/share/licenses/parted
/usr/share/licenses/parted/COPYING
/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/fur/LC_MESSAGES/parted.mo
/usr/share/locale/gl/LC_MESSAGES/parted.mo
/usr/share/locale/hu/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/ko/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 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).