| sudo add-apt-repository ppa:ubuntu-toolchain-r/test | |
| sudo apt-get update | |
| sudo apt-get install gcc-5 g++-5 | |
| sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5 |
hallahan
commented
Sep 19, 2016
|
|
Antttooon
commented
Oct 18, 2016
|
спасибо =) |
MagnetonBora
commented
Feb 3, 2017
|
Thanks |
rrogers
commented
Apr 24, 2017
|
This works! |
dtamez
commented
Jun 8, 2017
|
Thanks :) |
benzkji
commented
Jun 24, 2017
|
still works for me on ubuntu 17 / zesty. ppa is not even needed! |
paomian
commented
Sep 11, 2017
gcc7
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
vineeshvs commentedJun 25, 2016
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1to set first priority to gcc-5