2026-07-03 16:14:43 -04:00
2026-02-17 15:42:32 +02:00
2025-11-28 19:27:12 +00:00
2025-01-03 13:04:59 +02:00
2024-12-09 16:10:41 +00:00
2024-07-09 10:32:48 +02:00
2020-05-07 10:45:34 +03:00
2025-11-26 11:06:33 +02:00
2026-07-28 14:28:06 +03:00

apk-tools

Alpine Package Keeper (apk) is a package manager originally built for Alpine Linux, but now used by several other distributions as well.

Building

The preferred build system for building apk-tools is Meson:

# meson setup -Dprefix=/ build
# ninja -C build
# meson install -C build

For bootstrapping without Python, muon is also compatible. All you have to do is replace meson with muon in the above example.

To build a static apk, pass the right arguments to the above commands:

# meson setup -Dc_link_args="-static" -Dprefer_static=true -Ddefault_library=static build
# ninja -C build src/apk

Which will give you a ./build/src/apk that is statically linked.

While there is a legacy Makefile-based system available, it only works for musl-linux targets, and will be dropped in the apk-tools 3.0 release.

Documentation

Online documentation is available in the doc/ directory in the form of man pages.

The apk(8) man page provides a basic overview of the package management system.

S
Description
No description provided
Readme GPL-2.0
5.3 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 91.8%
Shell 4.3%
Lua 1.7%
Meson 1.3%
Makefile 0.8%