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.


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.


CategoryRicottone