This is a draft cheat sheet. It is a work in progress and is not finished yet.
Overview
pacman <operation> [options] [targets] |
Operations
-D, --database |
Operate on the package database |
-Q, --query |
Query the package database |
-R, --remove |
Remove package(s) from the system |
-S, --sync |
Synchronize packages |
-T, --deptest |
Check dependencies |
-U, --upgrade |
Upgrade or add package(s) to the system |
-F, --files |
Query the files database |
-V, --version |
Display version and exit |
-h, --help |
Display syntax for the given operation |
|
|
Options
-b, --dbpath |
Specify an alternative database location |
-r, --root |
Specify an alternative installation root |
-v, --verbose |
Output paths such as as the Root, Conf File, DB Path, Cache Dirs |
--arch <arch> |
Specify an alternate architecture |
--cachedir <dir> |
Specify al alternative package cache location |
--color <when> |
Specify when to enable coloring |
--config <file> |
Specify an alternate configuration file |
--debug |
Display debug messages |
--gpgdir <dir> |
Specify a directory of files used by GnuPG to verify package signatures |
--hookdir <dir> |
Specify an alternate directory containing hook files |
--logfile <file> |
Specify an alternate log file |
--noconfirm |
Bypass any and all "Are you sure?" messages |
--confirm |
Cancels the effects of a previous --noconfirm |
--disable-download-timeout |
Disable defaults for low speed limit and timeout on downloads |
--sysroot <dir> |
Specify an alternative system root |
|
|
|