User:Mattx86/qwn:Enabling APK Caching

From Alpine Linux
< User:Mattx86
Revision as of 04:08, 24 March 2011 by Mattx86 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

To enable the caching of downloaded APKs, do the following steps.

Create the cache directory and symlink:

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

Next, update apk in order to initialize the cache:

apk update