forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes bazelbuild#3721. Change-Id: I4ce8ef72c4ee2b6352df78301888b85388c7c36d PiperOrigin-RevId: 169922383
- Loading branch information
Showing
3 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters