uninstall older version
sudo apt-get udpate
sudo apt-get autoremove cmake
download files
wget [cmake](https://cmake.org/files/v3.9/cmake-3.9.1-Linux-x86_64.tar.gz)
unzip
tar zxvf cmake-3.9.1-Linux-x86_64.tar.gz
create soft url
mv cmake-3.9.1-Linux-x86_64 /opt/cmake-3.9.1
ln -sf /opt/cmake-3.9.1/bin/* /usr/bin/