LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

libalpm

arch Linux Package Management library

TLDR

Library - typically used via pacman
$ pacman -S [package]
copy
Query local database
$ pacman -Q [package]
copy
Sync databases
$ pacman -Sy
copy
Search packages
$ pacman -Ss [pattern]
copy

SYNOPSIS

libalpm - Arch Linux Package Management library

DESCRIPTION

libalpm is the Arch Linux Package Management library. It provides the backend functionality for pacman and other package management tools in Arch Linux and derivatives.The library handles package database management, dependency resolution, package installation/removal, and transaction handling.

KEY FEATURES

$ - Package database management
- Dependency resolution
- Delta/incremental updates
- Signature verification
- Transaction support
- Hook system
copy

API USAGE

$ #include <alpm.h>

alpm_handle_t *handle;
handle = alpm_initialize("/", "/var/lib/pacman/", &err);
copy

INSTALL

sudo dnf install libalpm
copy

CAVEATS

Library API, not directly executable. Used by pacman, yay, paru. API may change between major versions. Arch-specific.

HISTORY

libalpm was developed as part of pacman by the Arch Linux team, with the library interface introduced to allow third-party frontends.

SEE ALSO

pacman(8), makepkg(8), yay(8), paru(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid