Skip to content

Commit

Permalink
Update install-redhat.md for bazel3 package
Browse files Browse the repository at this point in the history
Per discussion at bazelbuild#10133,
Bazel 2.x is packaged as bazel2, and 3.x as bazel3 on Red Hat.
  • Loading branch information
jiridanek authored May 13, 2020
1 parent 0dbf21a commit 6e245df
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions site/docs/install-redhat.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ unofficial packages on

The commands below must be run either via `sudo` or while logged in as `root`.

Add `--allowerasing` when installing an upgrade from a previous major
version of the Bazel package.

## Installing on Fedora 25+

1. The [DNF](https://fedoraproject.org/wiki/DNF) package manager can install
Expand All @@ -27,7 +30,7 @@ The commands below must be run either via `sudo` or while logged in as `root`.

```bash
dnf copr enable vbatts/bazel
dnf install bazel
dnf install bazel3
```

## Installing on CentOS 7
Expand All @@ -39,5 +42,5 @@ The commands below must be run either via `sudo` or while logged in as `root`.
2. Run the following command:

```bash
yum install bazel
yum install bazel3
```

0 comments on commit 6e245df

Please sign in to comment.