Bazel: Difference between revisions

From Chorke Wiki
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 installbazel
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