ubuntu 12.04 install gcc 4.8

http://askubuntu.com/questions/271388/how-to-install-gcc-4-8-in-ubuntu-12-04-from-the-terminal

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-4.8
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50


posted @ 2014-03-22 14:14  庚武  Views(235)  Comments(0Edit  收藏  举报