macOS
brew install libgpg-errorlocal Homebrew formula metadata
sudo port install libgpg-errorMacPorts ports tree · devel/libgpg-error/Portfile · 来源: api.github.com
安装
brew install libgpg-errorlocal Homebrew formula metadata
sudo port install libgpg-errorMacPorts ports tree · devel/libgpg-error/Portfile · 来源: api.github.com
sudo apk add libgpg-errorAlpine Linux edge package indexes · libgpg-error · 来源: dl-cdn.alpinelinux.org
sudo dnf install libgpg-errorFedora Rawhide package metadata · libgpg-error · 来源: dl.fedoraproject.org
nix profile install nixpkgs#libgpg-errornixpkgs package indexes · pkgs/by-name/li/libgpg-error/package.nix · 来源: api.github.com
sudo pacman -S libgpg-errorArch Linux sync databases · libgpg-error · 来源: geo.mirror.pkgbuild.com
sudo apt install gpgrt-toolsDebian stable package indexes · gpgrt-tools · 来源: deb.debian.org
sudo zypper install libgpg-error-developenSUSE Tumbleweed package metadata · libgpg-error-devel · 来源: download.opensuse.org
概览
Common error values for all GnuPG components
历史
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.
安全态势
没有找到 libgpg-error 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
gpg-error | cli | 全局可执行文件 | |
gpg-error-config | cli | 全局可执行文件 | |
gpgrt-config | cli | 全局可执行文件 | |
yat2m | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://www.gnupg.org/related_software/libgpg-error/
安装元数据
| 软件包键 | brew:libgpg-error |
|---|---|
| 版本 | 1.61 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/libgpg-error |
| 主页 | https://www.gnupg.org/related_software/libgpg-error/ |
| 仓库 | https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git |
| 上游文档 | https://www.gnupg.org/software/libgpg-error/index.html |
| 许可证 | LGPL-2.1-or-later |
| 源码归档 | https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.61.tar.bz2 |
| 最后更新 | 2026-05-07T15:39:16Z |
| Pulse | updated |
| 依赖 | gettext |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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-static来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.