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

12 lines
374 B
Plaintext
Raw Normal View History

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