Size: 876
Comment:
|
Size: 979
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
'''`apk(1)`''' ('''Alpine Package Keeper''') is the package manager for Alpine Linux. It is specially designed to manage packages on a system that itself is designed to run in memory. | '''`apk(8)`''' ('''Alpine Package Keeper''') is the package manager for Alpine Linux. It is specially designed to manage packages on a system that itself is designed to run in memory. |
Line 36: | Line 36: |
---- == See also == [[https://man.archlinux.org/man/community/apk-tools/apk.8.en|apk(8)]] |
APK
apk(8) (Alpine Package Keeper) is the package manager for Alpine Linux. It is specially designed to manage packages on a system that itself is designed to run in memory.
Contents
Usage
To update local metadata and upgrade installed packages, try:
apk update apk upgrade
To install a package, try:
apk add docker
Configuration
apk(1) accesses packages from a list of mirrors located at /etc/apk/repositories. Note that the community mirror is commented-out by default. Uncomment that line to install software such as Docker.
When adding a custom mirror, know that apk(1) checks package signatures against those stored in /etc/apk/keys/. Copy unofficial packagers' keys here to satisfy the integrity checks.