Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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, belacq, Eric Carvalho Apr 23 '14 at 16:05

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new 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 askubuntu.com/questions/151283/… 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

1 Answer 1

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.