Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alpinelinux/apk-tools
[MIRROR] Alpine package manager
https://github.com/alpinelinux/apk-tools
alpine-linux linux package-manager
Last synced: 5 days ago
JSON representation
[MIRROR] Alpine package manager
- Host: GitHub
- URL: https://github.com/alpinelinux/apk-tools
- Owner: alpinelinux
- License: gpl-2.0
- Created: 2016-04-14T12:13:50.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-10-29T08:45:22.000Z (13 days ago)
- Last Synced: 2024-10-29T09:56:55.734Z (13 days ago)
- Topics: alpine-linux, linux, package-manager
- Language: C
- Homepage: https://gitlab.alpinelinux.org/alpine/apk-tools
- Size: 2.77 MB
- Stars: 168
- Watchers: 14
- Forks: 42
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
# 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/](doc/) directory in the form of man pages.
The [apk(8)](doc/apk.8.scd) man page provides a basic overview of the package management
system.