Last active
May 31, 2018 05:35
-
-
Save Angeart/6615a54d568b4fe4cf98d88f5b305551 to your computer and use it in GitHub Desktop.
setup devenv on aws ubuntu16.04
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
| https://cmake.org/files/v3.11/cmake-3.11.1-Linux-x86_64.sh | |
| sudo mkdir /opt/cmake | |
| sudo sh cmake-3.11.1-Linux-x86_64.sh --prefix=/opt/cmake --skip-license | |
| sudo update-alternatives --install /usr/bin/cmake cmake /opt/cmake/cmake-3.11.2-Linux-x86_64/bin/cmake 1 --force |
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
| sudo add-apt-repository ppa:jonathonf/gcc-7.2 | |
| sudo apt-get update | |
| sudo apt-get install gcc-7 g++-7 | |
| sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 \ | |
| --slave /usr/bin/g++ g++ /usr/bin/g++-7 | |
| sudo update-alternatives --config gcc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment