Skip to content

Instantly share code, notes, and snippets.

@Angeart
Last active May 31, 2018 05:35
Show Gist options
  • Select an option

  • Save Angeart/6615a54d568b4fe4cf98d88f5b305551 to your computer and use it in GitHub Desktop.

Select an option

Save Angeart/6615a54d568b4fe4cf98d88f5b305551 to your computer and use it in GitHub Desktop.
setup devenv on aws ubuntu16.04
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
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