# 安装 nettle

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

## 安装

```sh
sudo av install brew:nettle
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install nettle
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install nettle
```

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

### Linux

- apk (92%):

```sh
sudo apk add nettle
```

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

- dnf (92%):

```sh
sudo dnf install nettle
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#nettle
```

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

- pacman (92%):

```sh
sudo pacman -S nettle
```

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

- zypper (92%):

```sh
sudo zypper install nettle
```

  证据: openSUSE Tumbleweed package metadata: nettle from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

## 软件包事实

- **软件包键:** brew:nettle
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/nettle>
- **版本:** 4.0
- **来源摘要:** Low-level cryptographic library
- **主页:** <https://www.lysator.liu.se/~nisse/nettle/>
- **上游文档:** <https://www.lysator.liu.se/~nisse/nettle/>
- **许可证:** GPL-2.0-or-later OR LGPL-3.0-or-later
- **源码归档:** <https://ftpmirror.gnu.org/gnu/nettle/nettle-4.0.tar.gz>
- **更新:** 2026-05-11T18:07:37Z
- **生成来源:** 2026-05-26T17:25:59+00:00

## 可执行文件

- nettle-hash (cli)
- nettle-lfib-stream (cli)
- nettle-pbkdf2 (cli)
- pkcs1-conv (cli)
- sexp-conv (cli)
- nettle-hash (别名)
- nettle-lfib-stream (别名)
- nettle-pbkdf2 (别名)
- pkcs1-conv (别名)
- sexp-conv (别名)

## 依赖

- gmp

## 安装行为

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

## 新鲜度

- 页面生成时间: 2026-05-26
- 管理器版本: 4.0
- 管理器更新时间: 2026-05-11
- 本地数据: ok
- 上游仓库: https://www.lysator.liu.se/~nisse/nettle/
- info: Release/tag comparison is only available for GitHub repositories.

## 安全说明

no executable entrypoint in the package index.

- **Geiger 风险:** green / low
- no executable entrypoint in the package index

## 相关链接

- [gmp](https://www.automicvault.com/pkg/brew/gmp/) - Runtime dependency declared by Homebrew.
- [gnutls](https://www.automicvault.com/pkg/brew/gnutls/) - Popular package that depends on this formula.
- [gstreamer](https://www.automicvault.com/pkg/brew/gstreamer/) - Popular package that depends on this formula.
- [openconnect](https://www.automicvault.com/pkg/brew/openconnect/) - Popular package that depends on this formula.
- [tiger-vnc](https://www.automicvault.com/pkg/brew/tiger-vnc/) - Popular package that depends on this formula.
- [opendht](https://www.automicvault.com/pkg/brew/opendht/) - Popular package that depends on this formula.
- [rdfind](https://www.automicvault.com/pkg/brew/rdfind/) - Popular package that depends on this formula.
- [chrony](https://www.automicvault.com/pkg/brew/chrony/) - Popular package that depends on this formula.
- [claws-mail](https://www.automicvault.com/pkg/brew/claws-mail/) - Popular package that depends on this formula.
- [nettle@3](https://www.automicvault.com/pkg/brew/nettle-3/) - Package name indicates the same formula family.

## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
