1. 卸載原有cmake : sudo apt-get --purge remove cmake
2. 搜索: find / -name cmake (將搜到的全部刪掉)
3. wget https://github.com/Kitware/CMake/releases/download/v3.16.2/cmake-3.16.2-Linux-x86_64.sh
4. sudo sh cmake-3.16.2-Linux-x86_64.sh --prefix=/usr/local --exclude-subdir
5. 校驗,重開終端輸入命令cmake --version