Skip to content

Instantly share code, notes, and snippets.

@gojimmypi
Created January 18, 2019 00:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save gojimmypi/615f4ff363592fd743fa1e04bd0127cb to your computer and use it in GitHub Desktop.
Save gojimmypi/615f4ff363592fd743fa1e04bd0127cb to your computer and use it in GitHub Desktop.
cmake-3.13.3 install
#!/bin/bash
# see https://askubuntu.com/questions/610291/how-to-install-cmake-3-2-on-ubuntu
# see https://cmake.org/download/
# sudo apt-get remove cmake
cd ~/workspace/
sudo apt-get install build-essential
wget http://www.cmake.org/files/v3.13/cmake-3.13.3.tar.gz
tar xf cmake-3.13.3.tar.gz
cd cmake-3.13.3
./configure
make
# sudo apt-get install checkinstall
# sudo checkinstall
# or
# sudo make install
# or
# sudo apt-get install cmake3
Copy link

ghost commented Jun 1, 2022

Needs following commands if not super user.

sudo ./configure
sudo make

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment