← 返回命令列表

Linux command

yaourt 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Update

yaourt -Syua

Install

yaourt -S [package]

Remove

yaourt -Rs [package]

Search

yaourt -Ss [query]

List

yaourt -Q

Download and build

yaourt -Sb [package]

Get information

yaourt -Si [package]

说明

yaourt (Yet AnOther User Repository Tool) is an AUR helper for Arch Linux that wraps pacman with additional features for building packages from the Arch User Repository. It combines official repository and AUR package management in a single interface with colorized output, interactive search/install, and orphan detection. Since the majority of yaourt's options are the same as pacman's, it can be used as a drop-in replacement.

参数

-S _PACKAGE_
Install a package from repositories or AUR.
-Syua
Synchronize databases and update all packages including AUR.
-Sb _PACKAGE_
Download and build a package without installing.
-Rs _PACKAGE_
Remove a package and its unneeded dependencies.
-Ss _QUERY_
Search for a package in the sync databases and AUR.
-Si _PACKAGE_
Display detailed information about a package.
-Q
List installed packages.
-Qm
List foreign (AUR-installed) packages.
--noconfirm
Do not ask for any confirmation.

FAQ

What is the yaourt command used for?

yaourt (Yet AnOther User Repository Tool) is an AUR helper for Arch Linux that wraps pacman with additional features for building packages from the Arch User Repository. It combines official repository and AUR package management in a single interface with colorized output, interactive search/install, and orphan detection. Since the majority of yaourt's options are the same as pacman's, it can be used as a drop-in replacement.

How do I run a basic yaourt example?

Run `yaourt -Syua` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -S _PACKAGE_ do in yaourt?

Install a package from repositories or AUR.