PACCACHE(8)
πΈ PACCACHE(8) β the pacman-contrib manual, bestie edition π
okay so real talk: paccache is a flexible pacman cache cleaning utility and honestly? she's that girl. welcome to the glow-up of the manpage for paccache(8), straight out of the pacman-contrib crew. let's get into it β¨
π NAME
paccache β flexible pacman cache cleaning utility π
β¨ SYNOPSIS
paccache <operation> [options] [target ...]
π DESCRIPTION
so basically, paccache removes old packages from the pacman cache directory. that's the whole vibe. and by default? the last three versions of a package are kept, no cap. she's generous like that π«Ά
π₯ OPERATIONS
pick one bestie, this is the main character decision:
-d,--dryrunβ does a dry run, so she's only finding candidate packages. no deleting, no moving, just vibes and intel π-m,--move <dir>β moves candidate packages out of the cache directory and into dir π¦-r,--removeβ actually removes candidate packages from the cache directory. gone. periodt π
π OPTIONS
the full menu, none skipped, we don't do that here:
-a,--arch <arch>β scan for packages of one specific architecture. default is to scan for all architectures π-c,--cachedir <dir>β point her at a different cache directory. you can use this option more than once, she doesn't mind. default is to use the cache directory configured inpacman.confποΈ-f,--forceβ applies force tomvandrmoperations. she's not playing around anymore π₯-h,--helpβ displays syntax and command-line options, for when you need the lore π§-i,--ignore <pkgs>β packages to ignore, comma-separated. alternatively-can be used to read the package names from stdin, newline-delimited π«-k,--keep <num>β how many versions of each package get kept in the cache directory. default is3π--min-atime <time>,--min-mtime <time>β keeps packages whose atime/mtime isn't older than the time given, even if that means keeping more than what--keepspecified. accepts arguments according to info "Date input formats", e.g.30 days agoβ°--nocolorβ do not colorize output. (sad but valid, respect her choices) π-z,--nullβ uses null delimiters for candidate names (only with-vand-vv) π«§-q,--quietβ minimizes the output. she's being mysterious π€«-u,--uninstalledβ targets uninstalled packages π΅οΈ-v,--verboseβ increases verbosity, and you can specify it up to 3 times. the more the merrier fr fr π’-V,--versionβ displays version information β
β±οΈ SYSTEMD TIMER
the package cache can be cleaned periodically using the systemd timer paccache.timer. if the timer is enabled, the cache gets cleaned weekly using paccache's default options. set it and forget it, iconic behavior π
π SEE ALSO
pacman(8), pacman.conf(5), systemctl(1)
π BUGS
bugs? you must be kidding; there are no bugs in this software. π
but if we happen to be wrong (π), file an issue with as much detail as possible at https://gitlab.archlinux.org/pacman/pacman-contrib/-/issues/new.
π AUTHORS
current maintainers, the ones holding it down:
- Johannes LΓΆthberg <johannes@kyriasis.com>
- Daniel M. Capella <polyzen@archlinux.org>
for additional contributors, use git shortlog -s on the pacman-contrib.git repository π«Ά
and that's the tea, bestie π this page is from Pacman-contrib 1.13.1, dated 2025-12-11 β go forth and clean that cache responsibly, mwah πβ¨
π¦ where this page comes from
- arch rolling: pacman-contrib 1.13.1-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms