bazel安装
https://blog.csdn.net/cxq234843654/article/details/70861155
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
sudo apt-get update的时候出了一些错误,但是无所谓,可能只是一些源的问题,继续安装bazel就可以
安装完后出入bazel检查是否安装成功
![](https://images2018.cnblogs.com/blog/1070872/201805/1070872-20180520224712049-270449875.png)