Summary
Arch Linux is one of the most popular Linux distributions.
It's supported by AUR, "A"rch Linux "U"ser "R"epository, which is a very big community of Arch users and developers, and hosts a large number of packages.
We can make our environment more convenient or more powerful by making good use of them.
This is also the case about Linux distributions based on Arch Linux such as Manjaro and Artix.
Reference: AUR User Guidelines' Statement
The beginning is:
The Arch User Repository (AUR) is a community-driven repository for Arch users. It contains package descriptions (PKGBUILDs) that allow you to compile a package from source with makepkg and then install it via pacman. The AUR was created to organize and share new packages from the community and to help expedite popular packages' inclusion into the community repository. This document explains how users can access and utilize the AUR.
A good number of new packages that enter the official repositories start in the AUR. In the AUR, users are able to contribute their own package builds (PKGBUILD and related files). The AUR community has the ability to vote for packages in the AUR. If a package becomes popular enough — provided it has a compatible license and good packaging technique — it may be entered into the community repository (directly accessible by pacman or abs).
And it's followed by:
Warning: AUR packages are user produced content. Any use of the provided files is at your own risk.
Well, I recommend to Manjaro users searching in Manjaro Package Manager before using AUR.
If there is some solution in the more reliable place, why wouldn't you visit there first?
And if there isn't any there, then think another way:
How To Use
A Brief Account
Get "Git Clone URL", git clone
it, makepkg -si
it, and it's done.
Step 1: Get "Git Clone URL"
Visit AUR: https://aur.archlinux.org/ and search a package:
Go to the package page:
Get "Git Clone URL":
Confirm "Licence", "Popularity", "Last Updated", "Dependencies" and so on as needed:
Step 2: Build The Package And Install It
git clone [the package]
, cd [the package]
, makepkg -si
, and it's done!
This is an example of a package called qperf.
* Note: qperf is a tool to measure network bandwidth and latency between nodes.
The 1st half step:
$ # git clone [the package]
$ git clone https://aur.archlinux.org/qperf.git
The 2nd half step:
$ # cd [the package]
$ cd qperf
$ makepkg -si
Finished 😁
A Side Topic
Actually, around installing qperf, however, there were not a single troubles on the way...
Troubleshooting Around Installing AUR packages
nabbisen ・ Nov 8 '18
After all, I completed installing the package 😃