Bazel: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
==Install==
'''Ubuntu'''
<source lang="bash">
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
</source>
==References==
==References==
{|
{|

Revision as of 04:24, 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 installbazel
bazel --version

References