How To Install parted-devel on Rocky Linux 8

In this tutorial we learn how to install parted-devel on Rocky Linux 8. parted-devel is Files for developing apps which will manipulate disk partitions

Introduction

In this tutorial we learn how to install parted-devel on Rocky Linux 8.

What is parted-devel

The GNU Parted library is a set of routines for hard disk partition manipulation. If you want to develop programs that manipulate disk partitions and filesystems using the routines provided by the GNU Parted library, you need to install this package.

We can use yum or dnf to install parted-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install parted-devel.

Install parted-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install parted-devel

Install parted-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install parted-devel

How To Uninstall parted-devel on Rocky Linux 8

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

sudo dnf remove parted-devel

parted-devel Package Contents on Rocky Linux 8

/lib/libparted-fs-resize.so
/lib/libparted.so
/lib/pkgconfig/libparted-fs-resize.pc
/lib/pkgconfig/libparted.pc
/usr/include/parted
/usr/include/parted/constraint.h
/usr/include/parted/debug.h
/usr/include/parted/device.h
/usr/include/parted/disk.h
/usr/include/parted/exception.h
/usr/include/parted/filesys.h
/usr/include/parted/geom.h
/usr/include/parted/natmath.h
/usr/include/parted/parted.h
/usr/include/parted/timer.h
/usr/include/parted/unit.h
/usr/share/doc/parted-devel
/usr/share/doc/parted-devel/API
/usr/share/doc/parted-devel/FAT
/usr/share/doc/parted-devel/TODO
/lib64/libparted-fs-resize.so
/lib64/libparted.so
/lib64/pkgconfig/libparted-fs-resize.pc
/lib64/pkgconfig/libparted.pc
/usr/include/parted
/usr/include/parted/constraint.h
/usr/include/parted/debug.h
/usr/include/parted/device.h
/usr/include/parted/disk.h
/usr/include/parted/exception.h
/usr/include/parted/filesys.h
/usr/include/parted/geom.h
/usr/include/parted/natmath.h
/usr/include/parted/parted.h
/usr/include/parted/timer.h
/usr/include/parted/unit.h
/usr/share/doc/parted-devel
/usr/share/doc/parted-devel/API
/usr/share/doc/parted-devel/FAT
/usr/share/doc/parted-devel/TODO

References

Summary

In this tutorial we learn how to install parted-devel on Rocky Linux 8 using yum and dnf.