1. Home
  2. Docs
  3. Pacman
  4. Package management in EndeavourOS

Package management in EndeavourOS

By: Manuel
Created: 2020-Jan-27
Updated: –

EndeavourOS is based on Arch, so the basic package manager is pacman. If you are more familiar with other Linux distros, the following page may help with pacman: https://wiki.archlinux.org/index.php/Pacman/Rosetta

Or read more at the wiki here: https://endeavouros.com/docs/pacman

Arch provides a few official package repositories (core, extra, community, multilib, …). They are officially supported by the Arch developers, thus they should be very reliable.

All Arch packages are listed at https://www.archlinux.org/packages . The package list can be sorted in various ways.

There is also user-supported software available to Arch users. It is found under the AUR (Arch User Repository) umbrella. Please take a look at https://wiki.archlinux.org/index.php/Arch_User_Repository .
Note that AUR software is not supported by the Arch developers, so the quality and reliability of AUR software may vary.

AUR software packages are shown at https://aur.archlinux.org/packages.

Program makepkg can build software from the AUR PKGBUILDs (a PKGBUILD file contains package build instructions), and the resulting packages can be installed using pacman.

For example, building pamac-aur-git can be done like this:

 cd /tmp
 wget -O PKGBUILD "https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=pamac-aur-git"
 wget -O pamac.install "https://aur.archlinux.org/cgit/aur.git/plain/pamac.install?h=pamac-aur-git"
 makepkg -cf
 sudo pacman -U pamac-aur-git*.xz

The above shows that building AUR software requires some manual work when using pure Arch tools.

EndeavourOS provides another package management tool, yay (it is directly built from the AUR). It is a command-line-tool like pacman, and the usage syntax is quite similar to pacman. Program yay supports both Arch packages and AUR software.

So, the above example can be written with yay as follows:

yay -S pamac-aur-git

Other package management tools

There are unofficial and more or less AUR related package managing programs under the name ‘AUR helpers’, see https://wiki.archlinux.org/index.php/AUR_helpers.

Some of the AUR helpers provide a graphical user interface, which may be helpful. Note that the above examples show how to install one of the AUR helpers.

Compared to Arch package management tool pacman, AUR helpers, in general, may have less support or may be less reliable. Having said that, some of the AUR helpers have gained popularity.

Conclusions

Creating a reliable package management tool is a very challenging job, and a reliable package manager is essential to the trouble-free system operation. Thus EndeavourOS provides only the tools (pacman, makepkg, and yay) mentioned above.

Follow us
Was this article helpful to you? Yes No

How can we help?