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

In this tutorial we learn how to install python-memcached.noarch in Amazon Linux 2. python-memcached.noarch is A Python memcached client library

Introduction

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

What is python-memcached.noarch

This software is a 100% Python interface to the memcached memory cache daemon. It is the client side software which allows storing values in one or more, possibly remote, memcached servers. Search google for memcached for more information.

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

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

sudo yum -y install python-memcached.noarch

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

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

sudo yum remove python-memcached.noarch

python-memcached.noarch Package Contents on Amazon Linux 2

/usr/lib/python2.7/site-packages/memcache.py
/usr/lib/python2.7/site-packages/memcache.pyc
/usr/lib/python2.7/site-packages/memcache.pyo
/usr/lib/python2.7/site-packages/python_memcached-1.48-py2.7.egg-info
/usr/lib/python2.7/site-packages/python_memcached-1.48-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/python_memcached-1.48-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/python_memcached-1.48-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/python_memcached-1.48-py2.7.egg-info/top_level.txt
/usr/share/doc/python-memcached-1.48
/usr/share/doc/python-memcached-1.48/ChangeLog
/usr/share/doc/python-memcached-1.48/README

References

Summary

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