.\" 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-cache" "5" "2024-10-29" .PP .SH NAME .PP \fB/etc/apk/cache\fR - local cache of package files .PP .SH DESCRIPTION .PP If \fB/etc/apk/cache\fR is a symlink to a local directory, \fBapk\fR(8) will use it as a local cache for downloaded package files and repository indicies.\& The cache must not reside on a tmpfs.\& .PP To enable the apk cache, run the following commands as root: .PP mkdir -p /var/cache/apk .br ln -s /var/cache/apk /etc/apk/cache .PP For information on cache maintenance, see \fBapk-cache\fR(8).\&