CMake version upgrade
1, the URL https://cmake.org/files/v3.1/-3.1.0.tar.gz download cmake
2, decompression
3, execute ./configure
4, execute the make
5, execute sudo make install
6, Update-Alternatives --install execute sudo / usr / bin / cmake cmake / usr / local / bin / cmake 1 --force
7, run cmake --version see the version number
Description: Step 6 update-alternatives command processing linux system software versions for handover.
---------------------
Original link: https: //blog.csdn.net/walkerfan/article/details/90813971