Bazel: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 3: | Line 3: | ||
<source lang="bash"> | <source lang="bash"> | ||
sudo apt install apt-transport-https curl gnupg | sudo apt install apt-transport-https curl gnupg | ||
curl -fsSL https://bazel.build/bazel-release.pub.gpg\ | curl -fsSL https://bazel.build/bazel-release.pub.gpg\ | ||
| sudo gpg --dearmor -o /usr/share/keyrings/bazel-archive-keyring.gpg | | sudo gpg --dearmor -o /usr/share/keyrings/bazel-archive-keyring.gpg |
Revision as of 04:52, 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
| ||