macOS
brew install libgpg-errorlocal Homebrew formula metadata
sudo port install libgpg-errorMacPorts ports tree · devel/libgpg-error/Portfile · source: api.github.com
brew
Common error values for all GnuPG components. Version 1.61 via Homebrew; verified 2026-05-07.
install
brew install libgpg-errorlocal Homebrew formula metadata
sudo port install libgpg-errorMacPorts ports tree · devel/libgpg-error/Portfile · source: api.github.com
sudo apk add libgpg-errorAlpine Linux edge package indexes · libgpg-error · source: dl-cdn.alpinelinux.org
sudo apt install gpgrt-toolsDebian stable package indexes · gpgrt-tools · source: deb.debian.org
sudo dnf install libgpg-errorFedora Rawhide package metadata · libgpg-error · source: dl.fedoraproject.org
nix profile install nixpkgs#libgpg-errornixpkgs package indexes · pkgs/by-name/li/libgpg-error/package.nix · source: api.github.com
sudo pacman -S libgpg-errorArch Linux sync databases · libgpg-error · source: geo.mirror.pkgbuild.com
sudo zypper install libgpg-error-developenSUSE Tumbleweed package metadata · libgpg-error-devel · source: download.opensuse.org
overview
Common error values for all GnuPG components
history
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.
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.
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.
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.
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.
security posture
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.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
gpg-error | cli | global executable | |
gpg-error-config | cli | global executable | |
gpgrt-config | cli | global executable | |
yat2m | cli | global executable |
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.
https://www.gnupg.org/related_software/libgpg-error/
install metadata
| Package key | brew:libgpg-error |
|---|---|
| Version | 1.61 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libgpg-error |
| Homepage | https://www.gnupg.org/related_software/libgpg-error/ |
| Repository | https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git |
| Upstream docs | https://www.gnupg.org/software/libgpg-error/index.html |
| License | LGPL-2.1-or-later |
| Source archive | https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.61.tar.bz2 |
| Last updated | 2026-05-07T15:39:16Z |
| Pulse | updated |
| Dependencies | gettext |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libgpg-error |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
gpgrt-tools 1.51-4
GnuPG development runtime library (executable tools)
https://www.gnupg.org/related_software/libgpg-error/
sudo apt install gpgrt-toolslibgpg-error-dev 1.51-4
GnuPG development runtime library (developer tools)
https://www.gnupg.org/related_software/libgpg-error/
sudo apt install libgpg-error-devlibgpg-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-l10nlibgpg-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-devlibgpg-error0 1.51-4
GnuPG development runtime library
https://www.gnupg.org/related_software/libgpg-error/
sudo apt install libgpg-error0libgpg-error
nix profile install nixpkgs#libgpg-errorgpgrt-tools 1.47-3build2
GnuPG development runtime library (executable tools)
https://www.gnupg.org/related_software/libgpg-error/
sudo apt install gpgrt-toolslibgpg-error-dev 1.47-3build2
GnuPG development runtime library (developer tools)
https://www.gnupg.org/related_software/libgpg-error/
sudo apt install libgpg-error-devlibgpg-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-l10nlibgpg-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-devlibgpg-error0 1.47-3build2
GnuPG development runtime library
https://www.gnupg.org/related_software/libgpg-error/
sudo apt install libgpg-error0libgpg-error 1.61-r0
Support library for libgcrypt
sudo apk add libgpg-errorlibgpg-error-dev 1.61-r0
Support library for libgcrypt (development files)
sudo apk add libgpg-error-devlibgpg-error-doc 1.61-r0
Support library for libgcrypt (documentation)
sudo apk add libgpg-error-doclibgpg-error-lisp 1.61-r0
Support library for libgcrypt
sudo apk add libgpg-error-lisplibgpg-error-static 1.61-r0
libgpg-error static libraries
sudo apk add libgpg-error-staticsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.