Created
March 21, 2018 22:03
-
-
Save andersonfraga/74f57527d7397a1ec2a35aace79543b7 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
; vim /etc/apt/sources.list | |
deb http://http.debian.net/debian/ jessie main non-free contrib | |
deb-src http://http.debian.net/debian/ jessie main non-free contrib | |
; terminal | |
sudo apt update | |
sudo apt install gcc-4.8 g++-4.8 | |
; vim /etc/apt/sources.list | |
#deb http://http.debian.net/debian/ jessie main non-free contrib | |
#deb-src http://http.debian.net/debian/ jessie main non-free contrib | |
; terminal | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 1 --slave /usr/bin/g++ g++ /usr/bin/g++-6 | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 2 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8 | |
sudo update-alternatives --config gcc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment