Skip to content

Instantly share code, notes, and snippets.

@cbarraco
Last active January 29, 2019 15:28
Show Gist options
  • Save cbarraco/5e5a6708d4c717bf225040326bbad83b to your computer and use it in GitHub Desktop.
Save cbarraco/5e5a6708d4c717bf225040326bbad83b to your computer and use it in GitHub Desktop.
Downloads, compiles, and installs the latest version of CMake. Replace 4 with however many CPU cores the machine has. If using the Raspberry Pi, use 2 instead of 4 because you may run out of memory.
git clone https://github.com/Kitware/CMake.git
cd CMake
./bootstrap --parallel=4
make -j 4
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment