I use Centos & WHM.
Here is how to install memcached (not memcache) using command line.
First, installing memcached
wget http://memcached.org/latest
tar -zxvf memcached-1.x.x.tar.gz
cd memcached-1.x.x
./configure && make && make test && sudo make install