How To Install python-repoze-lru.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install python-repoze-lru.noarch on Amazon Linux 2.
What is python-repoze-lru.noarch
repoze.lru is a LRU (least recently used) cache implementation. Keys and values that are not used frequently will be evicted from the cache faster than keys and values that are used frequently.
We can use yum to install python-repoze-lru.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install python-repoze-lru.noarch.
Install python-repoze-lru.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-repoze-lru.noarch using yum by running the following command:
sudo yum -y install python-repoze-lru.noarch
How To Uninstall python-repoze-lru.noarch on Amazon Linux 2
To uninstall only the python-repoze-lru.noarch package we can use the following command:
sudo yum remove python-repoze-lru.noarch
python-repoze-lru.noarch Package Contents on Amazon Linux 2
/usr/lib/python2.7/site-packages/repoze.lru-0.4-py2.7-nspkg.pth
/usr/lib/python2.7/site-packages/repoze.lru-0.4-py2.7.egg-info
/usr/lib/python2.7/site-packages/repoze.lru-0.4-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/repoze.lru-0.4-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/repoze.lru-0.4-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/repoze.lru-0.4-py2.7.egg-info/entry_points.txt
/usr/lib/python2.7/site-packages/repoze.lru-0.4-py2.7.egg-info/namespace_packages.txt
/usr/lib/python2.7/site-packages/repoze.lru-0.4-py2.7.egg-info/not-zip-safe
/usr/lib/python2.7/site-packages/repoze.lru-0.4-py2.7.egg-info/top_level.txt
/usr/lib/python2.7/site-packages/repoze/lru
/usr/lib/python2.7/site-packages/repoze/lru/__init__.py
/usr/lib/python2.7/site-packages/repoze/lru/__init__.pyc
/usr/lib/python2.7/site-packages/repoze/lru/__init__.pyo
/usr/lib/python2.7/site-packages/repoze/lru/tests.py
/usr/lib/python2.7/site-packages/repoze/lru/tests.pyc
/usr/lib/python2.7/site-packages/repoze/lru/tests.pyo
/usr/share/doc/python-repoze-lru-0.4
/usr/share/doc/python-repoze-lru-0.4/LICENSE.txt
/usr/share/doc/python-repoze-lru-0.4/README.txt
References
Summary
In this tutorial we learn how to install python-repoze-lru.noarch on Amazon Linux 2 using yum.