Show Menu
Cheatography

Package Manager

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Overview

pacman <op­era­tio­n> [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
Synchr­onize packages
-T, --deptest
Check depend­encies
-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 altern­ative database location
-r, --root
Specify an altern­ative instal­lation root
-v, --verbose
Output paths such as as the Root, Conf File, DB Path, Cache Dirs
--arch <ar­ch>
Specify an alternate archit­ecture
--cachedir <di­r>
Specify al altern­ative package cache location
--color <wh­en>
Specify when to enable coloring
--config <fi­le>
Specify an alternate config­uration file
--debug
Display debug messages
--gpgdir <di­r>
Specify a directory of files used by GnuPG to verify package signatures
--hookdir <di­r>
Specify an alternate directory containing hook files
--logfile <fi­le>
Specify an alternate log file
--noco­nfirm
Bypass any and all "Are you sure?" messages
--confirm
Cancels the effects of a previous --noco­nfirm
--disa­ble­-do­wnl­oad­-ti­meout
Disable defaults for low speed limit and timeout on downloads
--sysroot <di­r>
Specify an altern­ative system root