How to Install Bazel? | Forecr -

How to Install Bazel?

Jetson AGX Xavier | Jetson Xavier NX

27 September 2022

1- How to Download Bazel?

2- How to Install Bazel?


Hardware: DSBOX-NX2 Xavier-NX 16GB with NVME SSD

OS: Jetpack 5.0.2

In this blog-post, we will install Bazel on Jetson. First, we will download bazelisk-linux-arm64 file from github bazelisk library. Then, we will install it.

Below steps show installation of bazelisk v1.8.1, but you can install any desired version from using same steps.

Downloading Bazel

First, download bazeliks-linux-arm64 file using wget command.


Installing Bazel

Change file’s privileges to executable using below command.

chmod +x bazelisk-linux-arm64

Then, move the file to the directory and change its name to bazel using below command.

sudo mv bazelisk-linux-arm64 /usr/local/bin/bazel

Finally, make sure you get the binary available in $PATH.

which bazel

As you can see that the Bazel integrated to the system successfully.

Thank you for reading our blog post.