ALPM
This project comprises specifications, as well as Rust libraries and tools for Arch Linux Package Management.
The ALPM project arose from the need for more clearly specifying the interfaces, as well as providing bindings and tools in a memory-safe programming language.
The specifications and implementations are based on ad-hoc implementations in the pacman project.
Currently, this project aims to maintain compatibility with pacman 5.1.0
and onwards.
The scope of this project is to provide robust integration for all relevant package creation and consumption, as well as repository management tasks. As such, the ALPM project also aims at providing drop-in replacements or alternatives for some facilities provided by pacman.
This project is currently supported by the Sovereign Tech Agency. Read the official announcement for more information.
Documentation
The latest project documentation can be found at https://alpm.archlinux.page
Overview
The following mindmap attempts to provide a high-level overview of the project and put file types as well as (existing and upcoming) libraries into context.
mindmap root((ALPM)) π Source π PKGBUILD π .SRCINFO ποΈ alpm-srcinfo* π¦ Package π .BUILDINFO π .PKGINFO π .INSTALL π .MTREE ποΈ alpm-buildinfo ποΈ alpm-pkginfo* ποΈ alpm-mtree* ποΈ alpm-package* ποΈ alpm-package-verify* ποΈ alpm-package-verify-vda* ποΈ Repository π desc π files ποΈ alpm-repo* ποΈ alpm-repo-desc* ποΈ alpm-repo-files* ποΈ Package Management π desc π files ποΈ alpm-db* ποΈ alpm-db-desc* ποΈ alpm-db-download* ποΈ alpm-db-files* ποΈ alpm-db-verify* ποΈ alpm-db-verify-vda*
For an overview of planned specifications and components, refer to the milestones of the project.
[*] Not yet implemented, or subject to change.
Components
Currently the following components are available:
- alpm-mtree: a library and commandline interface to work with
.MTREE
andmtree
files - alpm-buildinfo: a library and commandline interface to work with
BUILDINFO
files - alpm-parsers: a library for providing various custom parsers/deserializers for file types used in ALPM
- alpm-pkginfo: a library and commandline interface to work with
.PKGINFO
files - alpm-types: a central library for types used by other ALPM libraries and tools
Contributing
Please refer to the contribution guidelines to learn how to contribute to this project.
Releases
Releases of components are created by the developers of this project.
OpenPGP certificates with the following OpenPGP fingerprints can be used to verify signed tags:
991F6E3F0765CF6295888586139B09DA5BF0D338
(David Runge dvzrv@archlinux.org)165E0FF7C48C226E1EC363A7F83424824B3E4B90
(Orhun ParmaksΔ±z orhun@archlinux.org)
The above are part of archlinux-keyring and certified by at least three main signing keys of the distribution.
License
This project can be used under the terms of the Apache-2.0 or MIT. Contributions to this project, unless noted otherwise, are automatically licensed under the terms of both of those licenses.