Skip to content

Instantly share code, notes, and snippets.

View AvinashAvuthu's full-sized avatar

Avuthu Avinash AvinashAvuthu

View GitHub Profile
@AvinashAvuthu
AvinashAvuthu / gist:8f2f160f20404b7b3dbc5759eff5e814
Created April 6, 2020 12:08 — forked from ibogun/gist:ec0a4005c25df57a1b9d
Installing gcc 4.9 & g++ 4.9 on Ubuntu 12.04 OR Ubuntu 14.04
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-4.9
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 50
sudo apt-get install g++-4.9
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 50