Step-by-step – How to Install Bazel on MX Linux

April 11, 2021 | By the+gnu+linux+evangelist.

Installing

  1. 3. Downloading Bazel for MX Linux

    Download Bazel for MX GNU/Linux

    Get Bazel Sh Script for GNU/Linux
  2. 4. Accessing Target

    First, Set the SuperUser as Owner with
    First, access the Download location by default with:

    cd ~/Downloads

    To Check it’s there List the contents 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.

  3. 5. 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
  4. 6. 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

Contents


QuickChic Theme • Powered by WordPress