How to Install Pamac GUI Package Manager in Arch Linux

Missing a software center in Arch Linux? You can install and use Manjaro's Pamac package manager in Arch without much trouble.
Warp Terminal

Pamac is the package manager of Manjaro based on libalpm which also supports Appstream, AUR, Flatpak and Snaps. Being an alternative to pacman it focuses on providing an easy-to-use interface whether it is GUI or CLI.

Arch Linux relies on the pacman commands for package management. You may get a GUI-based software center from your desktop environment.

However, if you want to install the fabulous Pamac package manager in Arch Linux, you could do that.

In this tutorial, Iโ€™ll show you two methods to do that:

  • Installing from the AUR
  • Installing from the Chaotic-AUR (Recommended as the developers of Garuda Linux sign packages)

Both are command line methods, but you are an Arch user, and I believe you can handle the command line a bit, can you not?

Method 1: Installing Pamac from the AUR

If you have an AUR helper like Yay installed already, getting Pamac is really easy.

yay -S pamac-aur

Otherwise, youโ€™ll have to go the challenging route.

First, update your system as Arch is a rolling release distribution and do not support partial upgrades. Enter the following command in the terminal to update your Arch Linux system.

sudo pacman -Syu

Then you need to install all the packages of the base-devel package group and git by entering the command below.

sudo pacman -S --needed base-devel git

Now you need to build and install archlinux-appstream-data-pamac, libpamac-aur and pamac-aur respectively.

Enter the following commands replacing the package name with packages you want to install for all the 3 packages.

git clone https://aur.archlinux.org/archlinux-appstream-data-pamac.git
cd archlinux-appstream-data-pamac
makepkg -si

In this case, the AUR package pamac-aur have other AUR packages as dependencies. So you have to build and install them before installing the main package. This hassle can be avoided by using an AUR helper.

Building and installing packages from AUR may fail due to outdated PKGBUILD and there are plenty of them in the AUR. Also, you need to manually update AUR packages if there is an update, as AUR packages donโ€™t update when you update your system with Pacman.

In my opinion, you should use the next method. You donโ€™t have to bother building and updating Pamac manually when there is an update.

Chaotic-AUR is a repository for Arch Linux maintained by the developers of Garuda Linux. Packages of this repo are signed and can be trusted. When you add this repo, you can install Pamac using Pacman directly.

Letโ€™s add the repo by entering the following commands.

sudo pacman-key --recv-key FBA220DFC880C036 --keyserver keyserver.ubuntu.com
sudo pacman-key --lsign-key FBA220DFC880C036
sudo pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst' 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst'

The above command just installs the keyring and mirrorlist for the repo. You also have to add the repo to the end of /etc/pacman.conf. Here I will use nano to edit the file.

sudo nano /etc/pacman.conf

The resulting file should look something like this.

...
# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

[chaotic-aur]
Include = /etc/pacman.d/chaotic-mirrorlist

Now update your system using Pacman and install Pamac by the entering the following command.

sudo pacman -Syu pamac-aur

Once installed, you can access the GUI from Application Menu and CLI using the pamac command.

Pamac GUI
Pamac GUI
Pamac CLI
Pamac CLI

In case you donโ€™t like Pamac, you can remove it along with its dependencies and configuration files using pacman via the following command:

sudo pacman -Rns pamac-aur

Conclusion

When I started using Arch Linux, I was also very skeptical about installing AUR packages as they took a long time to build and many times refused to build due to outdated PKGBUILD. I wish we had Chaotic-AUR earlier kudos to the Garuda Linux developers.

Note that there are other variants of Pamac available in the AUR which support Flatpak and Snaps. But in this tutorial, I have mentioned the variant with only Appstream and AUR support.

Whatโ€™s your opinion on adding a 3rd party repos like Chaotic-AUR on Arch Linux? Which method would you use to install Pamac?

About the author
Anuj Sharma

Anuj Sharma

A Linux hobbyist who lives in the Himalayas.

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

itsfoss happy penguin

Great! Youโ€™ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.