How can we install devtoolset-4.0 on CentOS 6.7

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











up vote
2
down vote

favorite
1












I tried to install devtoolset-4.0 to use g++ version 5.x via



sudo yum install devtoolset-4


However, I got No package devtoolset-4 available.



Is there any way to get to that?










share|improve this question

















  • 2




    If you just want g++ and its dependencies: After adding the SCL repos as in @13nilux's answer, you may want to install devtoolset-4-toolchain (22 packages including binutils and gcc-c++) rather than devtoolset-4 (278 packages including the toolchain plus eclipse and many other java tools).
    – Mark Plotnick
    Mar 22 '17 at 15:43















up vote
2
down vote

favorite
1












I tried to install devtoolset-4.0 to use g++ version 5.x via



sudo yum install devtoolset-4


However, I got No package devtoolset-4 available.



Is there any way to get to that?










share|improve this question

















  • 2




    If you just want g++ and its dependencies: After adding the SCL repos as in @13nilux's answer, you may want to install devtoolset-4-toolchain (22 packages including binutils and gcc-c++) rather than devtoolset-4 (278 packages including the toolchain plus eclipse and many other java tools).
    – Mark Plotnick
    Mar 22 '17 at 15:43













up vote
2
down vote

favorite
1









up vote
2
down vote

favorite
1






1





I tried to install devtoolset-4.0 to use g++ version 5.x via



sudo yum install devtoolset-4


However, I got No package devtoolset-4 available.



Is there any way to get to that?










share|improve this question













I tried to install devtoolset-4.0 to use g++ version 5.x via



sudo yum install devtoolset-4


However, I got No package devtoolset-4 available.



Is there any way to get to that?







centos gcc g++






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 22 '17 at 14:23









mallea

11113




11113







  • 2




    If you just want g++ and its dependencies: After adding the SCL repos as in @13nilux's answer, you may want to install devtoolset-4-toolchain (22 packages including binutils and gcc-c++) rather than devtoolset-4 (278 packages including the toolchain plus eclipse and many other java tools).
    – Mark Plotnick
    Mar 22 '17 at 15:43













  • 2




    If you just want g++ and its dependencies: After adding the SCL repos as in @13nilux's answer, you may want to install devtoolset-4-toolchain (22 packages including binutils and gcc-c++) rather than devtoolset-4 (278 packages including the toolchain plus eclipse and many other java tools).
    – Mark Plotnick
    Mar 22 '17 at 15:43








2




2




If you just want g++ and its dependencies: After adding the SCL repos as in @13nilux's answer, you may want to install devtoolset-4-toolchain (22 packages including binutils and gcc-c++) rather than devtoolset-4 (278 packages including the toolchain plus eclipse and many other java tools).
– Mark Plotnick
Mar 22 '17 at 15:43





If you just want g++ and its dependencies: After adding the SCL repos as in @13nilux's answer, you may want to install devtoolset-4-toolchain (22 packages including binutils and gcc-c++) rather than devtoolset-4 (278 packages including the toolchain plus eclipse and many other java tools).
– Mark Plotnick
Mar 22 '17 at 15:43











2 Answers
2






active

oldest

votes

















up vote
5
down vote













Install it by:



sudo yum install centos-release-scl
sudo yum install devtoolset-4


The first command installs and enables Software Collections Repository on your CentOS machine. That repository provides the devtoolset package.






share|improve this answer



























    up vote
    0
    down vote













    This does not work on CentOS 6.10 anymore.



    FYI.





    share




















      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%2f353090%2fhow-can-we-install-devtoolset-4-0-on-centos-6-7%23new-answer', 'question_page');

      );

      Post as a guest






























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      5
      down vote













      Install it by:



      sudo yum install centos-release-scl
      sudo yum install devtoolset-4


      The first command installs and enables Software Collections Repository on your CentOS machine. That repository provides the devtoolset package.






      share|improve this answer
























        up vote
        5
        down vote













        Install it by:



        sudo yum install centos-release-scl
        sudo yum install devtoolset-4


        The first command installs and enables Software Collections Repository on your CentOS machine. That repository provides the devtoolset package.






        share|improve this answer






















          up vote
          5
          down vote










          up vote
          5
          down vote









          Install it by:



          sudo yum install centos-release-scl
          sudo yum install devtoolset-4


          The first command installs and enables Software Collections Repository on your CentOS machine. That repository provides the devtoolset package.






          share|improve this answer












          Install it by:



          sudo yum install centos-release-scl
          sudo yum install devtoolset-4


          The first command installs and enables Software Collections Repository on your CentOS machine. That repository provides the devtoolset package.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 22 '17 at 14:42









          13dimitar

          978213




          978213






















              up vote
              0
              down vote













              This does not work on CentOS 6.10 anymore.



              FYI.





              share
























                up vote
                0
                down vote













                This does not work on CentOS 6.10 anymore.



                FYI.





                share






















                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  This does not work on CentOS 6.10 anymore.



                  FYI.





                  share












                  This does not work on CentOS 6.10 anymore.



                  FYI.






                  share











                  share


                  share










                  answered 3 mins ago









                  Steve Clement

                  112




                  112



























                       

                      draft saved


                      draft discarded















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f353090%2fhow-can-we-install-devtoolset-4-0-on-centos-6-7%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?

                      Displaying single band from multi-band raster using QGIS

                      How many registers does an x86_64 CPU actually have?