The conversation between human and AI assistant.
How do I install GCC 4.9.0 in Ubuntu 14.04 LTS to compile C++?
Alright, I just did that. What do I do next?
Now you need to set GCC 4.9 as your default compiler. Please type "sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9". After that, type "sudo update-alternatives --config gcc" to select gcc-4.9 as the default.