【转载】Ubuntu20.04安装Bazel
原文地址:
https://zhuanlan.zhihu.com/p/311406177
======================================
sudo apt install curl gnupg
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
======================================
亲测可用。