How To Install xfsprogs on Rocky Linux 8

In this tutorial we learn how to install xfsprogs on Rocky Linux 8. xfsprogs is Utilities for managing the XFS filesystem

Introduction

In this tutorial we learn how to install xfsprogs on Rocky Linux 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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install xfsprogs.

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

sudo dnf -y install xfsprogs

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

sudo yum -y install xfsprogs

How To Uninstall xfsprogs on Rocky Linux 8

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

sudo dnf remove xfsprogs

xfsprogs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/08
/usr/lib/.build-id/08/e3fe2914671d99675eaaf6acb84c34cec488a1
/usr/lib/.build-id/28
/usr/lib/.build-id/28/fc32a504f9fe6cf7088145b0ae7f59a3e5ec32
/usr/lib/.build-id/65
/usr/lib/.build-id/65/06fa098d39d8fff02898cc6f8510530e694876
/usr/lib/.build-id/66
/usr/lib/.build-id/66/98df1f6425cfedaa6f32a2e8ec958f1e76fae1
/usr/lib/.build-id/73
/usr/lib/.build-id/73/aa42d121ea5a8bd50edb3b1a9f588a5b3e43df
/usr/lib/.build-id/82
/usr/lib/.build-id/82/5e374fef03c473ab26a1eb35b58856c5a02113
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/351c34338c64591d5963b194ddcf0c25bb4ad2
/usr/lib/.build-id/91
/usr/lib/.build-id/91/22a22a9e830cbb9e8786cdcdf5a63d32e368b4
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/deff252cfe9f057c282b3d115ac264a4b17675
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/0a7b9edfcc8225acec6898e4ce5f96691d8efa
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/78eabff035d7062f4117dbda274f236896c22a
/usr/lib/.build-id/db
/usr/lib/.build-id/db/d805c3a08a4e8b65f73be6ad9f6e960b475902
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/e894a5a0c36fed9c7e563ce44570608e204d2a
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/12856ffcec7af1e4bf1638a598fea09fd96b8c
/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/0c
/usr/lib/.build-id/0c/4fe658d16bcef82a2cc6cda90e2f9d12b1d4dc
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/4f73c67545a9397e1a40f1da404c4551a1a783
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/3f1bdd8c73eaefcd5f745ad1b921eaab86d5bf
/usr/lib/.build-id/2c/cb4be84a74102f74cedcc64217ea33c225af33
/usr/lib/.build-id/77
/usr/lib/.build-id/77/945fadf23c14c4ff3e238a73c8decc56d9c30a
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/ada577346067c6bd9314341ebd1a05649b9e1a
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/76e3bcb82ece2dd2125890e21ac1831b169392
/usr/lib/.build-id/94
/usr/lib/.build-id/94/0bee2486ed3fee357e6cea66f9b95cbe37fad3
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/52ca76b18944f2410aa30071ec69be4629058b
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/6fb1ce9de84a16b625ff5bedf5a8c26b8ab468
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/14d5d113149dc846db2efcb862c40332568198
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/4809da6c6a26d059b7a846c408f72f7dd0392a
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/d032ab60ac6f3f65d468c38176355c1813eec2
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/fb566f57e5f33c413092249b0d63a657bc084e
/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 Rocky Linux 8 using yum and dnf.