Skip to content

Instantly share code, notes, and snippets.

@InAnimaTe
Forked from tadly/pacaur_install.sh
Created August 25, 2016 21:30
Show Gist options
  • Save InAnimaTe/e6f8fd4818412ab8b524ef86b8aadbf5 to your computer and use it in GitHub Desktop.
Save InAnimaTe/e6f8fd4818412ab8b524ef86b8aadbf5 to your computer and use it in GitHub Desktop.
A simple shell script to quickly / easily install "pacaur" on archlinux
#!/bin/sh
# If you are new to arch, I encourage you to at least read and understand what
# this script does befor blindley running it.
# That's why I didn't make a one-liner out of it so you have an easier time
# reading and understanding it :)
#
# This scripts purpose is purly to save you a few seconds on your new installation.
#
# Enjoy your time on an awesome system. Arch FTW!
# Run the following from a terminal to install pacaur:
# $ curl -s https://gist.githubusercontent.com/Tadly/0e65d30f279a34c33e9b/raw/pacaur_install.sh | bash
# CREATE A TMP-WORKING-DIR AN NAVIGATE TO IT
mkdir -p /tmp/pacaur_install
cd /tmp/pacaur_install
# INSTALL DEPENDENCY "expac", "yajl" AND "git" FROM EXTRA
sudo pacman -S expac yajl git --noconfirm
# INSTALL DEPENDENCY "cower" FROM AUR
curl -o PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=cower
makepkg PKGBUILD --skippgpcheck
sudo pacman -U cower*.tar.xz --noconfirm
# INSTALL "pacaur" FROM AUR
curl -o PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=pacaur
makepkg PKGBUILD
sudo pacman -U pacaur*.tar.xz --noconfirm
# CLEAN THE TMP-WORKING-DIR
cd ~
rm -r /tmp/pacaur_install
@InAnimaTe
Copy link
Author

I use this script personally do install pacaur on new boxes so it should work for you!

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