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

GNU Privacy Guard (OpenPGP). Version 1.4.23 via Homebrew; verified 2026-06-13. Also installable with debian: sudo apt install gpgv1.

## Install

```sh
sudo av install brew:gnupg@1.4
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install gnupg@1.4
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install gpgv1
```

  Evidence: Debian stable package indexes: gpgv1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- apk (92%):

```sh
sudo apk add gnupg
```

  Evidence: Alpine Linux edge package indexes: gnupg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#gnupg
```

  Evidence: nixpkgs package indexes: gnupg from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S gnupg
```

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

- dnf (92%):

```sh
sudo dnf install gnupg2
```

  Evidence: Fedora Rawhide package metadata: gnupg2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- zypper (92%):

```sh
sudo zypper install gpg2
```

  Evidence: openSUSE Tumbleweed package metadata: gpg2 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install gnupg
```

  Evidence: Chocolatey community package catalog: gnupg from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','glab'

- Scoop (92%):

```sh
scoop install main/gnupg
```

  Evidence: Scoop official bucket manifest trees: bucket/gnupg.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id GnuPG.GnuPG -e
```

  Evidence: Windows Package Manager source index: GnuPG.GnuPG from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:gnupg@1.4
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/gnupg@1.4>
- **Version:** 1.4.23
- **Source summary:** GNU Privacy Guard (OpenPGP)
- **Homepage:** <https://www.gnupg.org/>
- **Repository:** <https://dev.gnupg.org/source/gnupg>
- **Upstream docs:** <https://www.gnupg.org/documentation/manuals/gnupg>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://gnupg.org/ftp/gcrypt/gnupg/gnupg-1.4.23.tar.bz2>
- **Last updated:** 2026-06-13T23:34:56+02:00
- **Generated:** 2026-07-26T07:20:29+00:00

## Executables

- gpg-zip1 (cli)
- gpg1 (cli)
- gpgsplit1 (cli)
- gpgv1 (cli)
- gpg-zip1 (alias)
- gpg1 (alias)
- gpgsplit1 (alias)
- gpgv1 (alias)

## Install behavior

- Post-install hook: not defined
- Caveats: This formula does not install either `gpg` or `gpgv` executables into the PATH. If you simply require `gpg` and `gpgv` executables without explicitly needing GnuPG 1.x we recommend: brew install gnupg If you really need to use these tools without the "1" suffix you can add a "gpgbin" directory to your PATH like: PATH="$HOMEBREW_PREFIX/opt/gnupg@1.4/libexec/gpgbin:$PATH" Note that doing so may interfere with GPG-using formulae installed via Homebrew.
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-26
- Package-manager version: 1.4.23
- Package-manager updated: 2026-06-13
- Local data: ok
- Upstream repository: https://www.gnupg.org/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

The gnupg@1.4 formula represents the legacy GnuPG 1.4 branch, packaged separately so users can install gpg1-style tools alongside newer GnuPG packages.

### Project history

GnuPG itself was introduced in 1997 as the GNU project's free OpenPGP implementation. The 1.4 branch was born in 2004 and belongs to the older single-binary lineage before the more modular GnuPG 2 architecture became the main branch for many users.

The GnuPG download page describes 1.4 as the old single-binary version, with no dependency on the newer GnuPG support libraries or pinentry. It also notes support for unsafe PGP-2 keys and the absence of many modern features.

### Adoption history

The versioned package role is compatibility. It exists for scripts, archives, tests and users that need the 1.4 behavior, the gpg1 command family, or legacy OpenPGP material without replacing the newer gnupg formula.

### How it is used

Practitioners use gnupg@1.4 when they deliberately need gpg1, gpgv1 or related suffixed executables. Typical use is compatibility work, legacy signature verification, old-key handling or controlled testing against the 1.4 command-line behavior.

### Why package nerds care

For package users, gnupg@1.4 is a clean example of a versioned formula preserving an old security toolchain without making it the default OpenPGP stack. The suffixing of executables makes side-by-side installation practical.

### Timeline

- 1997: GnuPG was introduced as Free Software.
- 2004: The 1.4 release branch was born.
- 2018: The GnuPG download table listed 1.4.23 as the 1.4 source release.
- 2020s: Package managers kept versioned or suffixed forms for compatibility workflows.

### Related projects

- gnupg@1.4 is part of the GnuPG/OpenPGP lineage and is related to gnupg, gpgv, PGP-2 compatibility workflows and software-release signature verification.

### Sources

- <https://formulae.brew.sh/formula/gnupg@1.4>
- <https://gnupg.org/download/index.html>
- <https://www.gnupg.org/>
- <https://www.gnupg.org/documentation/manuals/gnupg>


## Security Notes

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



## 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

- Unix: ~/.gnupg/gpg.conf, ~/.gnupg/common.conf

## Credential files

- Unix: ~/.gnupg/secring.gpg
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gnupg@1.4
- **Aliases:** gpg1
- **Version Scheme:** 0
- **Revision:** 1
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - gpgv1 - 1.4.23-3: installed executable or alias match | Debian stable package indexes: gpgv1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU privacy guard - signature verification tool (deprecated "classic" version) | https://www.gnupg.org
- Ubuntu apt - gpgv1 - 1.4.23-2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: gpgv1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GNU privacy guard - signature verification tool (deprecated "classic" version) | https://www.gnupg.org
- Debian apt - gnupg - 2.4.7-21+deb13u1: versioned package alias match | Debian stable package indexes: gnupg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU privacy guard - a free PGP replacement | https://www.gnupg.org/
- Nix - gnupg: versioned package alias match | nixpkgs package indexes: gnupg from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - gnupg - 2.4.4-2ubuntu17: versioned package alias match | Ubuntu 24.04 LTS package indexes: gnupg from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | GNU privacy guard - a free PGP replacement | https://www.gnupg.org/
- apk - gnupg - 2.4.9-r1: versioned package alias match | Alpine Linux edge package indexes: gnupg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | GNU Privacy Guard 2 - meta package for full GnuPG suite | https://www.gnupg.org/
- apk - gnupg-dirmngr - 2.4.9-r1: versioned package alias match | Alpine Linux edge package indexes: gnupg-dirmngr from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | GNU Privacy Guard 2 - network certificate management service | https://www.gnupg.org/
- apk - gnupg-doc - 2.4.9-r1: versioned package alias match | Alpine Linux edge package indexes: gnupg-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | GNU Privacy Guard 2 - meta package for full GnuPG suite (documentation) | https://www.gnupg.org/
- apk - gnupg-gpgconf - 2.4.9-r1: versioned package alias match | Alpine Linux edge package indexes: gnupg-gpgconf from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | GNU Privacy Guard 2 - core configuration utilities | https://www.gnupg.org/
- apk - gnupg-keyboxd - 2.4.9-r1: versioned package alias match | Alpine Linux edge package indexes: gnupg-keyboxd from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | GNU Privacy Guard 2 - keyboxd manager | https://www.gnupg.org/
- apk - gnupg-lang - 2.4.9-r1: versioned package alias match | Alpine Linux edge package indexes: gnupg-lang from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Languages for package gnupg | https://www.gnupg.org/
- apk - gnupg-scdaemon - 2.4.9-r1: versioned package alias match | Alpine Linux edge package indexes: gnupg-scdaemon from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | GNU Privacy Guard 2 - smart card support daemon | https://www.gnupg.org/
- apk - gnupg-scdaemon-udev - 2.4.9-r1: versioned package alias match | Alpine Linux edge package indexes: gnupg-scdaemon-udev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | GNU Privacy Guard 2 - meta package for full GnuPG suite (udev rules) | https://www.gnupg.org/
- apk - gnupg-utils - 2.4.9-r1: versioned package alias match | Alpine Linux edge package indexes: gnupg-utils from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | GNU Privacy Guard 2 - utility programs | https://www.gnupg.org/
- apk - gnupg-wks-client - 2.4.9-r1: versioned package alias match | Alpine Linux edge package indexes: gnupg-wks-client from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | GNU Privacy Guard 2 - Web Key Service client | https://www.gnupg.org/
- apk - gpg - 2.4.9-r1: versioned package alias match | Alpine Linux edge package indexes: gpg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | GNU Privacy Guard 2 - public key operations only | https://www.gnupg.org/


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://www.automicvault.com/pkg/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [gnupg](https://www.automicvault.com/pkg/brew/gnupg/) - Package name indicates the same formula family.
- [hopenpgp-tools](https://www.automicvault.com/pkg/brew/hopenpgp-tools/) - Shares av.db curated category or tags: cli, cryptography, key-management, openpgp, security.
- [ccrypt](https://www.automicvault.com/pkg/brew/ccrypt/) - Shares av.db curated category or tags: cli, cryptography, encryption, security.
- [gpa](https://www.automicvault.com/pkg/brew/gpa/) - Shares av.db curated category or tags: cli, key-management, openpgp, security.
- [gpg-tui](https://www.automicvault.com/pkg/brew/gpg-tui/) - Shares av.db curated category or tags: cli, key-management, openpgp, security.
- [gpgme](https://www.automicvault.com/pkg/brew/gpgme/) - Shares av.db curated category or tags: cli, cryptography, openpgp, security.
- [nettle](https://www.automicvault.com/pkg/brew/nettle/) - Shares av.db curated category or tags: cli, cryptography, encryption, security.
- [pgpdump](https://www.automicvault.com/pkg/brew/pgpdump/) - Shares av.db curated category or tags: cli, cryptography, openpgp, security.

## Combined YAML source

View the package source record on GitHub. [combined/gnupg@1.4.yml](https://github.com/automic-vault/db/blob/main/combined/gnupg@1.4.yml)


## Sources

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