added apk and setup-apkcache

pull/3/head
Igor Chubin 7 years ago
parent 4c468850cf
commit 5d7d17a494

@ -0,0 +1,23 @@
# apk is the tool used to install, upgrade, or delete software on a running sytem
# of Alpine Linux package management
# Install a package
apk add $package
# Remove a package
apk del $package
# Update repos
apk update
# Upgrade all packages
apk upgrade
# Find a package
apk search $package
# To list all installed packages, use:
apk info
# To determine which package a file belongs to:
apk info --who-owns /sbin/lbu

@ -0,0 +1,10 @@
# apk is the tool used to install, upgrade, or delete software on a running sytem
# 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
Loading…
Cancel
Save