📌  相关文章
📜  ubuntu 20.04 安装 google cloud sdk - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:14.480000             🧑  作者: Mango

代码示例1
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
sudo apt-get install apt-transport-https ca-certificates gnupg
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -
sudo apt-get update && sudo apt-get install google-cloud-sdk

#ref: https://cloud.google.com/sdk/docs/install#deb