Skip to content

Instantly share code, notes, and snippets.

@nnop
nnop / gcc 5 on ubuntu 14.04
Created Mar 10, 2017 — forked from beci/gcc 5 on ubuntu 14.04
use gcc 5.x on ubuntu 14.04
View gcc 5 on ubuntu 14.04
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
You can’t perform that action at this time.