---
name: "libalpm"
section: "3"
platform: "linux"
package: "pacman"
version: "7.1.0.r9.g54d9411-3"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libalpm"
---

# libalpm(3)

The libalpm Public API - libalpm is a package management library, primarily used by pacman.

## NAME

libalpm - The libalpm Public API

 \- libalpm is a package management library, primarily used by pacman.

## SYNOPSIS

### Topics

**Files**\
 Functions for package files  **Groups**\
 Functions for package groups  **Error Codes**\
 Error codes returned by libalpm.  **Handle**\
 Functions to initialize and release libalpm  **Signature checking**\
 Functions to check signatures  **Dependency**\
 Functions dealing with libalpm's dependency and conflict information.  **Callbacks**\
 Functions and structures for libalpm's callbacks  **Database**\
 Functions to query and manipulate the database of libalpm.  **Logging Functions**\
 Functions to log using libalpm  **Options**\
 Libalpm option getters and setters  **Package Functions**\
 Functions to manipulate libalpm packages  **Transaction**\
 Functions to manipulate libalpm transactions  **Miscellaneous Functions**\
 Various libalpm functions  **[libalpm\_list(3)](/libalpm_list/3.md)**\

### Data Structures

struct **alpm\_pkg\_xdata\_t**\
 The extended data type used to store non-standard package data fields.

## Detailed Description

libalpm is a package management library, primarily used by pacman.

For ease of access, the libalpm manual has been split up into several sections.

## See Also

**[libalpm\_list(3)](/libalpm_list/3.md)**, **[libalpm\_cb(3)](/libalpm_cb/3.md)**, **[libalpm\_databases(3)](/libalpm_databases/3.md)**, **[libalpm\_depends(3)](/libalpm_depends/3.md)**, **[libalpm\_errors(3)](/libalpm_errors/3.md)**, **[libalpm\_files(3)](/libalpm_files/3.md)**, **[libalpm\_groups(3)](/libalpm_groups/3.md)**, **[libalpm\_handle(3)](/libalpm_handle/3.md)**, **[libalpm\_log(3)](/libalpm_log/3.md)**, **[libalpm\_misc(3)](/libalpm_misc/3.md)**, **[libalpm\_options(3)](/libalpm_options/3.md)**, **[libalpm\_packages(3)](/libalpm_packages/3.md)**, **[libalpm\_sig(3)](/libalpm_sig/3.md)**, **[libalpm\_trans(3)](/libalpm_trans/3.md)**

## Data Structure Documentation

## struct alpm\_pkg\_xdata\_t

The extended data type used to store non-standard package data fields.

**Data Fields:**

char \* *name* \

char \* *value* \

## Author

Generated automatically by Doxygen for libalpm from the source code.
