PACCAT(1)
β¨ PACCAT(1) β¨
okay so bestie, welcome to the paccat manual page π this is the Paccat page, and honestly? it's giving "i just want my files" energy and i'm obsessed π«Ά
πΈ NAME πΈ
paccat β print pacman package files β¨
π¦ SYNOPSIS π¦
paccat [options] <target> <files>
paccat [options] [targets] -- <files>
paccat [options] -<Q|F> <files>
paccat [options] <-Q|-F> [targets] -- <files>
a target can be specified as:
<pkgname>, <repo>/<pkgname>, <url> or <file>.
files can be specified as just the filename or the full path π
π DESCRIPTION π
print pacman package files, periodt.
paccat prints files from packages independent of your system by downloading the needed packages and extracting the needed files. literally so iconic β it doesn't even care what's installed on your machine, it just goes and gets what you need π₯
π SYNTAX HIGHLIGHTING π
paccat will use bat for syntax highlighting if it is installed. highkey a glow-up when you have it, ngl π
β¨ OPTIONS β¨
-F,--filesβ use the files database to search for files before downloading. like a lil pre-check, bestie π-Q,--queryβ use the local database to search for files before downloading. staying local, staying cozy π-r,--root <path>β set an alternative root directory. new root, who dis π³-b,--dbpath <path>β set an alternative database location. move the database somewhere else, slay π¦--config <file>β use an alternativepacman.conf. different config, same vibes π--color <when>β specify when to enable coloring. valid options arealways,never, orauto. color me surprised (or not) π-y,--refreshβ download fresh package databases from the server. pass twice to force download even if databases are up to date. double it and give it to the next refresh π--cachedir <path>β set the primary cache directory.
this directory will be the preferred directory for downloading package if writable. the other configured directories will still be used for reading.
so like, it's the main character cache dir, but the others are still invited to the group chat π¬
-a,--allβ print all matching files instead of just the first. not me wanting everything at once π-x,--regexβ enable searching using regular expressions. regex girlies rise π§--binaryβ print binary files. binary? more like bin-obsessed π-X,--executableβ filter results to executable files. only the ones that can actually run, periodt β‘-e,--extractβ extract matched files to the current directory. unpack it like a lil gift π-l,--listβ print file names instead of file content. just the names, ma'am π-i,--installβ install matched files to the system. put it in the system, yasss π--debugβ display debug messages. for when you need to spy on what's happening π-h,--helpβ print help information. help me help you bestie π-V,--versionβ print version information. know the version, know the vibes π«
π EXAMPLES π
paccat grub etc/default/grub print the contents of 'etc/default/grub' from the grub package. iconic file, iconic output π₯°
paccat pacman pacman.conf print the contents of the first file named 'pacman.conf' from the pacman package. first come, first served π«Ά
paccat -F pacman.conf print the contents of the first file named 'pacman.conf' in the repos. in the repos, no cap π
paccat -x pacman mkinitcpio -- '.conf$' print the contents of all files ending in '.conf' from both the pacman and mkinitcpio packages. regex + multiple targets = main character energy π
paccat ~/pkgs/my-pkg-1.0.0-1.pkg.tar.zst myfile print the contents of 'myfile' from a package tarball. tarball? more like tar-baddie π₯
paccat https://archlinux.org/packages/extra/x86_64/git/download git-blame.1.gz
download and print the contents of 'git-blame.1.gz' from the git package. URL to file, straight to your terminal π¦
π₯ SEE ALSO π₯
pacman(8) β the og, the icon, the legend π
π BUGS π
please report bugs to our GitHub page https://github.com/Morganamilo/paccat. don't be shy, bestie, they wanna know π
π AUTHORS π
Morgan <morganamilo@archlinux.org> β the legend behind the cat π±
paccat v1.0.0 πΈ 2023-12-04 π β that's the version and date, bestie, and this page is officially a wrap. stay slay, stay catted πβ¨π¦
π¦ where this page comes from
- arch rolling: paccat 1.4.0-5 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms