2012-06-30 21:34:11 +00:00
|
|
|
Pacman
|
|
|
|
======
|
|
|
|
|
|
|
|
Provides aliases and functions for the [Pacman][1] package manager and
|
|
|
|
frontends.
|
|
|
|
|
|
|
|
Settings
|
|
|
|
--------
|
|
|
|
|
2017-12-01 22:51:05 +00:00
|
|
|
It is possible to use a Pacman frontend with the pacman aliases provided by this
|
|
|
|
package as long as that frontend supports the same command line options (Such as
|
|
|
|
[Pacaur][2] or [Yaourt][3]).
|
|
|
|
|
|
|
|
To enable a Pacman frontend, for example, [Pacaur][2], add the following line to
|
2012-09-03 20:38:18 +00:00
|
|
|
*zpreztorc*:
|
2012-06-30 21:34:11 +00:00
|
|
|
|
2017-07-21 01:07:29 +00:00
|
|
|
```sh
|
2017-12-01 22:51:05 +00:00
|
|
|
zstyle ':prezto:module:pacman' frontend 'pacaur'
|
2017-07-21 01:07:29 +00:00
|
|
|
```
|
2012-06-30 21:34:11 +00:00
|
|
|
|
2012-09-03 20:38:18 +00:00
|
|
|
If you have enabled color globally in *zpreztorc*, you may disable it for certain
|
2012-06-30 21:34:11 +00:00
|
|
|
commands.
|
|
|
|
|
2012-09-03 20:38:18 +00:00
|
|
|
To disable `yaourt` highlighting, add the following line to *zpreztorc*:
|
2012-06-30 21:34:11 +00:00
|
|
|
|
2017-07-21 01:07:29 +00:00
|
|
|
```sh
|
|
|
|
zstyle ':prezto:module:pacman:yaourt' color 'no'
|
|
|
|
```
|
2012-06-30 21:34:11 +00:00
|
|
|
|
|
|
|
Aliases
|
|
|
|
-------
|
|
|
|
|
|
|
|
### Pacman
|
|
|
|
|
2012-08-15 11:59:25 +00:00
|
|
|
- `pac` is short for `pacman`.
|
2012-06-30 21:34:11 +00:00
|
|
|
- `paci` installs packages from repositories.
|
|
|
|
- `pacI` installs packages from files.
|
|
|
|
- `pacx` removes packages and unneeded dependencies.
|
|
|
|
- `pacX` removes packages, their configuration, and unneeded dependencies.
|
2012-07-03 17:58:32 +00:00
|
|
|
- `pacq` displays information about a package from the repositories.
|
|
|
|
- `pacQ` displays information about a package from the local database.
|
2012-06-30 21:34:11 +00:00
|
|
|
- `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.
|
|
|
|
|
|
|
|
### Frontends
|
|
|
|
|
|
|
|
#### Yaourt
|
|
|
|
|
2017-12-01 22:51:05 +00:00
|
|
|
Note that there are currently potential security concerns relating to yaourt, so
|
|
|
|
other frontends are recommended.
|
|
|
|
|
2012-06-30 21:34:11 +00:00
|
|
|
- `pacc` manages *.pac\** files.
|
|
|
|
|
|
|
|
Functions
|
|
|
|
---------
|
|
|
|
|
|
|
|
- `pacman-list-explicit` lists explicitly installed pacman packages.
|
|
|
|
- `pacman-list-disowned` lists pacman disowned files.
|
|
|
|
|
|
|
|
Authors
|
|
|
|
-------
|
|
|
|
|
2017-12-01 22:51:05 +00:00
|
|
|
*The authors of this module should be contacted via the [issue tracker][4].*
|
2012-06-30 21:34:11 +00:00
|
|
|
|
|
|
|
- [Benjamin Boudreau](https://github.com/dreur)
|
|
|
|
- [Sorin Ionescu](https://github.com/sorin-ionescu)
|
|
|
|
|
|
|
|
[1]: http://www.archlinux.org/pacman/
|
2017-12-01 22:51:05 +00:00
|
|
|
[2]: https://github.com/rmarquis/pacaur
|
|
|
|
[3]: http://archlinux.fr/yaourt-en
|
|
|
|
[4]: https://github.com/sorin-ionescu/prezto/issues
|