In some cases, you might want to enable some of the memcached features that have to be baked-in during the compile time of the program. In this recipe, we will learn how to compile memcached from a source on Ubuntu
We will install the requirements of the package by using
sudo apt-get install g++ make libevent-dev
This installed the C++ compiler , make, and the libevent library headers needed to compile memcached.
curl -O --location http://memcached.org/latest mv latest memcached-latest.tar.gz tar vxzf memcached-latest.tar.gz
cd memcached-* ./configure && ...