Setting Up Environment¶
Package Installations¶
-
Open your web browser and go to Akhilnarang Scripts.
-
Clone the entire repository by running the following command in your terminal:
-
Navigate to the cloned repository by running the following command:
-
Depending on your Linux distribution, execute the appropriate command below to set up the necessary dependencies for your build environment:
-
For Ubuntu and Debian-based distributions, run:
(This is the recommended option for beginners to avoid any potential issues.) -
For Arch-based distributions (e.g., Manjaro), run:
-
For Fedora, run:
-
For OpenSUSE, run:
-
For Solus, run:
-
Wait patiently while all the dependencies are being installed.
-
Add it to PATH
-
Open .bashrc
-
Scroll to the end of the file and type these lines:
- Ctrl-O and enter to save, then Ctrl-X to exit nano. Now either logout and login again (or reboot), or
sourcethe file:
Verification¶
Verify the installation of the build tools by checking their versions:
- Git: Run
git --version. - Make: Run
make --version. - Zip: Run
zip --version. - Curl: Run
curl --version. - GCC (GNU Compiler Collection): Run
gcc --version. - G++ (GNU C++ Compiler): Run
g++ --version.
Congratulations! Your build environment is now fully set up and ready to use. Enjoy building!