Update Fedora/Centos installation directions.
Fixes
Closes
@@ -6,15 +6,24 @@ title: Installing Bazel on Fedora and CentOS
# Installing Bazel on Fedora and CentOS
The Bazel team does not provide official packages for Fedora and CentOS.
-Vincent Batts [@vbatts](https://github.com/vbatts) generously maintains
+Vincent Batts ([@vbatts](https://github.com/vbatts)) generously maintains
unofficial packages on
[Fedora COPR](https://copr.fedorainfracloud.org/coprs/vbatts/bazel/).
-## Installing Bazel on Fedora 25, 26, 27, and 28
+The commands below must be run either via `sudo` or while logged in as `root`.
-1. Install `dnf` and the `copr` plugin if you have not already done so.
+## Installing Bazel on Fedora 25+
-2. Run the following commands:
+1. The [DNF](https://fedoraproject.org/wiki/DNF) package manager can install
+ Bazel from the [COPR](https://copr.fedorainfracloud.org/) repository. Install
+ the `copr` plugin for DNF if you have not already done so.
+
+ ```bash
+ dnf install dnf-plugins-core
+ ```
+
+2. Run the following commands to add the Bazel repository and install the
+ package:
```bash
dnf copr enable vbatts/bazel
@@ -23,7 +32,8 @@ unofficial packages on
## Installing Bazel on CentOS 7
-1. Download the corresponding `.repo` file from [Fedora COPR](https://copr.fedorainfracloud.org/coprs/vbatts/bazel/)
+1. Download the corresponding `.repo` file from
+ [Fedora COPR](https://copr.fedorainfracloud.org/coprs/vbatts/bazel/repo/epel-7/vbatts-bazel-epel-7.repo)
and copy it to `/etc/yum.repos.d/`.
2. Run the following command:
