How to Install Bazel on Debian Bullseye – Step-by-step

September 5, 2021 | By the+gnu+linux+evangelist.

Installing

  1. 3. Accessing Target

    First, Set the SuperUser as Owner with

    cd && cd Downloads

    To check the Script is there with:

    ls . | grep bazel

    The grep Command refine the output List showing only the Entries matching the Keyword.
    But if you are in Trouble to Find the Location on Terminal then See: How to Access Downloads Folder from Browser.

  2. 4. Installing Bazel

    Now to Install Bazel
    First, give Execution Permission to the Installation Script:

    chmod +x ./bazel*.sh

    Then for a Local Installation into $HOME/bin run:

    ./bazel*.sh

    Instead, for a System Wide into /usr/local/bazel:

    sudo ./bazel*.sh
  3. 5. Amending User’s Path

    Only for a Local Installation, Append Bazel into the Path

    echo 'export PATH=$PATH:$HOME/bin' >> ~/.bashrc

    Finally, to Reload the Path do:

    bash
  4. 6. Testing Bazel Setup

    Finally, to Test Bazel Setup
    Execute this Command:

    bazel -h

    On First, Launch Wait for Bazel Auto-Extraction…

  5. 7. Bazel Getting-Started Guide

    Getting-Started with Bazel for Debian GNU/Linux

    Bazel Quick Start on Debian

So Now I’m truly Happy if My Guide could Help you to Install Bazel in Debian Bullseye!

Contents


QuickChic Theme • Powered by WordPress