OS is Ubuntu 10.04.
I need to compile some C++ code with -std=c++0x flag. But compiling doesn't work because I need 4.6.1 version.
Now, when I go to Gnu's ftp, I see two different packages:
gcc-4.6.1
gcc-g++-4.6.1
Knowing that I need to compile C++0x code, which one should I download, and how do I install it/them?
I already installed these libraries (gmp, mpc and mpfr).

gcc-g++first. Then see what it says it needs in order to install. – David Schwartz Oct 20 '11 at 20:05