Purwo Widodo

Software / Back-End Engineer with 3+ years of experience

Install Cmake v3.8.0 di Ubuntu 16.04.x

23 Jun 2022 » linux

Hapus atau uninstall cmake yang terinstall pada linux OS.

$ 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

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

Terakhir cek versi cmake, pastikan versi nya sudah betul.

$ cmake --version