2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-17 09:25:32 +00:00
cheat.sheets/sheets/setup-apkcache
2018-07-17 11:42:16 +02:00

11 lines
372 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