How To Install memcached.x86_64 on Amazon Linux 2

In this tutorial we learn how to install memcached.x86_64 in Amazon Linux 2. memcached.x86_64 is High Performance, Distributed Memory Object Cache

Introduction

In this tutorial we learn how to install memcached.x86_64 on Amazon Linux 2.

What is memcached.x86_64

memcached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.

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

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

sudo yum -y install memcached.x86_64

How To Uninstall memcached.x86_64 on Amazon Linux 2

To uninstall only the memcached.x86_64 package we can use the following command:

sudo yum remove memcached.x86_64

memcached.x86_64 Package Contents on Amazon Linux 2

/etc/sysconfig/memcached
/usr/bin/memcached
/usr/bin/memcached-tool
/usr/lib/systemd/system/memcached.service
/usr/share/doc/memcached-1.4.15
/usr/share/doc/memcached-1.4.15/AUTHORS
/usr/share/doc/memcached-1.4.15/CONTRIBUTORS
/usr/share/doc/memcached-1.4.15/COPYING
/usr/share/doc/memcached-1.4.15/ChangeLog
/usr/share/doc/memcached-1.4.15/NEWS
/usr/share/doc/memcached-1.4.15/README.md
/usr/share/doc/memcached-1.4.15/protocol.txt
/usr/share/doc/memcached-1.4.15/readme.txt
/usr/share/doc/memcached-1.4.15/threads.txt
/usr/share/man/man1/memcached-tool.1.gz
/usr/share/man/man1/memcached.1.gz

References

Summary

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