← 返回命令列表

Linux command

pacaur 命令

文本

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

常用示例

Synchronize and update

pacaur -Syu

Example

pacaur -Syua

Install

pacaur -S [package]

Remove

pacaur -Rs [package]

Search

pacaur -Ss [keyword]

List

pacaur -Q

Search installed

pacaur -Qs [keyword]

Edit

pacaur -S -e [package]

说明

pacaur is an AUR (Arch User Repository) helper for Arch Linux that wraps pacman functionality while adding support for building and installing packages from the AUR. It maintains pacman's command syntax, making it familiar to Arch users while extending functionality to include user-contributed packages. The tool automates the process of downloading PKGBUILDs from the AUR, resolving dependencies, building packages with makepkg, and installing them. It can handle both official repository packages and AUR packages in a single operation.

参数

-S, --sync
Synchronize packages (install/upgrade from repos and AUR)
-Q, --query
Query the local package database
-R, --remove
Remove packages
-y, --refresh
Download fresh package databases
-u, --sysupgrade
Upgrade all out-of-date packages
-a, --aur
Restrict operation to AUR packages only
-r, --repo
Restrict operation to official repositories only
-e, --edit
Edit build files before compilation
-s, --search
Search for packages matching pattern
-i, --info
Display package information
-c, --clean
Remove old packages from cache
--devel
Consider development packages during upgrade
--needed
Do not reinstall up-to-date packages
--noconfirm
Do not ask for confirmation
--noedit
Do not prompt to edit PKGBUILDs

FAQ

What is the pacaur command used for?

pacaur is an AUR (Arch User Repository) helper for Arch Linux that wraps pacman functionality while adding support for building and installing packages from the AUR. It maintains pacman's command syntax, making it familiar to Arch users while extending functionality to include user-contributed packages. The tool automates the process of downloading PKGBUILDs from the AUR, resolving dependencies, building packages with makepkg, and installing them. It can handle both official repository packages and AUR packages in a single operation.

How do I run a basic pacaur example?

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

What does -S, --sync do in pacaur?

Synchronize packages (install/upgrade from repos and AUR)