Bazel: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
sudo apt update && sudo apt list --upgradeable | sudo apt update && sudo apt list --upgradeable | ||
sudo apt upgrade && sudo apt | sudo apt upgrade && sudo apt install bazel | ||
bazel --version | bazel --version | ||
</source> | </source> |
Revision as of 04:40, 17 June 2022
Install
Ubuntu
sudo apt install apt-transport-https curl gnupg
curl -fsSL https://bazel.build/bazel-release.pub.gpg\
| sudo gpg --dearmor -o /usr/share/keyrings/bazel-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture)\
signed-by=/usr/share/keyrings/bazel-archive-keyring.gpg]\
https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
sudo apt update && sudo apt list --upgradeable
sudo apt upgrade && sudo apt install bazel
bazel --version
References
| ||