How To Install glusterfs-libs on CentOS 8

glusterfs-libs is GlusterFS common libraries

Introduction

In this tutorial we learn how to install glusterfs-libs on CentOS 8.

What is glusterfs-libs

GlusterFS is a distributed file-system capable of scaling to several petabytes. It aggregates various storage bricks over Infiniband RDMA or TCP/IP interconnect into one large parallel network file system. GlusterFS is one of the most sophisticated file systems in terms of features and extensibility. It borrows a powerful concept called Translators from GNU Hurd kernel. Much of the code in GlusterFS is in user space and easily manageable. This package provides the base GlusterFS libraries

We can use yum or dnf to install glusterfs-libs on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install glusterfs-libs.

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

sudo dnf -y install glusterfs-libs

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

sudo yum -y install glusterfs-libs

How To Uninstall glusterfs-libs on CentOS 8

To uninstall only the glusterfs-libs package we can use the following command:

sudo dnf remove glusterfs-libs

glusterfs-libs Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/baba046d122195d8d3bca25dee2a237dac5e40
/usr/lib/.build-id/28
/usr/lib/.build-id/28/e5cb14bd34c233f72327d182f06e200d27ed74
/usr/lib/.build-id/83/5741a1f82780f3e5a64398c02aecc3ce18406f
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/f6b845aeaff76033d8ad88eb33cfe215ea8f25
/usr/lib/.build-id/ea/fd1ba38b552ec37767e90f0686192dd3e893ad
/usr/lib64/libgfchangelog.so.0
/usr/lib64/libgfchangelog.so.0.0.1
/usr/lib64/libgfrpc.so.0
/usr/lib64/libgfrpc.so.0.0.1
/usr/lib64/libgfxdr.so.0
/usr/lib64/libgfxdr.so.0.0.1
/usr/lib64/libglusterfs.so.0
/usr/lib64/libglusterfs.so.0.0.1

References

Summary

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