How To Install gfs2-utils on CentOS 8

gfs2-utils is Utilities for managing the global file system (GFS2)

Introduction

In this tutorial we learn how to install gfs2-utils on CentOS 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 CentOS 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 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 gfs2-utils using dnf by running the following command:

sudo dnf -y install gfs2-utils

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

sudo yum -y install gfs2-utils

How To Uninstall gfs2-utils on CentOS 8

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

sudo dnf remove gfs2-utils

gfs2-utils Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/47
/usr/lib/.build-id/47/c03130cc9d4cb2298dd2d82e47926fdd2d82fd
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/eb6fad0a427b2100bf87310f59f0b311e4338c
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/d3b6d53fcdfccbf53917dad2b330a63cde6f95
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/688b9577a953c4a6afccded0989a8ff4da41ca
/usr/lib/.build-id/68
/usr/lib/.build-id/68/b41ef10c9e123c911947eb270e333475f7d0e8
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/4cda76b0f4d5cedf09dbae799a3bb2092368da
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/2b07690e8b852074a8f1f6fbc42a041e57ddb7
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/dfeca293696b06b38926ac1f8b9d4230f40b04
/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 CentOS 8 using yum and dnf.