Linux

[CentOS] cmake 최신버전 설치 및 업데이트

cho2cee 2021. 3. 31. 14:58

1. 홈페이지에서 최신버전 확인 

https://cmake.org/download/

 

Download | CMake

Current development distribution Each night binaries are created as part of the testing process. Other than passing all of the tests in CMake, this version of CMake should not be expected to work in a production environment. It is being produced so that us

cmake.org

✓ 글 작성 시 최신 버전인 3.20.0으로 설치

# wget https://github.com/Kitware/CMake/releases/download/v3.20.0/cmake-3.20.0.tar.gz

 

2. 압축 해제 및 설치

# tar -xvzf cmake-3.20.0
# cd cmake-3.20.0
# ./bootstrap 
# make 
# make install 

 

3. 버전 확인

# cmake --version