Yet AnOther User Repository Tool. Yaourt is a community-contributed wrapper for pacman which adds seamless access to the AUR, allowing and automating package compilation and installation from your choice of the 8000+ PKGBUILDs in the AUR, in addition to the many thousands of available Arch binary packages. Yaourt uses the same exact syntax as pacman, which saves you from relearning an entirely new method of system maintenance, but also adds new options. Yaourt expands the power and simplicity of pacman by adding even more useful features and provides pleasing, colorized output, interactive search mode, and much more. You will almost certainly want this.
The traditional way to install Yaourt is through the actual AUR. In learning how to install yaourt this way, you will have the opportunity to learn how the AUR (and PKGBUILD)works.
Open a web browser and head to the yaourt AUR page
Under package details download the tarball
Unpack the tarball
tar zxvf yaourt.tar.gz
Navigate into the new directory
At this point; Make sure that you check the contents of the PKGBUILD and the yaourt.install files! This cannot be stressed enough, don't worry, they aren't too compilcated. Just take a look, if you see anything suspicious, get on irc or the forum and ask about it.
more yaourt.install more PKGBUILD
If everything looks good. We are ready to build the packages.
After this process is complete, you will see several new files and directories. You should be interested in the file that ends with *.pkg.tar.gz (in this case mine is named; yaourt-0.9.2-i686.pkg.tar.gz)
Now it's time to use pacman to install yaourt. Be sure to change the package name to the actual name of your package, don't just copy and paste this line
pacman -U yaourt-0.9.2-i686.pkg.tar.gz
Congratulations! You're done! Remember, this is the SAME process for almost all AUR PKGBUILDs.
See the yaourt man page for more.
The easiest way to install Yaourt is to add the yaourt repository to your /etc/pacman.conf:
[archlinuxfr] Server = http://repo.archlinux.fr/i686
for i686 or:
[archlinuxfr] Server = http://repo.archlinux.fr/x86_64
Sync and install:
pacman -Sy yaourt
If you wish, you may then create your own command aliases in ~/.bashrc to save typing:
nano ~/.bashrc alias p="pacman" alias y="yaourt"
Save and then source: