How to install cmake


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » System Level

How to install cmakeLast Modified: May 29, 2013, 1:21 am
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!

2003 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST