Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

Now that gcc 4.9 is officially released, is there an easy and convenient way to install it on Ubuntu 14.04 through the package manager (ie. apt-get)?

I would also appreciate information on how to properly configure my system to use it as its compiler.

share|improve this question

marked as duplicate by Aditya, Warren Hill, BuZZ-dEE, belacqua, Eric Carvalho Apr 23 '14 at 16:05

This question was marked as an exact duplicate of an existing question.

I was hoping for a more convenient answer now that the release is official. – Nicolas Louis Guillemot Apr 22 '14 at 16:05
That is, the process in that link seems error-prone. – Nicolas Louis Guillemot Apr 22 '14 at 16:06
No, there isn't. Check… to know why – Braiam Apr 22 '14 at 22:37
That's a shame. I was hoping for some kind of quick and convenient way to upgrade to the experimental version. Do you think I should leave this question open, or should I accept mohtaw's answer? – Nicolas Louis Guillemot Apr 22 '14 at 22:48

it's the same issue in the following link

Getting + installing gcc/g++ 4.9 on Ubuntu?

it says ,

download all these: binutils_2.24-3_amd64.deb cpp-4.9_4.9-20140218-1_amd64.deb g++-4.9_4.9-20140218-1_amd64.deb gcc-4.9_4.9-20140218-1_amd64.deb gcc-4.9-base_4.9-20140218-1_amd64.deb libasan1_4.9-20140218-1_amd64.deb libatomic1_4.9-20140218-1_amd64.deb libcilkrts5_4.9-20140218-1_amd64.deb libgcc1_4.9-20140218-1_amd64.deb libgcc-4.9-dev_4.9-20140218-1_amd64.deb libgomp1_4.9-20140218-1_amd64.deb libitm1_4.9-20140218-1_amd64.deb liblsan0_4.9-20140218-1_amd64.deb libmpfr4_3.1.2-1_amd64.deb libquadmath0_4.9-20140218-1_amd64.deb libstdc++-4.9-dev_4.9-20140218-1_amd64.deb libstdc++6_4.9-20140218-1_amd64.deb libtsan0_4.9-20140218-1_amd64.deb libubsan0_4.9-20140218-1_amd64.deb libvtv0_4.9-20140218-1_amd64.deb From Debian's servers, e.g.:

Then install them, e.g.: $ for package in *.deb; do sudo dpkg --install "$package"; done

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.