Created
February 26, 2015 20:25
-
-
Save guillermoroblesjr/39164a814e8266f47707 to your computer and use it in GitHub Desktop.
Installing/Updating Cmake with Ubuntu or LinuxMint
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
| # From: http://www.cmake.org/pipermail/cmake/2013-February/053649.html | |
| # This will create a directory named "Support" in your home folder, download | |
| # and extract CMake 2.8.10. Finally it invokes cmake with the "-version" | |
| # param to check that cmake run. | |
| cd && mkdir Support && cd Support && \ | |
| wget http://www.cmake.org/files/v2.8/cmake-2.8.10.2-Linux-i386.tar.gz && \ | |
| tar -xzvf cmake-2.8.10.2-Linux-i386.tar.gz && \ | |
| ./cmake-2.8.10.2-Linux-i386/bin/cmake -version | |
| # You can then create symlinks into your /usr/local/bin folder to ensure you | |
| # could simply call cmake, ctest, ... without having to specify the full | |
| # path. | |
| sudo ln -s ~/Support/cmake-2.8.10.2-Linux-i386/bin/cmake /usr/local/bin/cmake | |
| sudo ln -s ~/Support/cmake-2.8.10.2-Linux-i386/bin/ccmake /usr/local/bin/ccmake | |
| sudo ln -s ~/Support/cmake-2.8.10.2-Linux-i386/bin/cpack /usr/local/bin/cpack | |
| sudo ln -s ~/Support/cmake-2.8.10.2-Linux-i386/bin/ctest /usr/local/bin/ctest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment