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.

I would like to install from repository (without compilation from source) the latest g++ 4.7.1 on Ubuntu 12.04. I know I can install g++ 4.7.0 according to this tutorial.

I have also found the g++ 4.7.1 exists in the same repository as mentioned in the tutorial here. If there is newer version in the repository, why the previously installed version (4.7.0) is not updated when running the "Update Manager"? How do I install 4.7.1? Thank you

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Ubuntu (and especially Long Term Support version like 12.04) is not a rolling release distribution. Therefore the versions of stuff usually does not upgrade unless there is a serious reason to do that like major bug or security hole. If I want to use the latest version I should either use rolling release distro like Arch linux or compile stuff myself. Compiling GCC might be tricky though and should be performed with caution.

share|improve this answer
add comment

Your Answer

 
discard

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.