Questions about: gcc

I wish to install gcc 4. 7 so that I can use some c++11 features. I downloaded the source, ran
Thank you for asking this question, it helped me a lot to recall all the stuff regarding Ubuntu. If you simply install GCC 4. 9
I recently had the need to install a newer version of the g++ compiler on Ubuntu 12. 04 LTS. I documented the approach here
I want to make sure before I download anything unnecessary or do something stupid. Currently I'm using Code::Blocks IDE (nightly build, svn 8982), and my compiler is GCC 4. 4
First erased the current update-alternatives setup for gcc and g++: sudo update-alternatives --remove-all gcc sudo update-alternatives --remove-all g++ Install Packages It seems that both gcc-4. 3 and gcc-4. 4 are installed after install build-essent