Last active
May 14, 2018 19:20
-
-
Save bolry/76527d753dd4b56c7cbc69e40738ad93 to your computer and use it in GitHub Desktop.
Extract new release of CMake for Linux
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
tar xf ~/Downloads/cmake-3.11.1-Linux-x86_64.tar.gz -C ~/.local/ --strip-components=1 | |
or | |
tar --extract --directory=$HOME/.local --file=$HOME/Downloads/cmake-3.11.1-Linux-x86_64.tar.gz --strip-components=1 | |
I.e., tar-file content like this | |
cmake-3.11.1-Linux-x86_64/share/cmake-3.11/completions/cpack | |
cmake-3.11.1-Linux-x86_64/bin/ctest | |
cmake-3.11.1-Linux-x86_64/bin/cmake | |
cmake-3.11.1-Linux-x86_64/bin/cmake-gui | |
cmake-3.11.1-Linux-x86_64/bin/cpack | |
cmake-3.11.1-Linux-x86_64/bin/ccmake | |
will end up under | |
~/.local/share/cmake-3.11/completions/cpack | |
~/.local/bin/ctest | |
~/.local/bin/cmake | |
~/.local/bin/cmake-gui | |
~/.local/bin/cpack | |
~/.local/bin/ccmake |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment