CentOS7安装llvm-toolset-7-clang
作者:互联网
CentOS7安装llvm-toolset-7-clang
方法1:安装postgresql的devel会顺带安装
点击查看代码
yum install epel-release //可以不用
yum install centos-release-scl-rh
yum isntall postgresqlxx-devel-xx.xx
方法2:通过buildlogs.centos.org
yum源进行安装
点击查看代码
#1.先写入yum源
cat << EOF > /etc/yum.repos.d/c7-devtoolset-7-x86_64.repo
[c7-devtoolset-7]
name=c7-devtoolset-7
baseurl=https://buildlogs.centos.org/c7-devtoolset-7.x86_64/
gpgcheck=0
enabled=1
[c7-llvm-toolset-7]
name=c7-llvm-toolset-7
baseurl=https://buildlogs.centos.org/c7-llvm-toolset-7.x86_64/
gpgcheck=0
enabled=1
[fedoraproject-epel-7]
name=fedoraproject-epel-7
baseurl=https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/
gpgcheck=0
enabled=1
EOF
#2.直接通过yum安装即可
yum install -y llvm5.0-devel llvm-toolset-7-clang
标签:epel,llvm,centos,CentOS7,yum,toolset,c7 来源: https://www.cnblogs.com/syfl/p/16359614.html