If you have used Arch Linux or another Arch based distribution such as Manjaro, you may have encountered the term AUR. You are trying to install new software and someone suggests that you install it from the AUR. It confuses you.

What’s AUR? Why would you use it? How do I use the AUR? I will answer these questions in this article.

What’s AUR?

What’s the AUR? How do I use AUR in Arch and Manjaro Linux?

AUR stands for Arch User Repository. This is a community managed repository for users of Linux arch distributions. It contains descriptions of packages called PKGBUILD, which allow you to build a package from its source with makepkg and then install it with pacman (Arch Linux’s package manager).

The AUR was created to organize and share new community packages and to speed up the addition of popular packages to the community repository.

In the AUR, a large number of new parcels are beginning to arrive at the official depots. Users can add their own package (PKGBUILD and related files) to the AUR.

The ASD community has the ability to vote for packages in the ASD. When the packet becomes sufficiently popular – provided it has a compatible license and good packaging techniques – it can be added to the Community repository, to which the pacman has direct access.

In short, AUR is a way for developers to make new software available to Arch Linux users before it is officially included in Arch repositories.

Do you need to use AUR? What is the risk?

Using the AUR is like crossing a road. If you’re careful, you’ll be fine.

If you are new to Linux, it is recommended not to use AUR until you have built up a knowledge base about Arch/Manjaro and Linux in general.

While it is true that anyone can download packages on the AUR, Trusted Users (TU) should keep an eye on what is being downloaded. Although the unions perform quality control on downloaded packages, there is no guarantee that AUR packages are well formed or not malicious.

In practice ASD seems quite safe, but in theory it can cause some damage, but only if you are not careful. A smart Arch user always checks the PKGBUILD and *.install files when creating packages from AUR.

In addition, the TU (Trusted Users) also removes AUR packages that are included in the kernel/extra/community, so that no name conflicts arise between them. AURs often contain developed versions of packages (cvs/svn/git/etc), but they have changed their name to foo-git.

As with AUR packets, pacman resolves dependencies and detects file conflicts. So you never have to worry about overwriting files from one package with those from another unless you use the -force option by default. If you do this, you are likely to have more serious problems than file conflicts.

How do I use the AUR?

The easiest way to use the AUR is via an AUR assistant. The AUR Wizard is a command line tool (some also have a graphical user interface) that allows you to search for packages published on the AUR and install them.

Installing the AUR Wizard on Arch Linux

Suppose you want to use the Yay AUR wizard. Make sure you have git installed on Linux. Then you clone the archive, browse to the folder and build the package.

Use these commands one after the other:

sudo pacman -S git
sudo git clone https://aur.archlinux.org/yay-git.git
cd yay
makepkg -si

After the installation you can use the yay command to install the package:

yay -S package name

Not that you need to use the AUR Wizard to install AUR packages. Expand the next section to see how you can use the AUR without the AUR.

Installing AUR packages without the AUR Wizard

If you do not want to use the AUR helpers, you can install the AUR packages yourself.

Once you have found the package you want to install on the AUR site, it is recommended to confirm the license, popularity, latest update, dependencies, etc. as an additional quality control step.

git-clone [packet URL]
cd [packet name]
makepkg -si

For example, for example… Suppose you want to install a packet of telegrams on your desktop:

clone git https://aur.archlinux.org/telegram-desktop-git.git
cd table guitar telegram
makepkg -si

Enabling AUR support in Manjaro Linux

AUR is not enabled by default, and you need to enable it via pamac. My laptop works with Manjaro cinnamon, but the steps are the same for all Manjaro fragrances.

Open Pamac (listed as software) :

What’s the AUR? How do I use AUR in Arch and Manjaro Linux?

Once you are in Pamako, go to your preferences as indicated below.

What’s the AUR? How do I use AUR in Arch and Manjaro Linux?

In the Options dialog box, go to the AUR tab, enable AUR support, check the box for updates, and close the dialog box.

What’s the AUR? How do I use AUR in Arch and Manjaro Linux?

You can now search for packages, and the packages belonging to the AUR can be identified by the label under the description of the package.

What’s the AUR? How do I use AUR in Arch and Manjaro Linux?

I hope you find this article useful and that you keep an eye on the social media for future L’Arche related topics.

What’s the AUR? How do I use AUR in Arch and Manjaro Linux?

Do you like what you read? Please share it with others.arch linux,enable aur manjaro,where are aur packages installed,yaourt,arch aur,manjaro repository vs arch repository,arch aur install,arch linux arm aur