Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

Current version of GCC in Ubuntu 11.04 is 4.5.2. For certain C++0x features, I need GCC version 4.6, but would like to avoid compiling from source. Is there hope that Ubuntu will update GCC in the package repository before the next release in October (11.10).

This question asks a similar thing except for an earlier version of Ubuntu and GCC.

A second part of the question, if the answer is "no" to the first, then can I hope to see it appear in Ubuntu's unstable repository?

share|improve this question
up vote 2 down vote accepted

I don't think they will change the compiler version in a release, because everything is compiled with the version provided in the package repositories. A new major version of gcc would require a total recompilation and thus re-installation of every package to maintain compatibility.

By the way, compiling gcc from source is surprisingly easy, in my humble opinion.

share|improve this answer

It's also possible that newer packages exist for GCC in a PPA or third party repository. But compiling from source is often the way to go if you want the very latest release.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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