安装
在centos7中安装bazel
- 执行完
bazel version
显示出版本号则表示安装成功
yum install wget
wget https://copr.fedorainfracloud.org/coprs/vbatts/bazel/repo/epel-7/vbatts-bazel-epel-7.repo --no-check-certificate
cp vbatts-bazel-epel-7.repo /etc/yum.repos.d/
ll /etc/yum.repos.d/
yum install bazel4
bazel version
在centos7中安装g++11
yum remove gcc
yum remove gdb
sudo yum install scl-utils
sudo yum install centos-release-scl
yum list all --enablerepo='centos-sclo-rh' | grep "devtoolset"
yum install -y devtoolset-11-toolchain
scl enable devtoolset-11 bash