How To Install gfs2-utils on Rocky Linux 8

In this tutorial we learn how to install gfs2-utils on Rocky Linux 8. gfs2-utils is Utilities for managing the global file system (GFS2)

Introduction

In this tutorial we learn how to install gfs2-utils on Rocky Linux 8.

What is gfs2-utils

The gfs2-utils package contains a number of utilities for creating, checking, modifying, and correcting inconsistencies in GFS2 file systems.

We can use yum or dnf to install gfs2-utils on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install gfs2-utils.

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

sudo dnf -y install gfs2-utils

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

sudo yum -y install gfs2-utils

How To Uninstall gfs2-utils on Rocky Linux 8

To uninstall only the gfs2-utils package we can use the following command:

sudo dnf remove gfs2-utils

gfs2-utils Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/a63a9291b14dac669d2009b3b7914890a5fee1
/usr/lib/.build-id/67
/usr/lib/.build-id/67/1a3880d9d8acbd7e9d3bbd83a9aa12899508c8
/usr/lib/.build-id/76
/usr/lib/.build-id/76/a5a0d8cf3a061bfeed3265ef9751b5f576b126
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/681def9f35fa0e11debf7065ea156bcd61b5a7
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/3b3881b01b71c7ab8856e1110e0e4fa515b2d2
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/bbe90881d2e12d31e4a3274c78deedf0e823dc
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/19ffbacb86e3e793db16495c3dec875fd83913
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/c697ba6c79c25f812a783f380c1e35ae954962
/usr/lib/udev/rules.d/82-gfs2-withdraw.rules
/usr/sbin/fsck.gfs2
/usr/sbin/gfs2_convert
/usr/sbin/gfs2_edit
/usr/sbin/gfs2_grow
/usr/sbin/gfs2_jadd
/usr/sbin/gfs2_withdraw_helper
/usr/sbin/glocktop
/usr/sbin/mkfs.gfs2
/usr/sbin/tunegfs2
/usr/share/doc/gfs2-utils
/usr/share/doc/gfs2-utils/COPYING.applications
/usr/share/doc/gfs2-utils/COPYING.libraries
/usr/share/doc/gfs2-utils/COPYRIGHT
/usr/share/doc/gfs2-utils/README.contributing
/usr/share/doc/gfs2-utils/README.licence
/usr/share/doc/gfs2-utils/gfs2.txt
/usr/share/doc/gfs2-utils/journaling.txt
/usr/share/man/man5/gfs2.5.gz
/usr/share/man/man8/fsck.gfs2.8.gz
/usr/share/man/man8/gfs2_convert.8.gz
/usr/share/man/man8/gfs2_edit.8.gz
/usr/share/man/man8/gfs2_grow.8.gz
/usr/share/man/man8/gfs2_jadd.8.gz
/usr/share/man/man8/glocktop.8.gz
/usr/share/man/man8/mkfs.gfs2.8.gz
/usr/share/man/man8/tunegfs2.8.gz

References

Summary

In this tutorial we learn how to install gfs2-utils on Rocky Linux 8 using yum and dnf.