Linux Command Library


more than a frontend to pacman

- Synchronize and update all packages (including AUR):
yaourt -Syua

- Install a new package (includes AUR):
yaourt -S package-name

- Remove a package and its dependencies (includes AUR packages):
yaourt -Rs package-name

- Search the package database for a keyword (including AUR):
yaourt -Ss package-name

- List installed packages, versions, and repositories (AUR packages will be listed under the repository name 'local'):
yaourt -Q

yaourt <operation> [options] [packages]

yaourt (search pattern|package file)

Yaourt is a pacman frontend with a lot of features.

AUR/ABS support, colorized output, interactive search/install, save/restore Alpm database, orphans detection, manage .pac* files, ...

Since the majority of those options are the same as pacman’s (pacman(8)), this manual page will focus on the yaourt-specific ones.

−B, −−backup

Backup or restore alpm local database. See Backup Options.


Manage .pac* files. See Clean Options.

−G, −−getpkgbuild <package>


−P, −−pkgbuild <directory>

Build package from PKGBUILD found in a local directory.

−Q, −−query

Query local database + Can sort packages by installation date, possibility to delete orphans. See Query Options.

−R, −−remove

Remove package(s) from the system.

−U, −−upgrade

Upgrade or add package(s) to the system.

−S, −−sync

Synchronize packages + AUR support, building from sources. See Sync Options.


Show some statistics about your packages.

−V, −−version

Display version and exit.

−h, −−help

Display a short help.


Force color.

−−export <dir>

Export built packages and their sources (makepkg(8)) to <dir>.


Force installation or updates.


Allow curl & package−query to perform "insecure" SSL connections


Disable color.


Don’t ask for confirmation.


Always ask for confirmation, even when the configuration says otherwise.


Use $PAGER to show search results.

−−tmp <dir>

Use <dir> as temporary folder. default to /tmp

yaourt −B

Backup alpm local database in current dir.

yaourt −B <dir>

Backup alpm local database in <dir>/pacman−date.tar.bz2

yaourt −B <file>

Restore alpm local database from <file>.

Manage .pacnew, .pacsave and .pacorig files.

−c, −−clean

Clean all these files.

Build package from PKGBUILD found in a local directory..

−i, −−install

Also install the package.


Show packages that conflict with one of the targets.


Show packages that depend on one of the targets.


Show packages that provide one of the targets.


Show packages that replace one of the targets.


Query the package names only (names and descriptions are queried by default).

−−backupfile <file>

Query <file> instead of alpm/aur.


List queries result sorted by installation date.

−d, −−deps

Filter output to packages installed as dependencies.

−t, −−unrequired

Filter output to packages not required by any currently installed package. With −d, yaourt list all real orphans and ask for deletion.

−a, −−aur

Also search in AUR database. With −u or −−sysupgrade, upgrade aur packages that are out of date. With −Qm, display more info about foreign package.

−A, −−ignorearch

Pass −A or −−ignorearch option to makepkg(8) to ignore PKGBUILD(5) arch field.

−−aur−url <AUR url>

Specify a custom AUR url (default to

−b, −−build

Build from sources, ABS for official packages, or AUR if packages is not found. Specify this option twice to build all dependencies.


With −u or −−sysupgrade, search an update for devel packages.

−i, −−info

Display dependency and other information for a given package. This will search through all repositories and AUR database for a matching package.


Search packages by maintainer instead of name (AUR only). Empty query will search for orphaned packages.

−−m-arg <opts>

Pass additional options to makepkg(8). To pass more than one option, put them in quotes.

−u, −−sysupgrade

Upgrade all packages that are out of date.

With AUTOSAVEBACKUPFILE (yaourtrc(5)), yaourt will search and save all files marked as backup. These files can be used later with yaourt −C to automerge current configuration files with new ones.

See yaourtrc(5) for more details on configuring yaourt using the yaourtrc file.


Set an alternative makepkg(8) command.


Set an alternative pacman(8) command.


Set a temporary folder to use.


Set a user defined colors. (see package-query(8))

yaourtrc(5), makepkg(8), pacman(8)

See the yaourt website at−en/ for more info.

Original author:


Current maintainers:

- larchunix <>

- Igor <>

- Skunnyk <>

Past maintainers:

- Tuxce <>

play store download app store download
Sonnenallee 29, 12047 Berlin, Germany

Privacy policy
Successfully copied