Skip to content

Instantly share code, notes, and snippets.

@android10
Last active February 16, 2024 03:52
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save android10/9c906b5f281e5efcab4b561837c307fa to your computer and use it in GitHub Desktop.
Save android10/9c906b5f281e5efcab4b561837c307fa to your computer and use it in GitHub Desktop.
SCRIPT to install Pacaur on Arch Linux: https://wiki.archlinux.org/index.php/AUR_helpers
#ATTENTION: Check the Troubleshooting items below if you have problems, you can also visit my website where I wrote about it.
# LINK: https://fernandocejas.com/blog/engineering/2020-12-28-install-arch-linux-full-disk-encryption/#aur-helper
#!/bin/bash
#Make sure the system is up to date.
sudo pacman -Syu --noconfirm
#Install dependency packages we'll need to build Pacaur on Arch.
sudo pacman -S binutils make gcc fakeroot expac yajl git --noconfirm
#Create a temporary working directory for installing Pacaur.
mkdir -p ~/tmp/pacaur_install
cd ~/tmp/pacaur_install
#Install pacaur from AUR: Download the files from git and build a .tar.xz file then install it.
curl -o PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=pacaur
makepkg -i PKGBUILD --noconfirm
sudo pacman -U pacaur*.tar.xz --noconfirm
#Now clean up system: deleting temporary directory.
rm -r ~/tmp/pacaur_install
cd -
@android10
Copy link
Author

hey @aiky967 I would suggest to use yay or paru, pacaur has not been maintained for a while so I would suggest to the other alternatives.

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