How To Install parted on Fedora 34

parted is The GNU disk partition manipulation program The GNU disk partition manipulation program

Introduction

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

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. parted 3.4 2.fc34 x86_64 593 k parted-3.4-2.fc34.src.rpm fedora The GNU disk partition manipulation program http GPLv3+ 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 34. In this tutorial we discuss both methods but you only need to choose one of method to install parted.

Install parted on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install parted using dnf by running the following command:

sudo dnf -y install parted

Install parted on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 34

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

sudo dnf remove parted

parted Package Contents on Fedora 34

/lib/libparted-fs-resize.so.0
/lib/libparted-fs-resize.so.0.0.3
/lib/libparted.so.2
/lib/libparted.so.2.0.3
/sbin/parted
/sbin/partprobe
/usr/lib/.build-id
/usr/lib/.build-id/16
/usr/lib/.build-id/16/0e313532543501ec286a1a8e7ae37f1200ad1d
/usr/lib/.build-id/61
/usr/lib/.build-id/61/872586c7701a6f0fdd69fdd2253ac16a3225b2
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/ee814a340b0e9932e5881a8a65efdb42f1ac30
/usr/lib/.build-id/99
/usr/lib/.build-id/99/acf5a919af41f258a1e038bcfcdc7124881cc9
/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
/lib64/libparted-fs-resize.so.0
/lib64/libparted-fs-resize.so.0.0.3
/lib64/libparted.so.2
/lib64/libparted.so.2.0.3
/sbin/parted
/sbin/partprobe
/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/24678b3eeb3f512d77183c447fcd4e4b58290a
/usr/lib/.build-id/48
/usr/lib/.build-id/48/d682256d0a3437fd924fb61459c795a2192719
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/ec0a96b23a12dd092694fb2e323d96c8c9c155
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/f6783d81b61e3ff4614f7545dad992b99b6557
/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 34 using yum and dnf.