How To Install python2-louis.noarch on Amazon Linux 2

In this tutorial we learn how to install python2-louis.noarch in Amazon Linux 2. python2-louis.noarch is Python 2 language bindings for liblouis

Introduction

In this tutorial we learn how to install python2-louis.noarch on Amazon Linux 2.

What is python2-louis.noarch

This package provides Python 2 language bindings for liblouis.

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

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

sudo yum -y install python2-louis.noarch

How To Uninstall python2-louis.noarch on Amazon Linux 2

To uninstall only the python2-louis.noarch package we can use the following command:

sudo yum remove python2-louis.noarch

python2-louis.noarch Package Contents on Amazon Linux 2

/usr/lib/python2.7/site-packages/louis
/usr/lib/python2.7/site-packages/louis/__init__.py
/usr/lib/python2.7/site-packages/louis/__init__.pyc
/usr/lib/python2.7/site-packages/louis/__init__.pyo
/usr/share/doc/python2-louis-2.6.2
/usr/share/doc/python2-louis-2.6.2/README

References

Summary

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