-
Notifications
You must be signed in to change notification settings - Fork 2
POP OS bazel (step 3)
ng-druid edited this page Sep 22, 2024
·
1 revision
Add Bazel Distribution URI as a Package Source: This allows your package manager to find the Bazel packages.
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
Add Bazel's APT Repository to Your System:
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
Update the Package List:
sudo apt update
Install Bazel:
sudo apt install bazel
Verify the Installation: Once the installation is complete, you can verify it by checking the installed version of Bazel:
bazel --version