Step-by-step – Bazel Fedora 35 Installation Guide

September 18, 2021 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Installing

  1. 2. Installing Requirements

    Then Install the Required Packages with

    sudo dnf install pkgconfig gcc-c++ zip zlib-devel python
  2. 3. Downloading Bazel for Fedora 35

    Download Bazel for Fedora 35 GNU/Linux

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

  4. 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
  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