Install Bazel openSUSE 42 LEAP
Hi! The Tutorial shows you Step-by-Step How to Install Bazel in openSUSE 42 LEAP GNU/Linux.
And Bazel for openSUSE 42 LEAP 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.
-
1. Shell Login
Open a Terminal window
(Press “Enter” to Execute Commands) -
2. Installing Zip
How to Install Zip on openSUSE GNU/Linux
-
3. Installing Dependencies
Then Install the Required Packages with
sudo zypper in pkg-config gcc-c++ zlib-devel python
-
4. Downloading Bazel for openSUSE 42 LEAP
Download Bazel for openSUSE 42 LEAP GNU/Linux
-
5. Access 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 .
-
6. 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
-
7. 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
-
8. Testing Bazel Setup
Finally, to Test Bazel Setup
Execute this Command:bazel -h
On First, Launch Wait for Bazel Auto-Extraction…
-
9. Bazel Getting-Started Guide
Getting-Started with Bazel for openSUSE 42 LEAP GNU/Linux
So Now I’m truly Happy if My Guide could Help you to Install Bazel in openSUSE 42 LEAP!