美文网首页
centos7 使用SCL(SoftwareCollection

centos7 使用SCL(SoftwareCollection

作者: 云石畅想 | 来源:发表于2019-03-20 15:07 被阅读0次
    $ sudo yum install centos-release-scl
    $ sudo yum install scl-utils
    
    $ # gcc gdb valgrind systemtap
    $ sudo yum install devtoolset-8
    
    $ scl --list
    devtoolset-8
    
    $ scl enable devtoolset-8 bash
    
    $ # bashrc
    $ # source /opt/rh/devtoolset-8/enable
    
    $ gcc --version
    gcc (GCC) 8.2.1 20180905 (Red Hat 8.2.1-3)
    Copyright (C) 2018 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    

    相关文章

      网友评论

          本文标题:centos7 使用SCL(SoftwareCollection

          本文链接:https://www.haomeiwen.com/subject/cywzmqtx.html