一、生成vbatts-bazel-epel-7.repo文件
[copr:copr.fedorainfracloud.org:vbatts:bazel]
name=Copr repo for bazel owned by vbatts
baseurl=https://download.copr.fedorainfracloud.org/results/vbatts/bazel/epel-7-$basearch/
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://download.copr.fedorainfracloud.org/results/vbatts/bazel/pubkey.gpg
repo_gpgcheck=0
enabled=1
enabled_metadata=1
将上面内容生成vbatts-bazel-epel-7.repo文件,并将此文件复制/etc/yum.repos.d/
文件夹下
二、安装
yum install bazel3
三、参考资料
https://docs.bazel.build/versions/master/install-redhat.html