PACCAT(1)

πŸ“¦ version 1.4.0, in arch rolling

✨ 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 alternative pacman.conf. different config, same vibes πŸŽ€
  • --color <when> β€” specify when to enable coloring. valid options are always, never, or auto. 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