https://github.com/archlinux/alpm
Project that works on specifications, Rust libraries and tools for Arch Linux Package Management (read-only mirror)
https://github.com/archlinux/alpm
Last synced: 7 months ago
JSON representation
Project that works on specifications, Rust libraries and tools for Arch Linux Package Management (read-only mirror)
- Host: GitHub
- URL: https://github.com/archlinux/alpm
- Owner: archlinux
- Created: 2024-12-12T16:27:20.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-25T16:48:45.000Z (7 months ago)
- Last Synced: 2025-06-25T17:43:44.935Z (7 months ago)
- Language: Rust
- Homepage: https://alpm.archlinux.page/
- Size: 1.64 MB
- Stars: 20
- Watchers: 7
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSES/Apache-2.0.txt
- Codeowners: .gitlab/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# ALPM
This project comprises specifications, as well as [Rust] libraries and tools for **A**rch **L**inux **P**ackage **M**anagement.
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
## 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.
```mermaid
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
π alpm-state-repo
ποΈ 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-buildinfo]: a library and commandline interface to work with [BUILDINFO] files
- [alpm-common]: a library for common traits and functionality
- [alpm-mtree]: a library and commandline interface to work with [ALPM-MTREE] files
- [alpm-package]: a library for the creation of [alpm-package][spec:alpm-package] 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-srcinfo]: a library and commandline interface to work with [SRCINFO] 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 )
- `165E0FF7C48C226E1EC363A7F83424824B3E4B90` (Orhun ParmaksΔ±z )
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.
[ALPM-MTREE]: https://alpm.archlinux.page/specifications/ALPM-MTREE.5.html
[Apache-2.0]: LICENSES/Apache-2.0.txt
[BUILDINFO]: https://alpm.archlinux.page/specifications/BUILDINFO.5.html
[MIT]: LICENSES/MIT.txt
[OpenPGP certificates]: https://openpgp.dev/book/certificates.html
[OpenPGP fingerprints]: https://openpgp.dev/book/certificates.html#fingerprint
[PKGINFO]: https://alpm.archlinux.page/specifications/PKGINFO.5.html
[Rust]: https://www.rust-lang.org/
[SRCINFO]: https://alpm.archlinux.page/specifications/SRCINFO.5.html
[Sovereign Tech Agency]: https://www.sovereign.tech/tech/arch-linux-package-management
[alpm-buildinfo]: alpm-buildinfo/
[alpm-common]: alpm-common/
[alpm-mtree]: alpm-mtree/
[alpm-package]: alpm-package/
[alpm-parsers]: alpm-parsers/
[alpm-pkginfo]: alpm-pkginfo/
[alpm-srcinfo]: alpm-srcinfo/
[alpm-types]: alpm-types/
[archlinux-keyring]: https://gitlab.archlinux.org/archlinux/archlinux-keyring
[components]: #components
[contribution guidelines]: CONTRIBUTING.md
[main signing keys]: https://archlinux.org/master-keys/
[milestones]: https://gitlab.archlinux.org/archlinux/alpm/alpm/-/milestones
[official announcement]: https://lists.archlinux.org/archives/list/arch-dev-public@lists.archlinux.org/thread/MZLH43574GGP7QQ7RKAAIRFT5LJPCEB4/
[pacman]: https://gitlab.archlinux.org/pacman/pacman
[spec:alpm-package]: https://alpm.archlinux.page/specifications/alpm-package.7.html