Skip to content

Instantly share code, notes, and snippets.

@v0112358
Last active August 31, 2022 14:35
Show Gist options
  • Save v0112358/1a85755046ae07fb2a660df60a037059 to your computer and use it in GitHub Desktop.
Save v0112358/1a85755046ae07fb2a660df60a037059 to your computer and use it in GitHub Desktop.
Install Cmake 3.11 CentOS 7.x
wget https://cmake.org/files/v3.11/cmake-3.11.0.tar.gz
tar zxvf cmake-3.11.0.tar.gz && cd cmake-3.11.0
export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/usr/local/lib64:/usr/lib64
./bootstrap
make -j$(nproc)
make install
cmake --version
@evbo
Copy link

evbo commented Aug 31, 2022

afterwards may be necessary to run hash -r for cmake --version to run properly: https://stackoverflow.com/a/46805870/1080804

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment