How To Install xfsprogs on AlmaLinux 8

In this tutorial we learn how to install xfsprogs in AlmaLinux 8. xfsprogs is Utilities for managing the XFS filesystem

Introduction

In this tutorial we learn how to install xfsprogs on AlmaLinux 8.

What is xfsprogs

A set of commands to use the XFS filesystem, including mkfs.xfs. XFS is a high performance journaling filesystem which originated on the SGI IRIX platform. It is completely multi-threaded, can support large files and large filesystems, extended attributes, variable block sizes, is extent based, and makes extensive use of Btrees (directories, extents, free space) to aid both performance and scalability. This implementation is on-disk compatible with the IRIX version of XFS.

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

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

sudo dnf -y install xfsprogs

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

sudo yum -y install xfsprogs

How To Uninstall xfsprogs on AlmaLinux 8

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

sudo dnf remove xfsprogs

References

Summary

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