我要评分
获取效率
正确性
完整性
易理解

Installing Bazel 0.25.0

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Go to the installation directory of the main program.
    cd /path/to/bazel
  3. Decompress the package.
    unzip -d bazel-0.25.0 bazel-0.25.0-dist.zip
  4. Perform the compilation and installation.
    cd bazel-0.25.0
    EXTRA_BAZEL_ARGS='--host_javabase=@local_jdk//:jdk' ./compile.sh
  5. Set the environment variables.
    export PATH=/path/to/bazel/bazel-0.25.0/output:$PATH
  6. Perform the verification.
    bazel version