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:

CentOS

yum install cmake

Debian

apt-get install cmake

FreeBSD

pkg_add -r cmake

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

cd /root
wget http://files1.directadmin.com/services/custombuild/cmake-2.8.11.tar.gz
tar xzf cmake-2.8.11.tar.gz
cd cmake-2.8.11
./configure
make
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 ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!


Was this answer helpful?

Also Read