How To Install gfs2-utils.x86_64 on Amazon Linux 2

In this tutorial we learn how to install gfs2-utils.x86_64 in Amazon Linux 2. gfs2-utils.x86_64 is Utilities for managing the global file system (GFS2)

Introduction

In this tutorial we learn how to install gfs2-utils.x86_64 on Amazon Linux 2.

What is gfs2-utils.x86_64

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

We can use yum to install gfs2-utils.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install gfs2-utils.x86_64.

Install gfs2-utils.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install gfs2-utils.x86_64 using yum by running the following command:

sudo yum -y install gfs2-utils.x86_64

How To Uninstall gfs2-utils.x86_64 on Amazon Linux 2

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

sudo yum remove gfs2-utils.x86_64

gfs2-utils.x86_64 Package Contents on Amazon Linux 2

/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-3.1.10
/usr/share/doc/gfs2-utils-3.1.10/COPYING.applications
/usr/share/doc/gfs2-utils-3.1.10/COPYING.libraries
/usr/share/doc/gfs2-utils-3.1.10/COPYRIGHT
/usr/share/doc/gfs2-utils-3.1.10/README.contributing
/usr/share/doc/gfs2-utils-3.1.10/README.licence
/usr/share/doc/gfs2-utils-3.1.10/README.tests
/usr/share/doc/gfs2-utils-3.1.10/gfs2.txt
/usr/share/doc/gfs2-utils-3.1.10/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.x86_64 on Amazon Linux 2 using yum.