银河麒麟yum安装bazel
时间: 2023-10-20 18:09:09 浏览: 259
银河麒麟v10 sp1 server安装docker手册
您可以按照以下步骤在银河麒麟中使用yum安装bazel:
1. 打开终端并以root用户身份登录
2. 运行以下命令以更新yum软件包列表:
```
yum update
```
3. 安装必要的依赖项:
```
yum install -y java-devel gcc gcc-c++ swig python-devel
```
4. 添加Bazel源存储库:
```
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 -
```
5. 安装Bazel:
```
yum install bazel
```
阅读全文