Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Question about Upgrade from GCC 4.1 to 4.8 on RHEL 5.9

    Posted on

    We recently purchased and added the Red Hat Developer Toolset 2 channel to one of our RHEL 5.9 boxes so that we could upgrade GCC 4.1 to 4.8. We ran yum install devtoolset-2-2.0-19.el5.noarch to upgrade. Upon completion, GCC 4.1 was still located under /usr/bin/gcc and GCC 4.8 appears to have been installed to /opt/rh/devtoolset-2/root/usr/bin/gcc. This means that GCC 4.1 is still in the path and is the one running which isn't what we had anticipated. Trying to figure out how the upgrade is supposed to work.

    Should we have...
    1> Uninstalled all the GCC 4.1 packages prior to installing GCC 4.8?
    2> Installed as we did but then create symbolic links or copy the GCC binaries to /usr/bin/?
    3> Do the upgrade some other way?

    Looking for some guidance on the proper way to complete the upgrade and any other relevant guidance.

    Cheers
    Chad

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat