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

In this tutorial we learn how to install python-augeas.noarch in Amazon Linux 2. python-augeas.noarch is Python bindings to augeas

Introduction

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

What is python-augeas.noarch

python-augeas is a set of Python bindings around augeas.

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

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

sudo yum -y install python-augeas.noarch

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

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

sudo yum remove python-augeas.noarch

python-augeas.noarch Package Contents on Amazon Linux 2

/usr/lib/python2.7/site-packages/augeas.py
/usr/lib/python2.7/site-packages/augeas.pyc
/usr/lib/python2.7/site-packages/augeas.pyo
/usr/lib/python2.7/site-packages/python_augeas-0.5.0-py2.7.egg-info
/usr/share/doc/python-augeas-0.5.0
/usr/share/doc/python-augeas-0.5.0/AUTHORS
/usr/share/doc/python-augeas-0.5.0/COPYING
/usr/share/doc/python-augeas-0.5.0/README.txt

References

Summary

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