Created
August 23, 2020 06:37
-
-
Save roywei/2ff7abbd40b5dd456f3c896d198a2f48 to your computer and use it in GitHub Desktop.
This file contains 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 apt-get update && \ | |
sudo apt-get install -y software-properties-common && \ | |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test && \ | |
sudo apt-get update && \ | |
sudo apt-get install -y gcc-7 g++-7 && \ | |
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 60 && \ | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment