How To Install xfsprogs-devel on Rocky Linux 8

In this tutorial we learn how to install xfsprogs-devel on Rocky Linux 8. xfsprogs-devel is XFS filesystem-specific headers

Introduction

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

What is xfsprogs-devel

xfsprogs-devel contains the header files needed to develop XFS filesystem-specific programs. You should install xfsprogs-devel if you want to develop XFS filesystem-specific programs, If you install xfsprogs-devel, you’ll also want to install xfsprogs.

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

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

sudo dnf -y install xfsprogs-devel

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

sudo yum -y install xfsprogs-devel

How To Uninstall xfsprogs-devel on Rocky Linux 8

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

sudo dnf remove xfsprogs-devel

xfsprogs-devel Package Contents on Rocky Linux 8

/usr/include/xfs
/usr/include/xfs/handle.h
/usr/include/xfs/jdm.h
/usr/include/xfs/linux.h
/usr/include/xfs/xfs.h
/usr/include/xfs/xfs_arch.h
/usr/include/xfs/xfs_da_format.h
/usr/include/xfs/xfs_format.h
/usr/include/xfs/xfs_fs.h
/usr/include/xfs/xfs_log_format.h
/usr/include/xfs/xfs_types.h
/usr/include/xfs/xqm.h
/usr/lib/libhandle.so
/usr/share/man/man2/ioctl_xfs_scrub_metadata.2.gz
/usr/share/man/man3/attr_list_by_handle.3.gz
/usr/share/man/man3/attr_multi_by_handle.3.gz
/usr/share/man/man3/fd_to_handle.3.gz
/usr/share/man/man3/free_handle.3.gz
/usr/share/man/man3/fssetdm_by_handle.3.gz
/usr/share/man/man3/getparentpaths_by_handle.3.gz
/usr/share/man/man3/getparents_by_handle.3.gz
/usr/share/man/man3/handle_to_fshandle.3.gz
/usr/share/man/man3/open_by_handle.3.gz
/usr/share/man/man3/path_to_fshandle.3.gz
/usr/share/man/man3/path_to_handle.3.gz
/usr/share/man/man3/readlink_by_handle.3.gz
/usr/share/man/man3/xfsctl.3.gz
/usr/include/xfs
/usr/include/xfs/handle.h
/usr/include/xfs/jdm.h
/usr/include/xfs/linux.h
/usr/include/xfs/xfs.h
/usr/include/xfs/xfs_arch.h
/usr/include/xfs/xfs_da_format.h
/usr/include/xfs/xfs_format.h
/usr/include/xfs/xfs_fs.h
/usr/include/xfs/xfs_log_format.h
/usr/include/xfs/xfs_types.h
/usr/include/xfs/xqm.h
/usr/lib64/libhandle.so
/usr/share/man/man2/ioctl_xfs_scrub_metadata.2.gz
/usr/share/man/man3/attr_list_by_handle.3.gz
/usr/share/man/man3/attr_multi_by_handle.3.gz
/usr/share/man/man3/fd_to_handle.3.gz
/usr/share/man/man3/free_handle.3.gz
/usr/share/man/man3/fssetdm_by_handle.3.gz
/usr/share/man/man3/getparentpaths_by_handle.3.gz
/usr/share/man/man3/getparents_by_handle.3.gz
/usr/share/man/man3/handle_to_fshandle.3.gz
/usr/share/man/man3/open_by_handle.3.gz
/usr/share/man/man3/path_to_fshandle.3.gz
/usr/share/man/man3/path_to_handle.3.gz
/usr/share/man/man3/readlink_by_handle.3.gz
/usr/share/man/man3/xfsctl.3.gz

References

Summary

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