Skip to content

Instantly share code, notes, and snippets.

@theoparis
Created January 31, 2024 23:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theoparis/78da12286abb8f50e26cb680bedaaa53 to your computer and use it in GitHub Desktop.
Save theoparis/78da12286abb8f50e26cb680bedaaa53 to your computer and use it in GitHub Desktop.
How to speed up pacman on Arch Linux

Install Dependencies

These steps require a non-root user and doas!

doas pacman -S powerpill

cd /tmp
git clone https://aur.archlinux.org/paru-bin.git
cd paru-bin
makepkg -si
cd ..
rm -rf paru-bin

Change SigLevel

To avoid getting errors about missing signatures, edit /etc/pacman.conf and change the line containing SigLevel to SigLevel = PackageRequired.

Shell Alias

Append the following alias to your shell configuration (e.g. ~/.zshrc):

alias paru="/usr/bin/paru --pacman powerpill"

Installing Packages

Now you can paru -Syyu to update your system and paru -S PACKAGE to install new packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment