Bazel is an open-source build tool that supports multiple programming languages and build environments. This tutorial will guide you on how to install Bazel on your Linux Mint machine.
Before installing Bazel, you need to install some required dependencies. Open a terminal and run the following command:
sudo apt-get install pkg-config zip g++ zlib1g-dev unzip python3
Bazel provides an installer script that you can use to install Bazel on your system. To download the installer script, run the following command in your terminal:
wget https://github.com/bazelbuild/bazel/releases/download/4.0.0/bazel-4.0.0-installer-linux-x86_64.sh
Note that this command will download the latest stable version of Bazel (as of writing this tutorial). If you want to download a different version, replace the link with the download link of the desired version.
After the installer script has been downloaded, you need to make it executable. You can do this by running the following command:
chmod +x bazel-4.0.0-installer-linux-x86_64.sh
Once the script is made executable, you can run it by running the following command in your terminal:
sudo ./bazel-4.0.0-installer-linux-x86_64.sh
This will start the installation process. You will be prompted to accept the license agreement, enter the installation directory, and choose the features you want to install. You can leave the default options for most of the prompts for a typical installation.
After the installation is complete, you can verify the installation by running the following command:
bazel version
This should display the installed version of Bazel on your system.
Congratulations! You have successfully installed Bazel on your Linux Mint machine. You can now use Bazel to build your projects. For more information on how to use Bazel, refer to the official Bazel documentation.
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!