Install command:
brew install gnupg

Also known as: gnupg2, gnupg@2.4, gpg, gpg2

Formerly known as: gnupg2

GNU Pretty Good Privacy (PGP) package

License: GPL-3.0-or-later

Formula JSON API: /api/formula/gnupg.json

Formula code: gnupg.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon sonoma
big sur
Intel sonoma
big sur
64-bit linux

Current versions:

stable 2.4.3

Other versions:

gnupg@2.2 2.2.41 GNU Pretty Good Privacy (PGP) package
gnupg@1.4 1.4.23 GNU Pretty Good Privacy (PGP) package

Depends on:

gnutls 3.8.1 GNU Transport Layer Security (TLS) Library
libassuan 2.5.6 Assuan IPC Library
libgcrypt 1.10.2 Cryptographic library based on the code from GnuPG
libgpg-error 1.47 Common error values for all GnuPG components
libksba 1.6.4 X.509 and CMS library
libusb 1.0.26 Library for USB device access
npth 1.6 New GNU portable threads library
openldap 2.6.6 Open source suite of directory software
pinentry 1.2.1 Passphrase entry dialog utilizing the Assuan protocol
readline 8.2.1 Library for command-line editing
gettext 0.22.2 GNU internationalization (i18n) and localization (l10n) library

Depends on when building from source:

pkg-config 0.29.2 Manage compile and link flags for libraries


Installs (30 days)
gnupg 35,229
Installs on Request (30 days)
gnupg 33,399
Build Errors (30 days)
gnupg 18
Installs (90 days)
gnupg 108,935
Installs on Request (90 days)
gnupg 103,428
Installs (365 days)
gnupg 280,978
Installs on Request (365 days)
gnupg 264,247
Fork me on GitHub