1 2 |
cd /home wget https://cmake.org/files/v3.5/cmake-3.5.2.tar.gz --no-check-certificate |
1
|
tar -zxvf cmake-3.5.2.tar.gz |
1 2 |
cd cmake-3.5.2 ./bootstrap --prefix=/usr/local/cmake && make -j60 && make install |
1
|
vim /etc/profile
|
1
|
export PATH=/usr/local/cmake/bin:$PATH |
1
|
source /etc/profile |
1
|
cmake --version
|