Difference between revisions of "User:Mattx86/qwn:Enabling APK Caching"

From Alpine Linux
Jump to: navigation, search
(Created page with "Create the cache directory and symlink: {{Cmd|mkdir -p /var/cache/apk ln -s /var/cache/apk /etc/apk/cache}} Next, update apk in order to initialize the cache: {{Cmd|apk update}}")
 
m
 
Line 1: Line 1:
 +
To enable the caching of downloaded APKs, do the following steps.
 +
 
Create the cache directory and symlink:
 
Create the cache directory and symlink:
 
{{Cmd|mkdir -p /var/cache/apk
 
{{Cmd|mkdir -p /var/cache/apk

Latest revision as of 04:08, 24 March 2011

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