Skip to content

Instantly share code, notes, and snippets.

@njligames
Created August 18, 2018 02:50
Show Gist options
  • Save njligames/eb54ccc339b53c48318cedc1dddbd2ae to your computer and use it in GitHub Desktop.
Save njligames/eb54ccc339b53c48318cedc1dddbd2ae to your computer and use it in GitHub Desktop.
install and build cmake
#/usr/bin/bash
cver=3.10.0
wd=/tmp
wget -nc -P $wd https://cmake.org/files/v${cver:0:4}/cmake-$cver.tar.gz
cd $wd
tar -xf cmake-$cver.tar.gz
cd cmake-$cver
./configure
make -j8
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment