aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/docs/install-redhat.md
diff options
context:
space:
mode:
authorGravatar Jakob Buchgraber <buchgr@google.com>2017-09-25 19:06:19 +0200
committerGravatar Vladimir Moskva <vladmos@google.com>2017-09-26 12:30:07 +0200
commit63a6e914bc97db821da5032cf6a0bc8a61ae7d1f (patch)
tree59165b784c8d37314f4c4386de86f5c2e3e0ab50 /site/docs/install-redhat.md
parent826d81c305b8b6daeac2bbdaeb721d8aabbf8e92 (diff)
Add Fedora install instructions.
Closes #3721. Change-Id: I4ce8ef72c4ee2b6352df78301888b85388c7c36d PiperOrigin-RevId: 169922383
Diffstat (limited to 'site/docs/install-redhat.md')
-rw-r--r--site/docs/install-redhat.md33
1 files changed, 33 insertions, 0 deletions
diff --git a/site/docs/install-redhat.md b/site/docs/install-redhat.md
new file mode 100644
index 0000000000..9c4f65c934
--- /dev/null
+++ b/site/docs/install-redhat.md
@@ -0,0 +1,33 @@
+---
+layout: documentation
+title: Installing Bazel on Fedora and CentOS
+---
+
+# Install 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
+unofficial packages on
+[Fedora COPR](https://copr.fedorainfracloud.org/coprs/vbatts/bazel/).
+
+## Install Bazel on Fedora 25, 26
+
+1. Install `dnf` and the `copr` plugin if you have not already done so.
+
+2. Run the following commands:
+
+ ```bash
+ dnf copr enable vbatts/bazel
+ dnf install bazel
+ ```
+
+## Install Bazel on CentOS 7
+
+1. Download the corresponding `.repo` file from [Fedora COPR](https://copr.fedorainfracloud.org/coprs/vbatts/bazel/)
+ and copy it to `/etc/yum.repos.d/`.
+
+2. Run the following command:
+
+ ```bash
+ yum install bazel
+ ```