Bazel: Difference between revisions
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/ | * [https://bazel.build/install/bazelisk Bazel » Installing using Bazelisk] | ||
* [https://bazel.build/install/ | * [https://bazel.build/install/suse Bazel » Installing on OpenSUSE] | ||
* [https://bazel.build/ | * [https://bazel.build/migrate/maven Bazel » Migrating from Maven] | ||
* [https://bazel.build/install/windows Installing | * [https://bazel.build/install/windows Bazel » Installing on Windows] | ||
* [https://bazel.build/install/ubuntu Installing | * [https://bazel.build/install/ubuntu Bazel » Installing on Ubuntu] | ||
* [https://bazel.build/install/os-x Installing | * [https://bazel.build/install/os-x Bazel » Installing on MacOS] | ||
* [https://bazel.build/community/users Who's Using | * [https://bazel.build/community/users Bazel » Who's Using] | ||
* [ | * [https://bazel.build/rules Bazel » Rules] | ||
* [ | * [https://bazel.build/about/intro Bazel » Intro] | ||
* [ | * [https://bazel.build/docs/bazel-and-java Bazel » Java] | ||
| valign="top" | | | valign="top" | | ||
* [https://bazel.build/install/redhat Installing | * [https://bazel.build/install/redhat Bazel » Installing on Fedora and CentOS] | ||
* [https://bazel.build/migrate/xcode Migrating from Xcode | * [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 21: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
| ||