Skip to content

Instantly share code, notes, and snippets.

@tnajdek
Last active August 29, 2015 13:57
Show Gist options
  • Save tnajdek/9628912 to your computer and use it in GitHub Desktop.
Save tnajdek/9628912 to your computer and use it in GitHub Desktop.
# get yourt as root. Even after fucked up change in arch where makepkg just won't fucking work as root
cd /tmp
pacman -S --noconfirm base-devel
curl -O https://aur.archlinux.org/packages/pa/package-query/package-query.tar.gz
tar zxvf package-query.tar.gz
chmod -R 777 package-query
cd package-query
sudo -u nobody makepkg -s --noconfirm
pacman -U --noconfirm *.tar.xz
cd ..
curl -O https://aur.archlinux.org/packages/ya/yaourt/yaourt.tar.gz
tar zxvf yaourt.tar.gz
chmod -R 777 yaourt
cd yaourt
sudo -u nobody makepkg -s --noconfirm
pacman -U --noconfirm *.tar.xz
cd ..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment