-
Notifications
You must be signed in to change notification settings - Fork 0
Bazel installation on Ubuntu 20.04
Razvan STANCIOIU edited this page Jan 28, 2021
·
1 revision
Bazel configuration (Ubuntu 20.04)
> sudo apt install curl gnupg
> curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor > bazel.gpg
> sudo mv bazel.gpg /etc/apt/trusted.gpg.d/
> echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
> sudo apt update && sudo apt-get install -y bazel
> sudo apt update && sudo apt full-upgrade
> bazel --version
bazel 4.0.0
For more details please check: https://docs.bazel.build/versions/3.7.0/install-ubuntu.html