Installing Bazel on Fedora and CentOS
The Bazel team does not provide official packages for Fedora and CentOS. Vincent Batts @vbatts generously maintains unofficial packages on Fedora COPR.
Installing Bazel on Fedora 25, 26, 27, and 28
-
Install
dnfand thecoprplugin if you have not already done so. -
Run the following commands:
dnf copr enable vbatts/bazel dnf install bazel
Installing Bazel on CentOS 7
-
Download the corresponding
.repofile from Fedora COPR and copy it to/etc/yum.repos.d/. -
Run the following command:
yum install bazel