2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-15 06:12:59 +00:00
cheat.sheets/sheets/setup-apkcache
2020-11-18 17:50:29 +01:00

12 lines
374 B
Plaintext

# apk is the tool used to install, upgrade, or delete software
# on a running system of Alpine Linux package management
# To enable local APK cache run
setup-apkcache
# If you've installed Alpine to your hard drive (as 'sys'),
# then create a cache dir and then an /etc/apk/cache symlink
# pointing to that dir:
mkdir -p /var/cache/apk
ln -s /var/cache/apk /etc/apk/cache