How To Install xfsprogs-devel on AlmaLinux 8

In this tutorial we learn how to install xfsprogs-devel in AlmaLinux 8. xfsprogs-devel is XFS filesystem-specific headers

Introduction

In this tutorial we learn how to install xfsprogs-devel on AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove xfsprogs-devel

References

Summary

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