Pacman

From wikinotes
Revision as of 21:19, 4 November 2023 by Will (talk | contribs) (→‎Misc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Archlinux's package manager.
You may also be insterested in arch ABS.

Documentation

archwiki pacman https://wiki.archlinux.org/index.php/Pacman
archwiki PKGBUILD https://wiki.archlinux.org/title/PKGBUILD
archwiki mirrors https://wiki.archlinux.org/index.php/Mirrors
latest mirrorlist https://archlinux.org/mirrorlist/?ip_version=4

Locations

/etc/pacman.conf configure which repos to pull from (core, extra, communnity, multilib)
/etc/pacman.d/mirrorlist configure which sources to pull from (waterloo, queensu etc)
/var/cache/pacman/pkg currently installed programs. Can use these archives to rollback to older versions of program.
/var/log/pacman.log history of pacman operations
/var/lib/pacman/db.lck pacman lockfile

Notes

pacman usage
pacman configuration
pacman packages
pacman troubleshooting

Pacman Tools

Misc

pacman-contrib user scripts for managing pacman repos

Local Caching

pacman pacredir share pacman downloaded packages over local network
pacman pacserve share pacman downloaded packages over local network
pacman aurutils scripts for working with aur, sharing over local network