Automic VaultAutomic Vault

brew

Install gnupg with Homebrew, apk, chocolatey, apt, dnf, Nix, pacman, scoop, winget, zypper

GNU Privacy Guard (OpenPGP). Version 2.5.21 via Homebrew; verified 2026-07-02.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gnupg

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add gnupg

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

Debian aptverified · 92%
sudo apt install gnupg

Debian stable package indexes · gnupg · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install gnupg2

Fedora Rawhide package metadata · gnupg2 · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#gnupg

nixpkgs package indexes · gnupg · source: raw.githubusercontent.com

Arch Linux pacmanverified · 92%
sudo pacman -S gnupg

Arch Linux sync databases · gnupg · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install gpg2

openSUSE Tumbleweed package metadata · gpg2 · source: download.opensuse.org

Windows

Chocolateyverified · 92%
choco install gnupg

Chocolatey community package catalog · gnupg · source: community.chocolatey.org

Scoopverified · 92%
scoop install main/gnupg

Scoop official bucket manifest trees · bucket/gnupg.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id GnuPG.GnuPG -e

Windows Package Manager source index · GnuPG.GnuPG · source: cdn.winget.microsoft.com

overview

Package summary

GNU Privacy Guard (OpenPGP)

Commands and aliases

  • addgnupghome
  • applygnupgdefaults
  • dirmngr
  • dirmngr-client
  • gpg
  • gpg-agent
  • gpg-authcode-sign.sh
  • gpg-card
  • gpg-connect-agent
  • gpg-mail-tube
  • gpg-wks-client
  • gpg-wks-server
  • gpgconf
  • gpgparsemail
  • gpgscm
  • gpgsm
  • gpgsplit
  • gpgtar
  • gpgv
  • kbxutil
  • watchgnupg

history

Project history and usage

GnuPG, also known as GPG, is the GNU Privacy Guard: a free implementation of the OpenPGP standard used for encryption, signatures and key management.

Project history

GnuPG was introduced in 1997 as Free Software and became the GNU project's OpenPGP implementation. The project describes it as a complete and free implementation of OpenPGP, with command-line integration, key-management facilities and access modules for public-key directories.

The release-line history shows the 1.0 branch born in 1999, the 1.4 branch in 2004, the 2.0 branch in 2006 and later 2.x branches adding the more modular architecture around gpg-agent, dirmngr, gpgsm, smart-card support and supporting libraries.

Adoption history

GnuPG became a standard security tool in Unix-like systems and software-distribution workflows. The project download page notes that common Linux distributions such as Debian, Fedora, Red Hat and Ubuntu include GnuPG, while Gpg4win provides an integrated Windows distribution with a context menu tool, crypto manager and Outlook plugin.

Its ecosystem includes libraries and frontends as well as helper packages such as pinentry, GPGME, GPA and Scute. That surrounding stack made GnuPG a platform for applications needing OpenPGP operations rather than only an interactive command.

How it is used

Practitioners use GnuPG to encrypt and decrypt files or messages, create and verify signatures, manage public and private keys, fetch or publish keys through directory mechanisms, operate smart cards and verify downloaded source releases. Its command-line interface also makes it common in scripts, build systems and release automation.

Why package nerds care

For package users, GnuPG is foundational plumbing: it links archive signatures, maintainer keys, trust databases, agents, pinentry programs, smart-card daemons and language bindings. Installing it often means installing the small operational security stack around OpenPGP, not just the gpg binary.

Timeline

  • 1997: GnuPG was introduced as Free Software.
  • 1999: The 1.0 release branch was born.
  • 2004: The 1.4 release branch was born.
  • 2006: The 2.0 release branch was born.
  • 2014: The 2.2 release branch was born.
  • 2021: The 2.4 release branch was born.

Related projects

  • GnuPG implements OpenPGP and is related to PGP by protocol lineage. Its project ecosystem includes GPGME, pinentry, dirmngr, gpg-agent, gpgsm, Scute, GPA and Gpg4win.

security posture

No protected-tool coverage found yet

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

Install behavior

  • Homebrew declares a post-install hook for this formula.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 10 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

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

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.gnupg/gpg.conf~/.gnupg/gpg-agent.conf~/.gnupg/dirmngr.conf~/.gnupg/common.conf

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.gnupg/private-keys-v1.d/~/.gnupg/secring.gpg~/.gnupg/trustdb.gpg

executables

Installed executables

CommandKindExposureNote
addgnupghomecliglobal executable
applygnupgdefaultscliglobal executable
dirmngrcliglobal executable
dirmngr-clientcliglobal executable
gpgcliglobal executable
gpg-agentcliglobal executable
gpg-authcode-sign.shcliglobal executable
gpg-cardcliglobal executable
gpg-connect-agentcliglobal executable
gpg-mail-tubecliglobal executable
gpg-wks-clientcliglobal executable
gpg-wks-servercliglobal executable
gpgconfcliglobal executable
gpgparsemailcliglobal executable
gpgscmcliglobal executable
gpgsmcliglobal executable
gpgsplitcliglobal executable
gpgtarcliglobal executable
gpgvcliglobal executable
kbxutilcliglobal executable
watchgnupgcliglobal 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 version2.5.21
manager updated2026-07-02
local dataok
upstreamnot checked
latest detectednot detected

https://gnupg.org/

  • infoRelease/tag comparison is only available for GitHub repositories.https://gnupg.org/none confidence

install metadata

Package metadata

Package keybrew:gnupg
Version2.5.21
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/gnupg
Homepagehttps://gnupg.org/
Repositoryhttps://dev.gnupg.org/source/gnupg.git
Upstream docshttps://gnupg.org/documentation/index.html
LicenseGPL-3.0-or-later
Source archivehttps://gnupg.org/ftp/gcrypt/gnupg/gnupg-2.5.21.tar.bz2
Last updated2026-07-02T18:06:04Z
Pulseupdated
Dependenciesgettext, gnutls, libassuan, libgcrypt, libgpg-error, libksba, libusb, npth, pinentry, readline
Build dependenciespkgconf
Uses from macOSbzip2, openldap, sqlite
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installdefined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegnupg
Aliases
  • gnupg@2.5
  • gpg
  • gpg2
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%

gnupg 2.4.7-21+deb13u1

GNU privacy guard - a free PGP replacement

https://www.gnupg.org/

sudo apt install gnupg
  • Section: utils
  • Architecture: all
  • Source Package: gnupg2
  • 5 dependencies
  • 6 optional deps
  • normalized package name match
  • Matched by: Gnupg
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gnupg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

gnupg

nix profile install nixpkgs#gnupg
  • normalized package name match
  • Matched by: Gnupg
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: gnupg from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

gnupg 2.4.4-2ubuntu17

GNU privacy guard - a free PGP replacement

https://www.gnupg.org/

sudo apt install gnupg
  • Section: utils
  • Architecture: all
  • Source Package: gnupg2
  • 7 dependencies
  • 5 optional deps
  • normalized package name match
  • Matched by: Gnupg
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gnupg from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

gnupg 2.4.9-r1

GNU Privacy Guard 2 - meta package for full GnuPG suite

https://www.gnupg.org/

sudo apk add gnupg
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: gnupg
  • 1 dependencies
  • normalized package name match
  • Matched by: Gnupg
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gnupg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

gnupg-dirmngr 2.4.9-r1

GNU Privacy Guard 2 - network certificate management service

https://www.gnupg.org/

sudo apk add gnupg-dirmngr
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: gnupg
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gnupg
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gnupg-dirmngr from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

gnupg-doc 2.4.9-r1

GNU Privacy Guard 2 - meta package for full GnuPG suite (documentation)

https://www.gnupg.org/

sudo apk add gnupg-doc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: gnupg
  • normalized package name match
  • Matched by: Gnupg
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gnupg-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

gnupg-gpgconf 2.4.9-r1

GNU Privacy Guard 2 - core configuration utilities

https://www.gnupg.org/

sudo apk add gnupg-gpgconf
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: gnupg
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gnupg
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gnupg-gpgconf from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

gnupg-keyboxd 2.4.9-r1

GNU Privacy Guard 2 - keyboxd manager

https://www.gnupg.org/

sudo apk add gnupg-keyboxd
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: gnupg
  • 1 dependencies
  • normalized package name match
  • Matched by: Gnupg
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gnupg-keyboxd from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

gnupg-lang 2.4.9-r1

Languages for package gnupg

https://www.gnupg.org/

sudo apk add gnupg-lang
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: gnupg
  • normalized package name match
  • Matched by: Gnupg
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gnupg-lang from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

gnupg-scdaemon 2.4.9-r1

GNU Privacy Guard 2 - smart card support daemon

https://www.gnupg.org/

sudo apk add gnupg-scdaemon
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: gnupg
  • 1 dependencies
  • normalized package name match
  • Matched by: Gnupg
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gnupg-scdaemon from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

gnupg-scdaemon-udev 2.4.9-r1

GNU Privacy Guard 2 - meta package for full GnuPG suite (udev rules)

https://www.gnupg.org/

sudo apk add gnupg-scdaemon-udev
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: gnupg
  • normalized package name match
  • Matched by: Gnupg
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gnupg-scdaemon-udev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

gnupg-utils 2.4.9-r1

GNU Privacy Guard 2 - utility programs

https://www.gnupg.org/

sudo apk add gnupg-utils
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: gnupg
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gnupg
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gnupg-utils from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

gnupg-wks-client 2.4.9-r1

GNU Privacy Guard 2 - Web Key Service client

https://www.gnupg.org/

sudo apk add gnupg-wks-client
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: gnupg
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gnupg
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gnupg-wks-client from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

gpg 2.4.9-r1

GNU Privacy Guard 2 - public key operations only

https://www.gnupg.org/

sudo apk add gpg
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: gnupg
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gnupg
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gpg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

gpg-agent 2.4.9-r1

GNU Privacy Guard 2 - cryptographic agent

https://www.gnupg.org/

sudo apk add gpg-agent
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: gnupg
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gnupg
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gpg-agent from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

gpg-wks-server 2.4.9-r1

GNU Privacy Guard 2 - Web Key Service server

https://www.gnupg.org/

sudo apk add gpg-wks-server
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: gnupg
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gnupg
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gpg-wks-server 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

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment