How To Install python-gluster.noarch on Amazon Linux 2

In this tutorial we learn how to install python-gluster.noarch in Amazon Linux 2. python-gluster.noarch is GlusterFS python library

Introduction

In this tutorial we learn how to install python-gluster.noarch on Amazon Linux 2.

What is python-gluster.noarch

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 contains the python modules of GlusterFS and own gluster namespace.

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

Install python-gluster.noarch 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 python-gluster.noarch using yum by running the following command:

sudo yum -y install python-gluster.noarch

How To Uninstall python-gluster.noarch on Amazon Linux 2

To uninstall only the python-gluster.noarch package we can use the following command:

sudo yum remove python-gluster.noarch

python-gluster.noarch Package Contents on Amazon Linux 2

/usr/lib/python2.7/site-packages/gluster/__init__.py
/usr/lib/python2.7/site-packages/gluster/__init__.pyc
/usr/lib/python2.7/site-packages/gluster/__init__.pyo
/usr/lib/python2.7/site-packages/gluster/cliutils
/usr/lib/python2.7/site-packages/gluster/cliutils/__init__.py
/usr/lib/python2.7/site-packages/gluster/cliutils/__init__.pyc
/usr/lib/python2.7/site-packages/gluster/cliutils/__init__.pyo
/usr/lib/python2.7/site-packages/gluster/cliutils/cliutils.py
/usr/lib/python2.7/site-packages/gluster/cliutils/cliutils.pyc
/usr/lib/python2.7/site-packages/gluster/cliutils/cliutils.pyo

References

Summary

In this tutorial we learn how to install python-gluster.noarch on Amazon Linux 2 using yum.