# 使用 Homebrew, apk, dnf, MacPorts, pacman, zypper, apt 安装 pinentry

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

## 安装

```sh
sudo av install brew:pinentry
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install pinentry
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install pinentry
```

  证据: MacPorts ports tree: security/pinentry/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add pinentry
```

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

- dnf (92%):

```sh
sudo dnf install pinentry
```

  证据: Fedora Rawhide package metadata: pinentry from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S pinentry
```

  证据: Arch Linux sync databases: pinentry from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

- zypper (92%):

```sh
sudo zypper install pinentry
```

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

- Debian apt (92%):

```sh
sudo apt install pinentry-curses
```

  证据: Debian stable package indexes: pinentry-curses from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## 软件包事实

- **软件包键:** brew:pinentry
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/pinentry>
- **版本:** 1.3.3
- **来源摘要:** Passphrase entry dialog utilizing the Assuan protocol
- **主页:** <https://www.gnupg.org/related_software/pinentry/>
- **上游文档:** <https://www.gnupg.org/related_software/pinentry/>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://www.gnupg.org/ftp/gcrypt/pinentry/pinentry-1.3.3.tar.bz2>
- **最后更新:** 2026-07-01T21:35:39Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- pinentry (cli)
- pinentry-curses (cli)
- pinentry-tty (cli)
- pinentry (别名)
- pinentry-curses (别名)
- pinentry-tty (别名)

## 依赖

- libassuan
- libgpg-error

## 构建依赖

- pkgconf

## macOS 提供的库

- ncurses

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.3.3
- 管理器更新时间: 2026-07-01
- 本地数据: OK
- 上游仓库: https://www.gnupg.org/related_software/pinentry/
- 信息: Release/tag comparison is only available for GitHub repositories.

## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

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

## 其他软件包管理器记录

- Debian apt - pinentry-curses - 1.3.1-2: normalized package name match | Debian stable package indexes: pinentry-curses from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | curses-based PIN or pass-phrase entry dialog for GnuPG | https://www.gnupg.org/related_software/pinentry/
- Debian apt - pinentry-doc - 1.3.1-2: normalized package name match | Debian stable package indexes: pinentry-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | documentation for pinentry packages | https://www.gnupg.org/related_software/pinentry/
- Debian apt - pinentry-fltk - 1.3.1-2: normalized package name match | Debian stable package indexes: pinentry-fltk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | FLTK-based PIN or pass-phrase entry dialog for GnuPG | https://www.gnupg.org/related_software/pinentry/
- Debian apt - pinentry-gnome3 - 1.3.1-2: normalized package name match | Debian stable package indexes: pinentry-gnome3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNOME 3 PIN or pass-phrase entry dialog for GnuPG | https://www.gnupg.org/related_software/pinentry/
- Debian apt - pinentry-gtk2 - 1.3.1-2: normalized package name match | Debian stable package indexes: pinentry-gtk2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GTK+-2-based PIN or pass-phrase entry dialog for GnuPG | https://www.gnupg.org/related_software/pinentry/
- Debian apt - pinentry-qt - 1.3.1-2: normalized package name match | Debian stable package indexes: pinentry-qt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Qt-based PIN or pass-phrase entry dialog for GnuPG | https://www.gnupg.org/related_software/pinentry/
- Debian apt - pinentry-tty - 1.3.1-2: normalized package name match | Debian stable package indexes: pinentry-tty from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | minimal dumb-terminal PIN or pass-phrase entry for GnuPG | https://www.gnupg.org/related_software/pinentry/
- Ubuntu apt - pinentry-curses - 1.2.1-3ubuntu5: normalized package name match | Ubuntu 24.04 LTS package indexes: pinentry-curses from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | curses-based PIN or pass-phrase entry dialog for GnuPG | https://www.gnupg.org/related_software/pinentry/
- Ubuntu apt - pinentry-doc - 1.2.1-3ubuntu5: normalized package name match | Ubuntu 24.04 LTS package indexes: pinentry-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | documentation for pinentry packages | https://www.gnupg.org/related_software/pinentry/
- Ubuntu apt - pinentry-fltk - 1.2.1-3ubuntu5: normalized package name match | Ubuntu 24.04 LTS package indexes: pinentry-fltk from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | FLTK-based PIN or pass-phrase entry dialog for GnuPG | https://www.gnupg.org/related_software/pinentry/
- Ubuntu apt - pinentry-gnome3 - 1.2.1-3ubuntu5: normalized package name match | Ubuntu 24.04 LTS package indexes: pinentry-gnome3 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | GNOME 3 PIN or pass-phrase entry dialog for GnuPG | https://www.gnupg.org/related_software/pinentry/
- Ubuntu apt - pinentry-gtk2 - 1.2.1-3ubuntu5: normalized package name match | Ubuntu 24.04 LTS package indexes: pinentry-gtk2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GTK+-2-based PIN or pass-phrase entry dialog for GnuPG | https://www.gnupg.org/related_software/pinentry/
- Ubuntu apt - pinentry-qt - 1.2.1-3ubuntu5: normalized package name match | Ubuntu 24.04 LTS package indexes: pinentry-qt from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Qt-based PIN or pass-phrase entry dialog for GnuPG | https://www.gnupg.org/related_software/pinentry/
- Ubuntu apt - pinentry-tty - 1.2.1-3ubuntu5: normalized package name match | Ubuntu 24.04 LTS package indexes: pinentry-tty from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | minimal dumb-terminal PIN or pass-phrase entry for GnuPG | https://www.gnupg.org/related_software/pinentry/
- apk - pinentry - 1.3.2-r0: normalized package name match | Alpine Linux edge package indexes: pinentry from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol | https://www.gnupg.org/aegypten2/
- apk - pinentry-curses-ss - 1.3.2-r0: normalized package name match | Alpine Linux edge package indexes: pinentry-curses-ss from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Curses-based PIN or pass-phrase entry dialog for GnuPG with Secret Service support | https://www.gnupg.org/aegypten2/


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/zh-hans/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [libgpg-error](https://pkg.so/zh-hans/brew/libgpg-error/) - Runtime dependency declared by Homebrew.
- [libassuan](https://pkg.so/zh-hans/brew/libassuan/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [gnupg](https://pkg.so/zh-hans/brew/gnupg/) - Popular package that depends on this formula.
- [lastpass-cli](https://pkg.so/zh-hans/brew/lastpass-cli/) - Popular package that depends on this formula.
- [rbw](https://pkg.so/zh-hans/brew/rbw/) - Popular package that depends on this formula.
- [pinentry-mac](https://pkg.so/zh-hans/brew/pinentry-mac/) - Shares pkgdb curated category or tags: authentication, cli, gnupg, passphrase, security.
- [krb5](https://pkg.so/zh-hans/brew/krb5/) - Shares pkgdb curated category or tags: authentication, cli, security.
- [cyrus-sasl](https://pkg.so/zh-hans/brew/cyrus-sasl/) - Shares pkgdb curated category or tags: authentication, cli, security.
- [linux-pam](https://pkg.so/zh-hans/brew/linux-pam/) - Shares pkgdb curated category or tags: authentication, cli, security.
- [oath-toolkit](https://pkg.so/zh-hans/brew/oath-toolkit/) - Shares pkgdb curated category or tags: authentication, cli, security.
- [oauth2_proxy](https://pkg.so/zh-hans/brew/oauth2-proxy/) - Shares pkgdb curated category or tags: authentication, cli, security.
- [pocket-id](https://pkg.so/zh-hans/brew/pocket-id/) - Shares pkgdb curated category or tags: authentication, cli, security.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
