Created
May 9, 2024 09:18
-
-
Save chokychou/9c90c6fa3046b801a860a61009be473e to your computer and use it in GitHub Desktop.
Lazy install Bazel (bash install.sh)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install build-essential autoconf libtool pkg-config | |
sudo apt-get install clang libc++-dev | |
sudo apt install apt-transport-https curl gnupg -y | |
curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor >bazel-archive-keyring.gpg | |
sudo mv bazel-archive-keyring.gpg /usr/share/keyrings | |
echo "deb [arch=amd64 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 install bazel | |
sudo apt-get install python3-dev | |
sudo apt update && sudo apt full-upgrade | |
go install github.com/bazelbuild/buildtools/buildifier@latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment