Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper 安装 libgpg-error

查看 libgpg-error 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libgpg-error

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install libgpg-error

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add libgpg-error

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

Fedora dnf已验证 · 92%
sudo dnf install libgpg-error

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

Nix已验证 · 92%
nix profile install nixpkgs#libgpg-error

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

Arch Linux pacman已验证 · 92%
sudo pacman -S libgpg-error

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

Debian apt已验证 · 92%
sudo apt install gpgrt-tools

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

openSUSE zypper已验证 · 92%
sudo zypper install libgpg-error-devel

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

概览

软件包摘要

Common error values for all GnuPG components

命令和别名

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

历史

项目历史与用法

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.

时间线

  • 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.

安全态势

尚未找到受保护工具覆盖

没有找到 libgpg-error 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
gpg-errorcli全局可执行文件
gpg-error-configcli全局可执行文件
gpgrt-configcli全局可执行文件
yat2mcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本1.61
管理器更新时间2026-05-07
本地数据OK
上游not checked
检测到的最新版本未检测到

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
Pulseupdated
依赖gettext
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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