Bazel

From Chorke Wiki
Revision as of 04:24, 17 June 2022 by Shahed (talk | contribs)
Jump to navigation Jump to search

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 installbazel
bazel --version

References