diff options
author | Googler <noreply@google.com> | 2017-10-26 20:34:56 +0200 |
---|---|---|
committer | Dmitry Lomov <dslomov@google.com> | 2017-10-27 16:29:31 +0200 |
commit | 67deac4e0dc1d65012cfba4f41ccbfe246306421 (patch) | |
tree | 3b6ddde766310894f391cfd0457cd215b3d14e8c /site/docs/install-ubuntu.md | |
parent | 61c0da151490544d02628199e9d90687c7dbef86 (diff) |
Replace version numbers for Bazel installers with "<version>" (because this will change often)
RELNOTES: Replace version numbers for Bazel installers with "<version>" (because this will change often)
PiperOrigin-RevId: 173566716
Diffstat (limited to 'site/docs/install-ubuntu.md')
-rw-r--r-- | site/docs/install-ubuntu.md | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/site/docs/install-ubuntu.md b/site/docs/install-ubuntu.md index 1ea006bda0..3da518c355 100644 --- a/site/docs/install-ubuntu.md +++ b/site/docs/install-ubuntu.md @@ -75,13 +75,16 @@ sudo apt-get install pkg-config zip g++ zlib1g-dev unzip python ### 2. Download Bazel +**Note:** In the installer file names listed in this document, replace +`<version>` with the appropriate Bazel version number. + Go to Bazel's [GitHub releases page](https://github.com/bazelbuild/bazel/releases). -Download the binary installer `bazel-0.5.4-installer-linux-x86_64.sh`. This +Download the binary installer `bazel-<version>-installer-linux-x86_64.sh`. This installer contains the Bazel binary and the required JDK, and can be used even if JDK is already installed. -Note that `bazel-0.5.4-without-jdk-installer-linux-x86_64.sh` also exists. +Note that `bazel-<version>-without-jdk-installer-linux-x86_64.sh` also exists. It is a version without embedded JDK 8. Only use this installer if you already have JDK 8 installed. @@ -90,8 +93,8 @@ have JDK 8 installed. Run the installer: ```bash -chmod +x bazel-0.5.4-installer-linux-x86_64.sh -./bazel-0.5.4-installer-linux-x86_64.sh --user +chmod +x bazel-<version>-installer-linux-x86_64.sh +./bazel-<version>-installer-linux-x86_64.sh --user ``` The `--user` flag installs Bazel to the `$HOME/bin` directory on your system and |