Size: 687
Comment:
|
Size: 876
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 34: | Line 34: |
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. |
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.