天行健,君子以自强不息;地势坤,君子以厚德载物;

在CentOS 7.9下安装devtoolset-12

CentOS官方默认SCL资源包中的devtoolset最高版本是11,其实rh已发布devtoolset-12,如何在CentOS中添加安装devtoolset-12呢?

# vi /etc/yum.repos.d/CentOS-SCLo.repo

[centos-sclo-buildlogs]
name=CentOS-7 - SCLo buildlogs
baseurl=https://buildlogs.centos.org/c7-devtoolset-12.x86_64/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo

# yum clean all

# yum makecache

# yum search devtoolset-12

# yum install devtoolset-12.x86_64

 

点赞

发表回复