Bazel: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
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 install bazel
bazel --version
</source>
==References==
==References==
{|
{|
| valign="top" |
| valign="top" |
* [https://bazel.build/migrate/maven Migrating from Maven to Bazel]
* [https://bazel.build/install/bazelisk Bazel » Installing using Bazelisk]
* [https://bazel.build/install/bazelisk Installing Bazel using Bazelisk]
* [https://bazel.build/install/suse Bazel » Installing on OpenSUSE]
* [https://bazel.build/install/suse Installing Bazel on OpenSUSE]
* [https://bazel.build/migrate/maven Bazel » Migrating from Maven]
* [https://bazel.build/install/windows Installing Bazel on Windows]
* [https://bazel.build/install/windows Bazel » Installing on Windows]
* [https://bazel.build/install/ubuntu Installing Bazel on Ubuntu]
* [https://bazel.build/install/ubuntu Bazel » Installing on Ubuntu]
* [https://bazel.build/install/os-x Installing Bazel on MacOS]
* [https://bazel.build/install/os-x Bazel » Installing on MacOS]
* [https://bazel.build/community/users Who's Using Bazel]
* [https://bazel.build/community/users Bazel » Who's Using]
* [[Maven]]
* [https://bazel.build/rules Bazel » Rules]
* [[Ant]]
* [https://bazel.build/about/intro Bazel » Intro]
* [[Ivy]]
* [https://bazel.build/docs/bazel-and-java Bazel » Java]


| valign="top" |
| valign="top" |
* [https://bazel.build/install/redhat Installing Bazel on Fedora and CentOS]
* [https://bazel.build/install/redhat Bazel » Installing on Fedora and CentOS]
* [https://bazel.build/migrate/xcode Migrating from Xcode to Bazel]
* [https://bazel.build/migrate/xcode Bazel » Migrating from Xcode]
* [https://github.com/bazelbuild/starlark Bazel » Starlark » Github]
* [https://en.wikipedia.org/wiki/Bazel_(software) Bazel » Wikipedia]
* [https://bazel.build/rules/language Bazel » Starlark]


| valign="top" |
| valign="top" |
Line 24: Line 44:
|-
|-
| valign="top" |
| valign="top" |
* [[CocoaPods]]
* [[Maven]]
* [[Conan]]
* [[NPM]]
* [[Yarn]]
* [[Ant]]
* [[Ivy]]


| valign="top" |
| valign="top" |

Latest revision as of 22:00, 18 January 2024

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