Hapus atau uninstall cmake yang terinstall pada linux OS.$ sudo apt remove cmake
$ sudo apt remove cmake
Download dulu bash script file cmake, dan copy ke folder /opt$ sudo cp cmake-3.8.0-Linux-x86_64.sh /opt $ sudo chmod +x cmake-3.8.0-Linux-x86_64.sh
$ sudo cp cmake-3.8.0-Linux-x86_64.sh /opt $ sudo chmod +x cmake-3.8.0-Linux-x86_64.sh
Jalankan script, dan buat symbolic link:$ sudo bash cmake-3.8.0-Linux-x86_64.sh $ sudo ln -s /opt/cmake-3.8.0-Linux-x86_64/bin/* /usr/local/bin
$ sudo bash cmake-3.8.0-Linux-x86_64.sh $ sudo ln -s /opt/cmake-3.8.0-Linux-x86_64/bin/* /usr/local/bin
Terakhir cek versi cmake, pastikan versi nya sudah betul.$ cmake --version
$ cmake --version