How To Install xfsprogs on CentOS 7

In this tutorial we learn how to install xfsprogs on CentOS 7. xfsprogs is Utilities for managing the XFS filesystem

Introduction

In this tutorial we learn how to install xfsprogs on CentOS 7.

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. 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.

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

Install xfsprogs on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install xfsprogs

Install xfsprogs on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install xfsprogs

How To Uninstall xfsprogs on CentOS 7

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 CentOS 7 using yum and dnf.