Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rcdevgames/b69c3caa692ccc2ea911c92f0c2e1b6c to your computer and use it in GitHub Desktop.
Save rcdevgames/b69c3caa692ccc2ea911c92f0c2e1b6c to your computer and use it in GitHub Desktop.
Install CMake on CentOS 7.

Download CMake from: https://cmake.org/download/

wget https://cmake.org/files/v3.12/cmake-3.12.3.tar.gz

Compile from source and install

tar zxvf cmake-3.*
cd cmake-3.*
./bootstrap --prefix=/usr/local
make -j$(nproc)
make install

Validate installation

cmake --version

cmake version *.*.*
CMake suite maintained and supported by Kitware (kitware.com/cmake).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment