Bazel Ubuntu 18.04 Bionic Installation Guide

September 23, 2018 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Installing

  1. 2. Installing Requirements

    Then Install the Required Packages
    Simply play:

    sudo apt install pkg-config zip g++ zlib1g-dev unzip python
  2. 3. Downloading Bazel for Ubuntu

    Download Bazel for Ubuntu GNU/Linux

    Get Bazel Sh Script for Linux 32/64-bit
  3. 4. 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 yuo are in Trouble to Find it out on Terminal then See: How to Access Downloads Folder from Browser.

  4. 5. Installing Bazel

    First, Give Execution Permission:

    chmod +x ./bazel*.sh

    Then tor a Local Installation into $HOME/bin and Sets the .bazelrc as $HOME/.bazelrc:

    ./bazel*.sh

    Instead, for a System Wide in /usr/local/bazel simply:

    sudo ./bazel*.sh
  5. 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


Tags: , , , , , , , , , , , , , , , , , , , , , , ,

QuickChic Theme • Powered by WordPress