Bazel Ubuntu 18.10 Cosmic Installation

September 23, 2018 | By the+gnu+linux+evangelist.

Install Bazel Ubuntu 18.10 Cosmic

Hi! The Tutorial shows you Step-by-Step How to Install Bazel in Ubuntu 18.10 Cosmic GNU/Linux.

And Bazel for Ubuntu Cosmic is an Open-Source Build and Test Tool similar to Make, Maven, and Gradle. It uses a Human-Readable, High-Level build Language.

Moreover, Bazel supports projects in Multiple Languages and Builds outputs for Multiple Platforms.

Again, Bazel Supports Large Codebases across Multiple Repositories, and Large Numbers of Users.

Bazel Ubuntu 18.10 Cosmic Installation Guide - Featured
  1. 1. Shell Login

    Open a Terminal window
    Ctrl+Alt+t on Desktop
    (Press “Enter” to Execute Commands)

    Bazel Ubuntu 18.10 Cosmic Installation Guide - Open Terminal Shell Emulator
  2. 2. Installing Dependencies

    Then Install the Required Packages with

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

    Download Bazel for Ubuntu GNU/Linux

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

    First, Set the SuperUser as Owner with

    cd && cd Downloads

    Or if Downloaded with Firefox may be instead:

    cd /tmp/mozilla*

    Check the Script is There with:

    ls .
  5. 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 into /usr/local/bazel:

    sudo ./bazel*.sh
  6. 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
  7. 7. Testing Bazel Setup

    Finally, to Test Bazel Setup
    Execute this Command:

    bazel -h

    On First, Launch Wait for Bazel Auto-Extraction…

  8. 8. Bazel Getting-Started Guide

    Getting-Started with Bazel for Ubuntu GNU/Linux

    Bazel Quick Start on Ubuntu
  9. So Now I’m truly Happy if My Guide could Help you to Install Bazel in Ubuntu 18.10!


QuickChic Theme • Powered by WordPress