How To Install libmemcached.i686 on Amazon Linux 2

In this tutorial we learn how to install libmemcached.i686 in Amazon Linux 2. libmemcached.i686 is Client library and command line tools for memcached server

Introduction

In this tutorial we learn how to install libmemcached.i686 on Amazon Linux 2.

What is libmemcached.i686

libmemcached is a C/C++ client library and tools for the memcached server (http on memory usage, and provide full access to server side methods. It also implements several command line tools memaslap Load testing and benchmarking a server memcapable Checking a Memcached server capibilities and compatibility memcat Copy the value of a key to standard output memcp Copy data to a server memdump Dumping your server memerror Translate an error code to a string memexist Check for the existance of a key memflush Flush the contents of your servers memparse Parse an option string memping Test to see if a server is available. memrm Remove a key(s) from the server memslap Generate testing loads on a memcached cluster memstat Dump the stats of your servers to standard output memtouch Touches a key

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

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

sudo yum -y install libmemcached.i686

How To Uninstall libmemcached.i686 on Amazon Linux 2

To uninstall only the libmemcached.i686 package we can use the following command:

sudo yum remove libmemcached.i686

libmemcached.i686 Package Contents on Amazon Linux 2

/usr/bin/memaslap
/usr/bin/memcapable
/usr/bin/memcat
/usr/bin/memcp
/usr/bin/memdump
/usr/bin/memerror
/usr/bin/memexist
/usr/bin/memflush
/usr/bin/memparse
/usr/bin/memping
/usr/bin/memrm
/usr/bin/memslap
/usr/bin/memstat
/usr/bin/memtouch
/usr/lib/libhashkit.so.2
/usr/lib/libhashkit.so.2.0.0
/usr/lib/libmemcached.so.11
/usr/lib/libmemcached.so.11.0.0
/usr/lib/libmemcachedprotocol.so.0
/usr/lib/libmemcachedprotocol.so.0.0.0
/usr/lib/libmemcachedutil.so.2
/usr/lib/libmemcachedutil.so.2.0.0
/usr/share/doc/libmemcached-1.0.16
/usr/share/doc/libmemcached-1.0.16/AUTHORS
/usr/share/doc/libmemcached-1.0.16/COPYING
/usr/share/doc/libmemcached-1.0.16/ChangeLog
/usr/share/doc/libmemcached-1.0.16/README
/usr/share/doc/libmemcached-1.0.16/THANKS
/usr/share/doc/libmemcached-1.0.16/TODO
/usr/share/man/man1/memaslap.1.gz
/usr/share/man/man1/memcapable.1.gz
/usr/share/man/man1/memcat.1.gz
/usr/share/man/man1/memcp.1.gz
/usr/share/man/man1/memdump.1.gz
/usr/share/man/man1/memerror.1.gz
/usr/share/man/man1/memexist.1.gz
/usr/share/man/man1/memflush.1.gz
/usr/share/man/man1/memparse.1.gz
/usr/share/man/man1/memping.1.gz
/usr/share/man/man1/memrm.1.gz
/usr/share/man/man1/memslap.1.gz
/usr/share/man/man1/memstat.1.gz
/usr/share/man/man1/memtouch.1.gz

References

Summary

In this tutorial we learn how to install libmemcached.i686 on Amazon Linux 2 using yum.