Differences between revisions 3 and 4
Revision 3 as of 2023-01-08 23:53:15
Size: 876
Comment:
Revision 4 as of 2023-04-08 13:18:54
Size: 979
Comment:
Deletions are marked like this. Additions are marked like this.
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.


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.


See also

apk(8)


CategoryRicottone

Linux/Alpine/Apk (last edited 2023-05-30 14:29:02 by DominicRicottone)