summaryrefslogblamecommitdiff
path: root/doc/apk-cache.5.scd
blob: 6776697e20a836c00e4f2aa1788606f61f51c058 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                            
apk-cache(5)

# NAME

*/etc/apk/cache* - local cache of package files

# DESCRIPTION

If */etc/apk/cache* is a symlink to a local directory, *apk*(8) will it as a
local cache for downloaded package files and repository indicies. The cache
must not reside on a tmpfs.

To enable the apk cache, run the following commands as root:

mkdir -p /var/cache/apk++
ln -s /var/cache/apk /etc/apk/cache

For information on cache maintenance, see *apk-cache*(8).