aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/docs/install.md
diff options
context:
space:
mode:
authorGravatar Serge <spomorski@google.com>2018-04-18 10:04:22 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-04-18 10:05:54 -0700
commit70e84f8926bd2cc38fea9e74af292d19038607b8 (patch)
treea548ada5b3ce92516e6afee14dbaeb05c6e81132 /site/docs/install.md
parent9b72ae13744069a6dc5f8f474c7979a3b0c9200d (diff)
Update macOS Install Instructions
Updating macOS install instructions together with David. Closes #5025. PiperOrigin-RevId: 193374002
Diffstat (limited to 'site/docs/install.md')
-rw-r--r--site/docs/install.md65
1 files changed, 1 insertions, 64 deletions
diff --git a/site/docs/install.md b/site/docs/install.md
index 2c60abe217..55d571005e 100644
--- a/site/docs/install.md
+++ b/site/docs/install.md
@@ -7,72 +7,9 @@ title: Installing Bazel
See the instructions for installing Bazel on:
-* [Ubuntu Linux (16.04, 15.10, and 14.04)](install-ubuntu.md)
+* [Ubuntu Linux (16.04 and 14.04)](install-ubuntu.md)
* [Fedora 25, 26, and CentOS 7](install-redhat.md)
* [macOS](install-os-x.md)
* [Windows](install-windows.md)
For other platforms, you can try to [compile from source](install-compile-source.md).
-
-Required Java version:
-
-Java JDK 8 or later is required. To address the problem of JDK 8 not being
-available on some machines, Bazel's binary installer embeds a JDK by default.
-
-**Note:** Homebrew and Debian packages do not contain the embedded JDK. The
-shell installers are the only ones with an embedded JDK.
-
-Extras:
-
-* [Bash completion](#bash)
-* [zsh completion](#zsh)
-
-For more information on using Bazel, see
-[Getting Started with Bazel](getting-started.html).
-
-## <a name="bash"></a>Getting bash completion
-
-**Note:** If you installed Bazel using the custom APT repository, the bash completion script
-is already installed in `/etc/bash_completion.d`.
-
-Bazel comes with a bash completion script, which the installer copies into the
-`bin` directory. If you ran the installer with `--user`, this will be
-`$HOME/.bazel/bin`. If you ran the installer as root, this will be
-`/usr/local/bazel/bin`.
-
-Copy the `bazel-complete.bash` script to your completion folder
-(`/etc/bash_completion.d` directory under Ubuntu). If you don't have a
-completion folder, you can copy it wherever suits you and insert
-`source /path/to/bazel-complete.bash` in your `~/.bashrc` file (under OS X, put
-it in your `~/.bash_profile` file).
-
-If you built Bazel from source, the bash completion target is in the `//scripts`
-package:
-
-1. Build it with Bazel: `bazel build //scripts:bazel-complete.bash`.
-2. Copy the script `bazel-bin/scripts/bazel-complete.bash` to one of the
- locations described above.
-
-## <a name="zsh"></a>Getting zsh completion
-
-Bazel also comes with a zsh completion script. To install it:
-
-1. Add this script to a directory on your $fpath:
-
- ```
- fpath[1,0]=~/.zsh/completion/
- mkdir -p ~/.zsh/completion/
- cp scripts/zsh_completion/_bazel ~/.zsh/completion
- ```
-
- You may have to call `rm -f ~/.zcompdump; compinit`
- the first time to make it work.
-
-2. Optionally, add the following to your .zshrc.
-
- ```
- # This way the completion script does not have to parse Bazel's options
- # repeatedly. The directory in cache-path must be created manually.
- zstyle ':completion:*' use-cache on
- zstyle ':completion:*' cache-path ~/.zsh/cache
- ```