Created
January 18, 2019 00:19
-
-
Save gojimmypi/615f4ff363592fd743fa1e04bd0127cb to your computer and use it in GitHub Desktop.
cmake-3.13.3 install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Needs following commands if not super user.
sudo ./configure
sudo make