-
-
Save mike-koch/5406ab1a22f4baf0b6ba9237cb332d75 to your computer and use it in GitHub Desktop.
A simple shell script to quickly / easily install "pacaur" on archlinux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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.github.com/mike-koch/5406ab1a22f4baf0b6ba9237cb332d75/raw/pacaur_install.sh | bash | |
# Make sure our shiny new arch is up-to-date | |
echo "Checking for system updates..." | |
sudo pacman -Syu | |
# Create a tmp-working-dir an navigate into it | |
mkdir -p /tmp/pacaur_install | |
cd /tmp/pacaur_install | |
# If you didn't install the "base-devil" group, | |
# we'll need those. | |
sudo pacman -S binutils make gcc fakeroot --noconfirm | |
# Install pacaur dependencies from arch repos | |
sudo pacman -S expac yajl git --noconfirm | |
# Install "cower" from AUR | |
curl -o PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=cower | |
makepkg -Acs 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 -Acs PKGBUILD | |
sudo pacman -U pacaur*.tar.xz --noconfirm | |
# Clean up... | |
cd ~ | |
rm -r /tmp/pacaur_install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment