Add to Favourites Add to Favourites    Print this Article Print this Article

How to install cmake

Some newer services require cmake to be compiled, for example: MySQL 5.6.

We recommend trying to use your system's package manager to install cmake on your system:


yum install cmake


apt-get install cmake


pkg_add -r cmake

However, if your package manager isn't working, you can still install cmake from source:

cd /root
tar xzf cmake-2.8.11.tar.gz
cd cmake-2.8.11
make install

which should install the cmake binary into /usr/local/bin/cmake, eg:

root@server~# /usr/local/bin/cmake --version
cmake version 2.8.11

Related errors

Extracting mysql-5.6.29.tar.gz ...
Inconsistency detected by dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!

Was this answer helpful?

Also Read