Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 unix.stackexchange.com/questions/63587/… and it works wonderfully on cent os 5.9. –  Abruzzo Forte e Gentile Oct 2 '13 at 20:00

1 Answer 1

I tried what suggested at link http://unix.stackexchange.com/questions/63587/how-to-install-g-4-7-2-c11-on-centos-5-x and it works wonderfully for cent os 5.9.

share|improve this answer

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.