From 6e245dfeae0d82155e1ea6ae52f365f4b10ed38d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jiri=20Dan=C4=9Bk?= Date: Wed, 13 May 2020 13:14:50 +0200 Subject: [PATCH] Update install-redhat.md for bazel3 package Per discussion at https://github.com/bazelbuild/bazel/issues/10133, Bazel 2.x is packaged as bazel2, and 3.x as bazel3 on Red Hat. --- site/docs/install-redhat.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/site/docs/install-redhat.md b/site/docs/install-redhat.md index 6d7d046c217202..df83691ffeb016 100644 --- a/site/docs/install-redhat.md +++ b/site/docs/install-redhat.md @@ -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 @@ -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 @@ -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 ```