I want to install gcc 4.8+, preferrably 4.9 on my Red Hat Enterprise Linux Workstation release 6.7 (santiago)I have a subscription to rhn-classic.I tried installing devtoolset as given in https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/3/html/User_Guide/sect-Red_Hat_Developer_Toolset-Subscribe.htmlI list the available channels and instead ofrhel-x86_64-workstation-6-rhscl-1I seerhel-x86_64-workstation-6-rhscl-1-betaso i add it using rhn-channel --add --channel=rhel-x86_64-workstation-6-rhscl-1-betaAnd then when i runyum install devtoolset-3It says No package devtoolset-3 available.Any Help would be appreciated.
Install GCC 4.8+ on rhel x86_64 workstation 6
rhel;software installation;gcc
Since the package is either not available, or using a different name, the first step is to find which is the case.  Useyum list available |grep gccyum list available |grep devtoolsetto find whether you have misspelled the package name, or if gcc is available under a different name.  Check using yum info for the package.  Its description should show the relevant version information.According to Red Hat's article What gcc versions are available in Red Hat Enterprise Linux?, gcc 4.8 is available for Red Hat Enterprise 7.  If you need gcc 4.8 for RHEL 6, you may have to compile it yourself.Further reading:Installing GCC 4.8.2 on Red Hat Enterprise linux 6.5How to Install gcc 4.7.x/4.8.x on CentOSinstall latest gcc on rhel 6 x86_64