Installing
-
2. Installing Requirements
Then Install the Required Packages
Simply play:sudo apt install pkg-config zip g++ zlib1g-dev unzip python
-
3. Downloading Bazel for Ubuntu
Download Bazel for Ubuntu GNU/Linux
-
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. -
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
-
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: Bazel Install Ubuntu 18.04, Bazel Install Ubuntu Bionic, Bazel Setup Ubuntu 18.04, Bazel Setup Ubuntu Bionic, Bazel Ubuntu 18.04, Bazel Ubuntu 18.04 Install, Bazel Ubuntu 18.04 Installation, Bazel Ubuntu 18.04 Setup, Bazel Ubuntu Bionic, Bazel Ubuntu Bionic Install, Bazel Ubuntu Bionic Installation, Bazel Ubuntu Bionic Setup, Install Bazel Ubuntu 18.04, Install Bazel Ubuntu Bionic, Ubuntu 18.04 Bazel, Ubuntu 18.04 Bazel Install, Ubuntu 18.04 Bazel Installation, Ubuntu 18.04 Bazel Setup, Ubuntu 18.04 Install Bazel, Ubuntu Bionic Bazel, Ubuntu Bionic Bazel Install, Ubuntu Bionic Bazel Installation, Ubuntu Bionic Bazel Setup, Ubuntu Bionic Install Bazel