How can I install old software collections packages on CentOS 6?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I have a Dockerfile for building on Centos 6 with GCC 5.3 that looks like this:



FROM centos:6
RUN yum -y update && yum -y install centos-release-scl
RUN yum -y update && yum -y install devtoolset-4-gcc-c++
RUN scl enable devtoolset-4 ./build.sh #Build with gcc 5


Unfortunately devtoolset-4 is no longer supported in centos-release-scl. It's not hard to find mirrors which still seem to have the file; e.g.



http://mirror.centos.org/centos/6/sclo/x86_64/rh/devtoolset-4/devtoolset-4-gcc-c++-5.3.1-6.1.el6.x86_64.rpm



But I'm not sure how to install from this (or from a local download of it). Any help would be much appreciated.



NB. I know it's not ideal to use unsupported packages, but the the only alternative i can find is to build GCC from scratch, which takes so long that my docker build times out in CI.










share|improve this question



























    up vote
    0
    down vote

    favorite












    I have a Dockerfile for building on Centos 6 with GCC 5.3 that looks like this:



    FROM centos:6
    RUN yum -y update && yum -y install centos-release-scl
    RUN yum -y update && yum -y install devtoolset-4-gcc-c++
    RUN scl enable devtoolset-4 ./build.sh #Build with gcc 5


    Unfortunately devtoolset-4 is no longer supported in centos-release-scl. It's not hard to find mirrors which still seem to have the file; e.g.



    http://mirror.centos.org/centos/6/sclo/x86_64/rh/devtoolset-4/devtoolset-4-gcc-c++-5.3.1-6.1.el6.x86_64.rpm



    But I'm not sure how to install from this (or from a local download of it). Any help would be much appreciated.



    NB. I know it's not ideal to use unsupported packages, but the the only alternative i can find is to build GCC from scratch, which takes so long that my docker build times out in CI.










    share|improve this question

























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have a Dockerfile for building on Centos 6 with GCC 5.3 that looks like this:



      FROM centos:6
      RUN yum -y update && yum -y install centos-release-scl
      RUN yum -y update && yum -y install devtoolset-4-gcc-c++
      RUN scl enable devtoolset-4 ./build.sh #Build with gcc 5


      Unfortunately devtoolset-4 is no longer supported in centos-release-scl. It's not hard to find mirrors which still seem to have the file; e.g.



      http://mirror.centos.org/centos/6/sclo/x86_64/rh/devtoolset-4/devtoolset-4-gcc-c++-5.3.1-6.1.el6.x86_64.rpm



      But I'm not sure how to install from this (or from a local download of it). Any help would be much appreciated.



      NB. I know it's not ideal to use unsupported packages, but the the only alternative i can find is to build GCC from scratch, which takes so long that my docker build times out in CI.










      share|improve this question















      I have a Dockerfile for building on Centos 6 with GCC 5.3 that looks like this:



      FROM centos:6
      RUN yum -y update && yum -y install centos-release-scl
      RUN yum -y update && yum -y install devtoolset-4-gcc-c++
      RUN scl enable devtoolset-4 ./build.sh #Build with gcc 5


      Unfortunately devtoolset-4 is no longer supported in centos-release-scl. It's not hard to find mirrors which still seem to have the file; e.g.



      http://mirror.centos.org/centos/6/sclo/x86_64/rh/devtoolset-4/devtoolset-4-gcc-c++-5.3.1-6.1.el6.x86_64.rpm



      But I'm not sure how to install from this (or from a local download of it). Any help would be much appreciated.



      NB. I know it's not ideal to use unsupported packages, but the the only alternative i can find is to build GCC from scratch, which takes so long that my docker build times out in CI.







      centos package-management scl






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 8 at 12:44









      Jeff Schaller

      32.4k849110




      32.4k849110










      asked Aug 8 at 12:33









      Mohan

      1013




      1013

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f461277%2fhow-can-i-install-old-software-collections-packages-on-centos-6%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f461277%2fhow-can-i-install-old-software-collections-packages-on-centos-6%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay