1
0
Fork 0
mirror of synced 2024-11-05 00:08:57 -05:00
zimfw/modules/pacman
Matt Hamilton 1801faf39c [pacman] keep old packages for auru
The choice to remove these packages should be up to the administrator.
Having an old -git package around after experiencing an upstream issue
is always handy.
2016-12-01 23:50:37 -08:00
..
helper_aur.zsh [pacman] keep old packages for auru 2016-12-01 23:50:37 -08:00
init.zsh [pacman] Add pacI alias to install without syncing 2016-10-25 16:11:16 -07:00
README.md add pacown and pacblame aliases 2015-12-17 11:28:30 -05:00

Pacman

Adds aliases for the pacman package manager.

Also includes optional helper(s).

.zimrc Configuration

  • zpacman_frontend='helper_here' Set helper_here to a wrapper if applicable (powerpill, pacmatic, etc).
  • zpacman_helper=(aur) add/remove any helper scripts to be loaded here.

Helpers

aur

provides simple AUR helper aliases.

  • aurb package_name clone the package from the AUR, build, and install.
  • aurd package_name clone the package from the AUR, but do not build.
  • auru run inside a directory created with aurb, this will update, build, and install a package.

Aliases

Build

  • pacb build package in the current directory, cleanup, and install.

Install

  • paci install, sync, and upgrade packages.
  • pacu install, sync, and upgrade packages (forcibly refresh package list).
  • pacU install packages from pkg file.
  • pacd install all packages in current directory.

Remove

  • pacr remove package and unneeded dependencies.
  • pacrm remove package, unneded dependencies, and configuration files.

Query

  • pacq query package information from remote repository
  • pacQ query package information from local repository
  • pacs search for package in the remote repository
  • pacS search for package in the local repository

Orphans

  • pacol list orphan packages
  • pacor remove all orphan packages

Ownership

  • pacown list all files provided by a given package
  • pacblame show package(s) that own a specified file