Reputation: 51
I want to use GCC 4.8.1 or higher on a HPC machine with CentOS 6.5 which has a very old GCC. I do not have admin rights so everything has to be local. Do I have to really compile everything from source? Isn't there any rpm package that I can only install GCC with its dependencies? I found GCC rpms for CentOS 7 but not 6.5.
Upvotes: 1
Views: 11422
Reputation: 2390
Without admin rights, building from source is likely most reliable means to use gcc-4.8.1.
You can try installing (or extracting) gcc-4.8.1 from the redhat developer tool kit 2.0 described here https://superuser.com/questions/381160/how-to-install-gcc-4-7-x-4-8-x-on-centos
CentOS 7 RPM's are unlikely to work in general on CentOS 6.x. The developer 2.0 toolkit was built on CentOS6
Upvotes: 1