Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to install Bazel

📅 2018-Mar-16 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ bazel ⬩ 📚 Archive

Here is how I installed Bazel on Ubuntu 16.04:

$ sudo apt-get install openjdk-8-jdk
$ echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
$ curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install bazel