From ArchWiki
Revision as of 16:08, 20 September 2011 by EROSMRW (talk | contribs) (Using yaourt)
Jump to navigation Jump to search

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.

Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어

External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

Warning: Yaourt is an unofficial, third-party script that is unsupported by the Arch Linux developers.
Note: Please report bugs at archlinux.fr bugtracker.

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 thousands of PKGBUILDs in the AUR, in addition to the many thousands of available Arch Linux 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.


AUR package: yaourt

First, install the "base-devel" package, so that you will not miss utilities like Template:Codeline or Template:Codeline later on. Template:Cli

Then follow the instructions on http://archlinux.fr/yaourt-en#get_it

Proxy Settings

If you access the Internet through an HTTP proxy, you may have to set the environment variables Template:Codeline and Template:Codeline in your Template:Filename (setting only Template:Codeline will prevent you from downloading the package from AUR):

export http_proxy='http://proxy.hostname.com:port'
export https_proxy='https://proxy.hostname.com:port'

For more information, check Template:Codeline's man page.

sudo does not keep environment variables like Template:Codeline, so if you use sudo, you must add:

Defaults env_keep += "http_proxy"
Defaults env_keep += "https_proxy"

to Template:Filename.

Warning: It is much safer to not edit Template:Filename directly but to use Template:Codeline instead.

Using yaourt

You can install AUR packages with


You can update your system including AUR packages with: Template:Cli

However, due to building packages as root is dangerous, the preferred way is: Template:Cli

The package file will be generated by Template:Codeline

Warning: Please remember that yaourt does not currently deal with package replacement. Using it to update the system is not recommended.


Search and install: Template:Cli Sync database, upgrade packages, search the AUR and devel (all packages based on cvs, svn, git, bzr(...)-version) upgrades: Template:Cli Build package from source: Template:Cli Check, edit, merge or remove *.pac* files: Template:Cli Get a PKGBUILD (support splitted package): Template:Cli Build and export package, its sources to a directory: Template:Cli Backup database: Template:Cli Query backup file: Template:Cli

See also: Pacman and Pacman Tips.

Warning: You should use pacman for anything not related to the AUR because yaourt may not fully take care of necessary steps such as replaces.

Yaourt asking for password twice

If you disable the Template:Codeline password timeout by adding

Defaults timestamp_timeout=0

to Template:Filename, then yaourt will ask for your password twice each time you try to perform an operation that requires root. To prevent this, add:


to Template:Filename or to Template:Filename