How To Install xfsprogs on CentOS 8

xfsprogs is Utilities for managing the XFS filesystem Utilities for managing the XFS filesystem

Introduction

In this tutorial we learn how to install xfsprogs on CentOS 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. xfsprogs 5.0.0 8.el8 x86_64 1.1 M xfsprogs-5.0.0-8.el8.src.rpm baseos Utilities for managing the XFS filesystem https GPL+ and LGPLv2+ 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install xfsprogs.

Install xfsprogs on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install xfsprogs

Install xfsprogs on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8

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

sudo dnf remove xfsprogs

xfsprogs Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/af82982e3e89f1e5cc81a9d87ebce3516b62dd
/usr/lib/.build-id/11
/usr/lib/.build-id/11/8d43984f52d2d4bcf6c9b8152080d9be136363
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/3abdc6492104cd3c78555922474ace5f34f0ed
/usr/lib/.build-id/31
/usr/lib/.build-id/31/c835013f6da09e2cbe31a4ecbd4444fa4491fa
/usr/lib/.build-id/3f
/usr/lib/.build-id/3f/77945828385cd940e88680ff528411d45ed654
/usr/lib/.build-id/70
/usr/lib/.build-id/70/3e9376f6fa5601bfc6c497cc776427e962bef8
/usr/lib/.build-id/86
/usr/lib/.build-id/86/efbd784588e12ae0a10020e341074504f8b509
/usr/lib/.build-id/93
/usr/lib/.build-id/93/fcadc77d88d415d920bdca7a276d838aa60f5a
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/f7712be1664652f53836638c1dc8bde3e217d5
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/22b6f99d66ae8a772b7f9d162a06f54043d8d2
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/41b7bb21668d0f7c7bcdcb06b20b906976dad5
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/7129ac682fb8c23ed3ae737c3f4db81a0a13ea
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/c12cc2635491f0cd2b4224873157d617e35b3f
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/7467d9618929e289554346e09d147d5805364c
/usr/lib/libhandle.so.1
/usr/lib/libhandle.so.1.0.3
/usr/sbin/fsck.xfs
/usr/sbin/mkfs.xfs
/usr/sbin/xfs_admin
/usr/sbin/xfs_bmap
/usr/sbin/xfs_copy
/usr/sbin/xfs_db
/usr/sbin/xfs_estimate
/usr/sbin/xfs_freeze
/usr/sbin/xfs_fsr
/usr/sbin/xfs_growfs
/usr/sbin/xfs_info
/usr/sbin/xfs_io
/usr/sbin/xfs_logprint
/usr/sbin/xfs_mdrestore
/usr/sbin/xfs_metadump
/usr/sbin/xfs_mkfile
/usr/sbin/xfs_ncheck
/usr/sbin/xfs_quota
/usr/sbin/xfs_repair
/usr/sbin/xfs_rtcp
/usr/sbin/xfs_spaceman
/usr/share/doc/xfsprogs
/usr/share/doc/xfsprogs/CHANGES
/usr/share/doc/xfsprogs/README
/usr/share/locale/de/LC_MESSAGES/xfsprogs.mo
/usr/share/locale/pl/LC_MESSAGES/xfsprogs.mo
/usr/share/man/man5/projects.5.gz
/usr/share/man/man5/projid.5.gz
/usr/share/man/man5/xfs.5.gz
/usr/share/man/man8/fsck.xfs.8.gz
/usr/share/man/man8/mkfs.xfs.8.gz
/usr/share/man/man8/xfs_admin.8.gz
/usr/share/man/man8/xfs_bmap.8.gz
/usr/share/man/man8/xfs_copy.8.gz
/usr/share/man/man8/xfs_db.8.gz
/usr/share/man/man8/xfs_estimate.8.gz
/usr/share/man/man8/xfs_freeze.8.gz
/usr/share/man/man8/xfs_fsr.8.gz
/usr/share/man/man8/xfs_growfs.8.gz
/usr/share/man/man8/xfs_info.8.gz
/usr/share/man/man8/xfs_io.8.gz
/usr/share/man/man8/xfs_logprint.8.gz
/usr/share/man/man8/xfs_mdrestore.8.gz
/usr/share/man/man8/xfs_metadump.8.gz
/usr/share/man/man8/xfs_mkfile.8.gz
/usr/share/man/man8/xfs_ncheck.8.gz
/usr/share/man/man8/xfs_quota.8.gz
/usr/share/man/man8/xfs_repair.8.gz
/usr/share/man/man8/xfs_rtcp.8.gz
/usr/share/man/man8/xfs_spaceman.8.gz
/usr/lib/.build-id
/usr/lib/.build-id/17
/usr/lib/.build-id/17/203deed42741fa2ee18ec84fa7cced5b607381
/usr/lib/.build-id/21
/usr/lib/.build-id/21/408b6c33962cd7c9ed53afaadd9f52f297477f
/usr/lib/.build-id/28
/usr/lib/.build-id/28/619d47e65062f25451990099d15e479808dd7b
/usr/lib/.build-id/42
/usr/lib/.build-id/42/4e65ea30e11212711988d20e335ba5318e5c77
/usr/lib/.build-id/48
/usr/lib/.build-id/48/4d7be9842056fb53ef13fa3b8c1419558be929
/usr/lib/.build-id/51
/usr/lib/.build-id/51/60aec5a244b28c043c43a367b5549bf9f03b70
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/44db4b0353c437f768b4ee7332f0e76f60bf8a
/usr/lib/.build-id/80
/usr/lib/.build-id/80/1e8ef95176550f400ad2661c9d8ebdfe2c614f
/usr/lib/.build-id/99
/usr/lib/.build-id/99/093ded5726ec81857741318f4d25f5b2688de2
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/cf0c5051000c92bda648a7548741cca5b9ab62
/usr/lib/.build-id/aa/f592cff563f16c9978257ef79ec9c08bf6587b
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/edd43af036a7532a7c658b8752782b7d51936f
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/3c27fe63b22ab7d897076b2ac4cf0cf3363fee
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/2689ed9e5696ccc022732991ff4a51f4717af0
/usr/lib64/libhandle.so.1
/usr/lib64/libhandle.so.1.0.3
/usr/sbin/fsck.xfs
/usr/sbin/mkfs.xfs
/usr/sbin/xfs_admin
/usr/sbin/xfs_bmap
/usr/sbin/xfs_copy
/usr/sbin/xfs_db
/usr/sbin/xfs_estimate
/usr/sbin/xfs_freeze
/usr/sbin/xfs_fsr
/usr/sbin/xfs_growfs
/usr/sbin/xfs_info
/usr/sbin/xfs_io
/usr/sbin/xfs_logprint
/usr/sbin/xfs_mdrestore
/usr/sbin/xfs_metadump
/usr/sbin/xfs_mkfile
/usr/sbin/xfs_ncheck
/usr/sbin/xfs_quota
/usr/sbin/xfs_repair
/usr/sbin/xfs_rtcp
/usr/sbin/xfs_spaceman
/usr/share/doc/xfsprogs
/usr/share/doc/xfsprogs/CHANGES
/usr/share/doc/xfsprogs/README
/usr/share/locale/de/LC_MESSAGES/xfsprogs.mo
/usr/share/locale/pl/LC_MESSAGES/xfsprogs.mo
/usr/share/man/man5/projects.5.gz
/usr/share/man/man5/projid.5.gz
/usr/share/man/man5/xfs.5.gz
/usr/share/man/man8/fsck.xfs.8.gz
/usr/share/man/man8/mkfs.xfs.8.gz
/usr/share/man/man8/xfs_admin.8.gz
/usr/share/man/man8/xfs_bmap.8.gz
/usr/share/man/man8/xfs_copy.8.gz
/usr/share/man/man8/xfs_db.8.gz
/usr/share/man/man8/xfs_estimate.8.gz
/usr/share/man/man8/xfs_freeze.8.gz
/usr/share/man/man8/xfs_fsr.8.gz
/usr/share/man/man8/xfs_growfs.8.gz
/usr/share/man/man8/xfs_info.8.gz
/usr/share/man/man8/xfs_io.8.gz
/usr/share/man/man8/xfs_logprint.8.gz
/usr/share/man/man8/xfs_mdrestore.8.gz
/usr/share/man/man8/xfs_metadump.8.gz
/usr/share/man/man8/xfs_mkfile.8.gz
/usr/share/man/man8/xfs_ncheck.8.gz
/usr/share/man/man8/xfs_quota.8.gz
/usr/share/man/man8/xfs_repair.8.gz
/usr/share/man/man8/xfs_rtcp.8.gz
/usr/share/man/man8/xfs_spaceman.8.gz

References

Summary

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