Tuesday, August 19, 2014

[Level 1] HOWTO Installing Packages from Yaourt AUR in Archlinux.

If you want to install packages from Yaourt(Yet AnOther User Repository Tool ) AUR(Archlinux User Repository), you could follow the following steps. a. Install yaourt by downloading source code.
1. Install development environment.
$ sudo pacman -S base-devel
$ sudo pacman -S yajl

2. Download, build and install package-query
$ curl -O https://aur.archlinux.org/packages/pa/package-query/package-query.tar.gz
$ tar zxvf ./package-query.tar.gz
$ cd ./package-query
$ makepkg -si

3. Download, build and install Yaourt
$ wget https://aur.archlinux.org/packages/ya/yaourt/yaourt.tar.gz
$ tar zxvf ./yaourt.tar.gz
$ cd ./yaourt
$ makepkg -si
b. Install yaourt from repository.
1. setup repository
$ sudo su
# cat >> /etc/pacman.conf <<EOF
SigLevel = Never
Server = http://repo.archlinux.fr/$arch
2. update repository and install yaourt
# pacman -Syu
# pacman -Ss yaourt

Wish this helps.

Stanley Huang