Yaourt is community-contributed package forked from official pacman which adds access to the AUR packages and able to install aur packages automatically using PKGBUILDs on AUR packages.

Before install a packages from AUR, Yaourt will download the PKGBUILDS (Build Instructions) of the package, build the packages using makepkg (it will take times), then install the built packages.

Install Yaourt

Edit the /etc/pacman.conf file using a text editor such as nano:
Then add following:
Update the package database then install following packages:

Install packages with Yaourt

To install a package from AUR using Yaourt with the confirmation dialog, follow the following commands:

To install a package from AUR using Yaourt without the confirmation dialog, follow the following commands:

Troubleshooting

Failed to set default locale

It probably the system locale preferences is not configured properly, try to re-configure the locale preferences:

Uncomment the locales in /etc/locale.gen to your locale (e.g. EN)

Then generate the locale with:

Set locale preferences in /etc/locale.conf and possibly $HOME/.config/locale.conf to your locale (e.g. EN): (case sensitive)

echo LANG=en_US.UTF-8 > /etc/locale.conf

Warning: The locale configuration is case sensitive if any characters mistyped it will affect the locale configuration, reboot to take effects.

If above steps doesn’t work and you’ve still received “Failed to set default locale” try this alternative steps:

Edit the .bashrc file using a text editor such as nano:

Then add following (change it to your locale e.g. EN):

Failed to find a command (Command not found)

Command not found means the command that yaourt need to compile the package is missing, you can install the missing command: (e.g. automake/aclocal: command not found)

If you can’t find the missing command to install, try to find it from Search engines such as DuckDuckGo

See also

  1. yaourt a pacman frontend – ArchLinux.fr
  2. Locale warnings everywhere – Arch hacking and troubleshooting
  3. Image by dxiri / CC BY 2.0