Paru
Setting up paru
Installing AUR packages with paru is a bit tricky, as root isn’t allowed to build packages.
The current way to work around this is to create a dedicated user, which will run paru for root.
It needs to be able to call pacman though, so there’s a bit of setup that needs to be done.
At this point of this writing, bois still expects this user to be named aur.
- Create an
auruser.useradd --home-dir /var/lib/aur --create-home aur - Allow
aurto call pacman as withrootpermissions to install packages.aur ALL=(ALL) NOPASSWD: /usr/bin/pacman
Configuration
Packages can be added by adding a package.paru section to either a group.yml or the host.yml.
For example:
# Packages that should be installed when this group is enabled.
packages:
paru:
- pueue-git
All pacman packages that’re defined in the host.yml and of all enabled group.yml files will then be installed for the given host.