How to install yay (another great AUR helper)
Update on 2018/10/16
[Recommended] Use yay
to replace yaourt
If you already got yaourt
just type:
yaourt -S yay
Otherwise, you can also install by makepkg
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
[Deprecated]Install yaourt
yaourt
sudo vim /etc/pacman.conf
Then, add following lines to the end.
[archlinuxcn]
Server = http://repo.archlinuxcn.org/$arch
Install the GPG key.
sudo pacman -S archlinuxcn-keyring
Finally, update and install yaourt.
sudo pacman -Sy yaourt
Done!