2021-05-04 01:59:31 +00:00
|
|
|
# Pacman
|
2012-06-30 21:34:11 +00:00
|
|
|
|
|
|
|
Provides aliases and functions for the [Pacman][1] package manager and
|
|
|
|
frontends.
|
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
## Settings
|
2012-06-30 21:34:11 +00:00
|
|
|
|
2017-12-01 22:51:05 +00:00
|
|
|
It is possible to use a Pacman frontend with the pacman aliases provided by this
|
2018-01-24 21:47:20 +00:00
|
|
|
package as long as that frontend supports the same command line options (The
|
|
|
|
[AUR Helpers][2] page has a good comparison which lists if the command line
|
|
|
|
options are pacman compatible).
|
2017-12-01 22:51:05 +00:00
|
|
|
|
2018-01-24 21:47:20 +00:00
|
|
|
Please note that installing packages with an AUR Helper is not officially
|
|
|
|
supported by Archlinux. It is currently recommended to manually build AUR
|
2018-01-24 22:01:14 +00:00
|
|
|
packages using the [provided instructions][3]. The [aurutils][4] project has a
|
2018-01-24 21:47:20 +00:00
|
|
|
set of small utilities to make this easier.
|
2012-06-30 21:34:11 +00:00
|
|
|
|
2021-05-05 17:59:01 +00:00
|
|
|
To enable a different Pacman frontend, add the following to
|
|
|
|
_`${ZDOTDIR:-$HOME}/.zpreztorc`_, and replace `'<frontend>'` with the name
|
|
|
|
of the preferred frontend.
|
2012-06-30 21:34:11 +00:00
|
|
|
|
2017-07-21 01:07:29 +00:00
|
|
|
```sh
|
2021-05-05 17:59:01 +00:00
|
|
|
zstyle ':prezto:module:pacman' frontend '<frontend>'
|
2017-07-21 01:07:29 +00:00
|
|
|
```
|
2012-06-30 21:34:11 +00:00
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
## Aliases
|
2012-06-30 21:34:11 +00:00
|
|
|
|
|
|
|
### Pacman
|
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
- `pac` is short for `pacman`.
|
|
|
|
- `paci` installs packages from repositories.
|
|
|
|
- `pacI` installs packages from files.
|
|
|
|
- `pacx` removes packages and unneeded dependencies.
|
|
|
|
- `pacX` removes packages, their configuration, and unneeded dependencies.
|
|
|
|
- `pacq` displays information about a package from the repositories.
|
|
|
|
- `pacQ` displays information about a package from the local database.
|
|
|
|
- `pacs` searches for packages in the repositories.
|
|
|
|
- `pacS` searches for packages in the local database.
|
|
|
|
- `pacu` synchronizes the local package and Arch Build System (requires `abs`)
|
|
|
|
databases against the repositories.
|
|
|
|
- `pacU` synchronizes the local package database against the repositories then
|
|
|
|
upgrades outdated packages.
|
|
|
|
- `pacman-list-orphans` lists orphan packages.
|
|
|
|
- `pacman-remove-orphans` removes orphan packages.
|
2012-06-30 21:34:11 +00:00
|
|
|
|
|
|
|
### Frontends
|
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
## Functions
|
2012-06-30 21:34:11 +00:00
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
- `aurget` clone an aur package.
|
|
|
|
- `pacman-list-explicit` lists explicitly installed pacman packages.
|
|
|
|
- `pacman-list-disowned` lists pacman disowned files.
|
2012-06-30 21:34:11 +00:00
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
## Authors
|
2012-06-30 21:34:11 +00:00
|
|
|
|
2021-05-05 17:59:01 +00:00
|
|
|
_The authors of this module should be contacted via the [issue tracker][5]._
|
2012-06-30 21:34:11 +00:00
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
- [Benjamin Boudreau](https://github.com/dreur)
|
|
|
|
- [Sorin Ionescu](https://github.com/sorin-ionescu)
|
2012-06-30 21:34:11 +00:00
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
[1]: https://www.archlinux.org/pacman/
|
|
|
|
[2]: https://wiki.archlinux.org/title/AUR_helpers#Comparison_tables
|
|
|
|
[3]: https://wiki.archlinux.org/title/Arch_User_Repository#Installing_and_upgrading_packages
|
2018-01-24 21:47:20 +00:00
|
|
|
[4]: https://github.com/AladW/aurutils
|
|
|
|
[5]: https://github.com/sorin-ionescu/prezto/issues
|