# Installer gpgme avec Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, apt

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de gpgme pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:gpgme
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install gpgme
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gpgme
```

  Preuve: MacPorts ports tree: devel/gpgme/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add gpgme
```

  Preuve: Alpine Linux edge package indexes: gpgme from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install gpgme
```

  Preuve: Fedora Rawhide package metadata: gpgme from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#gpgme
```

  Preuve: nixpkgs package indexes: pkgs/by-name/gp/gpgme/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S gpgme
```

  Preuve: Arch Linux sync databases: gpgme from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

- zypper (92%):

```sh
sudo zypper install gpgme
```

  Preuve: openSUSE Tumbleweed package metadata: gpgme from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- Debian apt (92%):

```sh
sudo apt install gpgme-json
```

  Preuve: Debian stable package indexes: gpgme-json from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## Faits du paquet

- **Clé du paquet:** brew:gpgme
- **Gestionnaire de paquets:** Homebrew
- **Version:** 2.1.2
- **Résumé source:** Library access to GnuPG
- **Page d'accueil:** <https://www.gnupg.org/related_software/gpgme/>
- **Dernière mise à jour:** 2026-06-30T15:25:23Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- gnupg-key-manage (alias)
- gpgme-config (alias)
- gpgme-json (alias)
- gpgme-tool (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 2.1.2
## Historique du projet et usages

GPGME, short for GnuPG Made Easy, is the official C API for integrating applications with the GnuPG crypto stack. It gives programs a stable high-level interface for encryption, decryption, signing, verification, and key management instead of scripting the `gpg` command line.

### Historique du projet

GPGME was created inside the GnuPG ecosystem to make public-key crypto engines easier for applications to use. The reference manual describes it as a C library that uses GnuPG and GpgSM as backends for OpenPGP and CMS.

The NEWS file records a 1.0.0 release on 2004-09-30, described by the project as a thoroughly tested stable library branch. Shortly after that, version 1.0.2 on 2004-12-28 changed the library license to LGPL-2.1-or-later, a significant packaging and application-integration decision.

Over time GPGME grew beyond its C surface. The GnuPG wiki documents official bindings for C++, Qt, Python, and Common Lisp, and the NEWS file records later work on Python bindings, `gpgme-json`, and a 2.0.0 release in 2025 that split the C++, Qt, and Python bindings into separately released projects.

### Historique d'adoption

The GnuPG project recommends GPGME as the way applications should use the GnuPG crypto stack, because command-line options and textual output are not the same thing as an official API. That recommendation is why GPGME shows up as a dependency under mail user agents, desktop key managers, package-signing tools, and language bindings.

Distribution adoption follows from that API role. Homebrew packages the library together with command-line helper tools such as `gpgme-config`, `gpgme-json`, `gpgme-tool`, and `gnupg-key-manage`; Debian and Ubuntu expose `gpgme-json`; and other package systems carry the core `gpgme` library.

### Modes d'utilisation

Applications create a GPGME context and use library calls for encryption, decryption, signing, signature verification, key listing, import, export, and key management. GPGME invokes GnuPG or GpgSM behind the API, so application code does not need to parse `gpg` status output directly.

The library is especially important for mail user agents and GUI tools that need OpenPGP or S/MIME support without becoming cryptographic engines themselves.

### Pourquoi les passionnés de paquets s'y intéressent

GPGME is packaging glue with security consequences. It hides command-line churn behind ABI and API promises, which lets desktop applications, TUI tools, mail clients, and language bindings depend on GnuPG while still integrating with normal shared-library packaging.

For maintainers, GPGME also explains why many packages pull in the GnuPG stack even when they are not named `gpg`: they need the supported API, the engine binaries, libgpg-error, and sometimes Assuan or language binding packages.

### Chronologie

- 2004-09-30: GPGME 1.0.0 established the stable 1.x branch.
- 2004-12-28: GPGME 1.0.2 changed the library license to LGPL-2.1-or-later.
- 2005-10-01: GPGME 1.1.0 added configurable backend engine filenames and home directories.
- 2018-04-18: GPGME 1.11.0 added `gpgme-json` as a native messaging server for web browsers.
- 2024-06-17: The GnuPG wiki API page documented GPGME as the recommended API and listed official language bindings.
- 2025-06-03: GPGME 2.0.0 split C++, Qt, and Python bindings into separately released projects.
- 2026-05-18: GPGME 2.1.0 added new decrypt result fields and context flags.

### Related projects

- Related GnuPG components include GnuPG, GpgSM, libgpg-error, libassuan, pinentry, GPA, Kleopatra, Gpg4win, and language binding packages built over GPGME.

### Sources

- <https://dev.gnupg.org/source/gpgme.git>
- <https://github.com/gpg/gpgme/blob/master/NEWS>
- <https://wiki.gnupg.org/APIs>
- <https://www.gnupg.org/documentation/manuals/gpgme/Introduction.html>
- <https://www.gnupg.org/software/gpgme/index.html>


## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour gpgme. Les métadonnées de paquet Nucleus restent publiées ici afin que la couverture future dispose d'une URL stable.


## Autres enregistrements de gestionnaires de paquets

- Nix - gpgme: normalized package name match | nixpkgs package indexes: pkgs/by-name/gp/gpgme/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - gpgme - 2.0.1-r1: normalized package name match | Alpine Linux edge package indexes: gpgme from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | gnupg made easy | https://www.gnupg.org/related_software/gpgme/
- apk - gpgme-dev - 2.0.1-r1: normalized package name match | Alpine Linux edge package indexes: gpgme-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | gnupg made easy (development files) | https://www.gnupg.org/related_software/gpgme/
- apk - gpgme-doc - 2.0.1-r1: normalized package name match | Alpine Linux edge package indexes: gpgme-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | gnupg made easy (documentation) | https://www.gnupg.org/related_software/gpgme/
- apk - gpgme-lisp - 2.0.1-r1: normalized package name match | Alpine Linux edge package indexes: gpgme-lisp from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Common Lisp bindings for GPGME | https://www.gnupg.org/related_software/gpgme/
- dnf - gpgme - 2.0.1-6.fc45: normalized package name match | Fedora Rawhide package metadata: gpgme from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | GnuPG Made Easy - high level crypto API | https://gnupg.org/related_software/gpgme/
- dnf - gpgme-devel - 2.0.1-6.fc45: normalized package name match | Fedora Rawhide package metadata: gpgme-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development headers and libraries for gpgme | https://gnupg.org/related_software/gpgme/
- pacman - gpgme - 2.1.2-1: normalized package name match | Arch Linux sync databases: gpgme from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz | C wrapper library for GnuPG | https://www.gnupg.org/related_software/gpgme/
- zypper - gpgme - 2.1.2-1.2: normalized package name match | openSUSE Tumbleweed package metadata: gpgme from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Programmatic library interface to GnuPG | https://www.gnupg.org/related_software/gpgme/
- zypper - gpgme-devel - 2.1.2-1.2: normalized package name match | openSUSE Tumbleweed package metadata: gpgme-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for GPGME, a C library for accessing GnuPG | https://www.gnupg.org/related_software/gpgme/
- zypper - libgpgme45 - 2.1.2-1.2: normalized package name match | openSUSE Tumbleweed package metadata: libgpgme45 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Programmatic library interface to GnuPG | https://www.gnupg.org/related_software/gpgme/
- zypper - libgpgme45-32bit - 2.1.2-1.2: normalized package name match | openSUSE Tumbleweed package metadata: libgpgme45-32bit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Programmatic library interface to GnuPG | https://www.gnupg.org/related_software/gpgme/
- MacPorts - gpgme: normalized package name match | MacPorts ports tree: devel/gpgme/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - gpgme-json - 1.24.2-3: installed executable or alias match | Debian stable package indexes: gpgme-json from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Use GnuPG with web browser extensions | https://gnupg.org/software/gpgme/
- Ubuntu apt - gpgme-json - 1.18.0-4.1ubuntu4: installed executable or alias match | Ubuntu 24.04 LTS package indexes: gpgme-json from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | json interface to the GPGME GnuPG encryption library | https://www.gnupg.org/related_software/gpgme/


## Combined YAML source

View the package source record on GitHub. [combined/gpgme.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gpgme.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
