Installing the Dependencies
Prepare the C compiler, GNU, Make, Automake, libevent, and libevent-devel libraries needed to compile Memcached.
- Install the GNU Compiler Collection (GCC). If GCC has been installed, skip this step.
1yum -y install gcc gcc-c++ kernel-devel
Install GNU make, Automake, unzip, and Telnet. If they have been installed, skip this step.1yum -y install make automake unzip telnet
Install the third-party libraries libevent and libevent-devel.1yum -y install libevent libevent-devel
Parent topic: Configuring the Installation Environment