Skip to content

Instantly share code, notes, and snippets.

@ayghri
Created June 22, 2018 03:09
Show Gist options
  • Save ayghri/298ba0ede3f7d4500360249e44084893 to your computer and use it in GitHub Desktop.
Save ayghri/298ba0ede3f7d4500360249e44084893 to your computer and use it in GitHub Desktop.
Update CMake Ubuntu 16.04
sudo apt purge cmake -y
wget https://cmake.org/files/v3.11/cmake-3.11.3-Linux-x86_64.tar.gz -O cmake.tar.gz
tar -xvf cmake.tar.gz -C ./
cd cmake-3.11.3-Linux-x86_64
sudo cp -r bin /usr/
sudo cp -r share /usr/
sudo cp -r doc /usr/share/
sudo cp -r man /usr/share/
cd ..
rm -rf cmake
rm cmake.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment