apk-fetch(8)
π apk-fetch β like, the manual page bestie
okay so this is apk-fetch(8), straight out of the System Manager's Manual bestie, and it's genuinely one of my fave little tools. no cap. let's get into it π
β¨ NAME β¨
apk fetch β download packages from global repositories to a local directory π¦
β¨ SYNOPSIS β¨
apk fetch [<options>...] packages...
like, options first, then the packages you want. that's the whole vibe π
β¨ DESCRIPTION β¨
apk fetch downloads the packages you asked for from the configured package repositories (peep apk-repositories(5) for how those get configured, iykyk) and drops them into a local directory π¦
and the destination directory? it's just wherever you're standing rn β the current working directory β unless you pass -o, in which case it goes wherever you tell it to. main character energy fr fr β¨
β¨ OPTIONS β¨
so besides the global options (those live in apk(8), go look π) and the query options (those are in apk-query(8), obsessed with her), you also get these:
--built-after TIMESPECβ only fetch packages whose buildtime is more recent thanTIMESPECβ°TIMESPECcan be a"YYYY-MM-DD HH:MM:SS"date, or just seconds since epoch. either way, slay.--link,-lβ create hard links if possible π (yes bestie, link it up)--pkgname-spec PKGNAME_SPECβ generate the downloaded package names using thePKGNAME_SPECspecification π·οΈ
heads up though: this does not work with--pruneunless the specification starts with${name}[-_.]. that's the rule, don't shoot the messenger π
--output,-o_DIR_ β write the downloaded file(s) toDIRπ the glow-up of "just put it wherever I'm standing"--simulate[=BOOL]β simulate the requested operation without making any changes π like a dress rehearsal, no commitment
Note: this option is unreliable if the needed indexes aren't up-to-date, because it omits refreshing or downloading of missing indexes. so likeβ¦ it might lie to you a little π
--stdout,-sβ dump the.apkfile(s) to stdout π€ straight to the terminal, no file, no problem
Note: this option is incompatible with-o,-R, and the global--progressoption. they do not get along. it's giving incompatible energies π€
--urlβ print the full URL for the downloaded packages π so you can see exactly where they came from, iconic
and that's the whole page bestie, every last crumb π
kisses, this was apk-fetch(8) from the System Manager's Manual, dated 2026-11-02 β go download something cute πβ¨
π¦ where this page comes from
- arch rolling: apk-tools 3.0.9-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