2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-19 03:25:44 +00:00
cheat.sheets/sheets/setup-apkcache

11 lines
372 B
Plaintext
Raw Normal View History

2018-07-17 09:42:16 +00:00
# apk is the tool used to install, upgrade, or delete software on a running system
2017-06-04 11:30:07 +00:00
# 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