How To Install pyparsing.noarch on Amazon Linux 2

In this tutorial we learn how to install pyparsing.noarch in Amazon Linux 2. pyparsing.noarch is An object-oriented approach to text processing

Introduction

In this tutorial we learn how to install pyparsing.noarch on Amazon Linux 2.

What is pyparsing.noarch

pyparsing is a module that can be used to easily and directly configure syntax definitions for any number of text parsing applications.

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

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

sudo yum -y install pyparsing.noarch

How To Uninstall pyparsing.noarch on Amazon Linux 2

To uninstall only the pyparsing.noarch package we can use the following command:

sudo yum remove pyparsing.noarch

pyparsing.noarch Package Contents on Amazon Linux 2

/usr/lib/python2.7/site-packages/pyparsing-1.5.6-py2.7.egg-info
/usr/lib/python2.7/site-packages/pyparsing.py
/usr/lib/python2.7/site-packages/pyparsing.pyc
/usr/lib/python2.7/site-packages/pyparsing.pyo
/usr/share/doc/pyparsing-1.5.6
/usr/share/doc/pyparsing-1.5.6/CHANGES
/usr/share/doc/pyparsing-1.5.6/LICENSE
/usr/share/doc/pyparsing-1.5.6/README

References

Summary

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