#!/bin/bash


sudo apt-get -y remove memcached
sudo apt-get install libevent-dev
sudo apt-get install libsasl2-dev
wget https://memcached.org/files/memcached-1.5.22.tar.gz
tar -zxvf memcached-1.5.22.tar.gz
cd memcached-1.5.22
./configure --enable-sasl
make

#!/bin/bash

sudo apt-get -y remove memcached
sudo apt-get install libevent-dev
sudo apt-get install libsasl2-dev
wget https://memcached.org/files/memcached-1.5.22.tar.gz
tar -zxvf memcached-1.5.22.tar.gz
cd memcached-1.5.22
./configure --enable-sasl
make
sudo mv memcached /usr/local/bin/

Put memcached executable on the PATH
Put memcached executable on the PATH
