Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I would like to update gcc/g++ on my Cent Os 5.9. The version I have is 4.1.2 : Would it be possible to update it to 4.4.7 like Cent Os 6.4 WITHOUT updating the entire operating system?

It looks to me that most recent versions of gcc/g++ RPMS are available for Cent Os 6.4

Which would be the best way to stay in CENT OS 5.9 and update?

Can I use devtools-1-1 like I successfully did this way on Cent Os 6.4? I followed this on Centos 6.4 and it did work.

Could be this post useful?

share|improve this question
Download gcc, compile it, install it? (When you configure it, specify the version as a postfix. So it will name itself gcc447 or whatever.) – David Schwartz Oct 2 '13 at 16:39
hi David. Sounds bit lazy but I was looking for a quicker way. I remember once I tried to compil-it like you are suggesting and it was a very long/ unfinished process. – Abruzzo Forte e Gentile Oct 2 '13 at 19:59
I tried what suggested at link… and it works wonderfully on cent os 5.9. – Abruzzo Forte e Gentile Oct 2 '13 at 20:00

I tried what suggested at link and it works wonderfully for cent os 5.9.

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.