Last active
August 31, 2022 14:35
-
-
Save v0112358/1a85755046ae07fb2a660df60a037059 to your computer and use it in GitHub Desktop.
Install Cmake 3.11 CentOS 7.x
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
afterwards may be necessary to run
hash -rforcmake --versionto run properly: https://stackoverflow.com/a/46805870/1080804