Installing Bazel on Debian

To install Bazel on Debian, you can go through the following steps:

Pre-requisites

Before we begin, make sure that you have the following installed in your system:

Step 1: Add Bazel repository

First, you need to add the Bazel repository to your system. For that, follow these steps:

echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add -

Step 2: Update apt-get and install Bazel

After adding the Bazel repository, update apt-get and install the Bazel package:

sudo apt-get update
sudo apt-get install bazel

Step 3: Verify the installation

To verify the installation of Bazel, simply run:

bazel version

This command should print the current version of Bazel installed on your system.

That's it! You have successfully installed Bazel on your Debian system.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!