Automic VaultAutomic Vault

brew

Install libgpg-error with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Common error values for all GnuPG components. Version 1.61 via Homebrew; verified 2026-05-07.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install libgpg-error

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install libgpg-error

MacPorts ports tree · devel/libgpg-error/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add libgpg-error

Alpine Linux edge package indexes · libgpg-error · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install gpgrt-tools

Debian stable package indexes · gpgrt-tools · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install libgpg-error

Fedora Rawhide package metadata · libgpg-error · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#libgpg-error

nixpkgs package indexes · pkgs/by-name/li/libgpg-error/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S libgpg-error

Arch Linux sync databases · libgpg-error · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install libgpg-error-devel

openSUSE Tumbleweed package metadata · libgpg-error-devel · source: download.opensuse.org

overview

Package summary

Common error values for all GnuPG components

Commands and aliases

  • gpg-error
  • gpg-error-config
  • gpgrt-config
  • yat2m

history

Project history and usage

Libgpg-error is the small but central GnuPG runtime library that gives GnuPG components a common vocabulary for error codes and error handling. Over time it also accumulated reusable runtime pieces such as streams, printf-style functions, locks, Base64 helpers, logging, option parsing, and Windows portability support.

Project history

The GnuPG project describes Libgpg-error as a library that originally defined common error values for GPG, GPGSM, GPGME, GPG-Agent, libgcrypt, Libksba, DirMngr, Pinentry, SCdaemon, and related components. The project page also notes the long-term plan to rename the library to Libgpgrt, reflecting its broader role as the GnuPG runtime.

The public repository history dates back to 2003 in the GitHub mirror, and the official tarball directory records a long sequence of 1.x releases. By the 2020s, release notes document new gpgrt-prefixed process APIs, name-value helpers, Windows registry helpers, cross-compilation work, and platform fixes.

Adoption history

Libgpg-error is adopted mostly by being pulled in as a dependency of the GnuPG stack. A system that builds libgcrypt, GPGME, pinentry, or GnuPG itself generally needs the common error/runtime layer first.

Package managers expose it as both a library and a small tool package; the Homebrew batch input lists gpg-error, gpg-error-config, gpgrt-config, and yat2m executables. Debian and Ubuntu package the tools under gpgrt-tools, which reflects the project's gradual Libgpgrt naming direction.

How it is used

Developers use Libgpg-error directly when writing code in the GnuPG ecosystem or when they need the library's gpgrt runtime services. Most users encounter it indirectly through cryptographic packages that rely on GnuPG libraries.

At build time, gpgrt-config and gpg-error-config help downstream software discover headers, compiler flags, and linker flags, making the package part of the familiar Unix library toolchain.

Why package nerds care

This is the kind of tiny library that explains why cryptographic packages have deep dependency chains. It appears boring, but if it is missing or mismatched, libgcrypt, GPGME, and larger GnuPG builds fail early.

The rename pressure toward gpgrt is package-nerd notable: package names, tool names, headers, and downstream dependencies do not all switch at once, so distributions carry both the historical libgpg-error identity and newer gpgrt-facing interfaces.

Timeline

  • 2003-06-05: The GitHub mirror includes repository history from this date.
  • 2020-11-19: The GnuPG project page source was last changed, describing the gpgrt.h direction.
  • 2024-06-19: Version 1.50 added a new set of process spawn functions.
  • 2025-04-08: Version 1.52 added name-value file APIs, string-list APIs, and Windows registry helpers.
  • 2026-05-07: Version 1.61 fixed es_printf and vfnameconcat security-related bugs and added Emscripten cross-compile support.

Related projects

  • GnuPG, libgcrypt, GPGME, Libksba, Pinentry, DirMngr, and SCdaemon are direct members of the ecosystem that use the shared error/runtime layer.
  • Libgpgrt is the intended runtime-library identity reflected by gpgrt-prefixed functions, gpgrt.h, and gpgrt-config.
  • Homebrew, Debian, Ubuntu, Fedora, Arch, and other package managers distribute it as a foundational GnuPG dependency.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for libgpg-error. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
gpg-errorcliglobal executable
gpg-error-configcliglobal executable
gpgrt-configcliglobal executable
yat2mcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.61
manager updated2026-05-07
local dataok
upstreamnot checked
latest detectednot detected

https://www.gnupg.org/related_software/libgpg-error/

install metadata

Package metadata

Package keybrew:libgpg-error
Version1.61
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/libgpg-error
Homepagehttps://www.gnupg.org/related_software/libgpg-error/
Repositoryhttps://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git
Upstream docshttps://www.gnupg.org/software/libgpg-error/index.html
LicenseLGPL-2.1-or-later
Source archivehttps://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.61.tar.bz2
Last updated2026-05-07T15:39:16Z
Pulseupdated
Dependenciesgettext
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibgpg-error
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

gpgrt-tools 1.51-4

GnuPG development runtime library (executable tools)

https://www.gnupg.org/related_software/libgpg-error/

sudo apt install gpgrt-tools
  • Section: devel
  • Architecture: amd64
  • Source Package: libgpg-error
  • 2 dependencies
  • normalized package name match
  • Matched by: Libgpg Error
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gpgrt-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgpg-error-dev 1.51-4

GnuPG development runtime library (developer tools)

https://www.gnupg.org/related_software/libgpg-error/

sudo apt install libgpg-error-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libgpg-error
  • 1 dependencies
  • normalized package name match
  • Matched by: Libgpg Error
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgpg-error-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgpg-error-l10n 1.51-4

library of error values and messages in GnuPG (localization files)

https://www.gnupg.org/related_software/libgpg-error/

sudo apt install libgpg-error-l10n
  • Section: localization
  • Architecture: all
  • Source Package: libgpg-error
  • normalized package name match
  • Matched by: Libgpg Error
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgpg-error-l10n from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgpg-error-mingw-w64-dev 1.51-4

library of error values and messages in GnuPG (Windows development)

https://www.gnupg.org/related_software/libgpg-error/

sudo apt install libgpg-error-mingw-w64-dev
  • Section: libdevel
  • Architecture: all
  • Source Package: libgpg-error
  • 2 optional deps
  • normalized package name match
  • Matched by: Libgpg Error
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgpg-error-mingw-w64-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgpg-error0 1.51-4

GnuPG development runtime library

https://www.gnupg.org/related_software/libgpg-error/

sudo apt install libgpg-error0
  • Section: libs
  • Architecture: amd64
  • Source Package: libgpg-error
  • 1 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Libgpg Error
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgpg-error0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libgpg-error

nix profile install nixpkgs#libgpg-error
  • normalized package name match
  • Matched by: Libgpg Error
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libgpg-error/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

gpgrt-tools 1.47-3build2

GnuPG development runtime library (executable tools)

https://www.gnupg.org/related_software/libgpg-error/

sudo apt install gpgrt-tools
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: libgpg-error
  • 2 dependencies
  • normalized package name match
  • Matched by: Libgpg Error
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gpgrt-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libgpg-error-dev 1.47-3build2

GnuPG development runtime library (developer tools)

https://www.gnupg.org/related_software/libgpg-error/

sudo apt install libgpg-error-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libgpg-error
  • 1 dependencies
  • normalized package name match
  • Matched by: Libgpg Error
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgpg-error-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libgpg-error-l10n 1.47-3build2

library of error values and messages in GnuPG (localization files)

https://www.gnupg.org/related_software/libgpg-error/

sudo apt install libgpg-error-l10n
  • Section: localization
  • Architecture: all
  • Source Package: libgpg-error
  • normalized package name match
  • Matched by: Libgpg Error
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgpg-error-l10n from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libgpg-error-mingw-w64-dev 1.47-3build2

library of error values and messages in GnuPG (Windows development)

https://www.gnupg.org/related_software/libgpg-error/

sudo apt install libgpg-error-mingw-w64-dev
  • Section: universe/libdevel
  • Architecture: all
  • Source Package: libgpg-error
  • 2 optional deps
  • normalized package name match
  • Matched by: Libgpg Error
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgpg-error-mingw-w64-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libgpg-error0 1.47-3build2

GnuPG development runtime library

https://www.gnupg.org/related_software/libgpg-error/

sudo apt install libgpg-error0
  • Section: libs
  • Architecture: amd64
  • Source Package: libgpg-error
  • 1 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Libgpg Error
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgpg-error0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

libgpg-error 1.61-r0

Support library for libgcrypt

https://www.gnupg.org/

sudo apk add libgpg-error
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libgpg-error
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libgpg Error
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libgpg-error from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libgpg-error-dev 1.61-r0

Support library for libgcrypt (development files)

https://www.gnupg.org/

sudo apk add libgpg-error-dev
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libgpg-error
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libgpg Error
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libgpg-error-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libgpg-error-doc 1.61-r0

Support library for libgcrypt (documentation)

https://www.gnupg.org/

sudo apk add libgpg-error-doc
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libgpg-error
  • normalized package name match
  • Matched by: Libgpg Error
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libgpg-error-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libgpg-error-lisp 1.61-r0

Support library for libgcrypt

https://www.gnupg.org/

sudo apk add libgpg-error-lisp
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libgpg-error
  • normalized package name match
  • Matched by: Libgpg Error
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libgpg-error-lisp from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libgpg-error-static 1.61-r0

libgpg-error static libraries

https://www.gnupg.org/

sudo apk add libgpg-error-static
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libgpg-error
  • normalized package name match
  • Matched by: Libgpg Error
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libgpg-error-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment