.\" Generated by scdoc 1.11.3 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "apk-fetch" "8" "2024-04-29" .PP .SH NAME .PP apk fetch - download packages from global repositories to a local directory .PP .SH SYNOPSIS .PP \fBapk fetch\fR [<\fIoptions\fR>.\&.\&.\&] \fIpackages\fR.\&.\&.\& .PP .SH DESCRIPTION .PP \fBapk fetch\fR downloads the requested packages from the configured package repositories (see \fBapk-repositories\fR(5)) to a local directory.\& The current working directory is used as the destination directory unless \fB-o\fR is specified.\& .PP .SH OPTIONS .PP \fB--built-after\fR \fITIMESPEC\fR .RS 4 Only fetch packages that have buildtime more recent than TIMESPEC.\& TIMESPEC can be a "YYYY-MM-DD HH:MM:SS" date, or seconds since epoch.\& .PP .RE \fB-l, --link\fR .RS 4 Create hard links if possible.\& .PP .RE \fB-o, --output\fR \fIDIR\fR .RS 4 Write the downloaded file(s) to \fIDIR\fR.\& .PP .RE \fB-R, --recursive\fR .RS 4 Fetch packages and all of their dependencies.\& .PP .RE \fB-s, --stdout\fR .RS 4 Dump the .\&apk file(s) to stdout.\& .PP \fBNote\fR: this option is incompatible with \fB-o\fR, \fB-R\fR, and the global \fB--progress\fR option.\& .PP .RE \fB-w, --world\fR .RS 4 Download packages needed to satisfy \fIworld\fR.\& Implies \fB--recursive\fR.\& .PP .RE \fB--simulate\fR .RS 4 Simulate the requested operation without making any changes.\& .PP \fBNote\fR: this option is unreliable if needed indexes are not up-to-date as this omits refresing or downloading of missing indexes.\& .PP .RE \fB--url\fR .RS 4 Print the full URL for downloaded packages.\&