macOS
brew install nettlelocal Homebrew formula metadata
sudo port install nettleMacPorts ports tree · devel/nettle/Portfile · ソース: api.github.com
brew
nettle のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install nettlelocal Homebrew formula metadata
sudo port install nettleMacPorts ports tree · devel/nettle/Portfile · ソース: api.github.com
sudo apk add nettleAlpine Linux edge package indexes · nettle · ソース: dl-cdn.alpinelinux.org
sudo dnf install nettleFedora Rawhide package metadata · nettle · ソース: dl.fedoraproject.org
nix profile install nixpkgs#nettlenixpkgs package indexes · nettle · ソース: raw.githubusercontent.com
sudo pacman -S nettleArch Linux sync databases · nettle · ソース: geo.mirror.pkgbuild.com
sudo zypper install nettleopenSUSE Tumbleweed package metadata · nettle · ソース: download.opensuse.org
sudo apt install libhogweed6t64Debian stable package indexes · libhogweed6t64 · ソース: deb.debian.org
概要
Low-level cryptographic library
履歴
Nettle is a low-level C cryptographic library by Niels Moller. Its design goal is deliberately narrow: provide reusable primitive implementations and simple interfaces while leaving algorithm selection, memory allocation, I/O, and higher-level protocol policy to callers.
The Nettle manual says the library is meant to fit many contexts, including object-oriented language toolkits, applications such as LSH or GnuPG, and even kernel space. It explains the core design by saying Nettle does the low-level crypto work and avoids algorithm selection, memory allocation, and I/O so higher-level toolkits can build their own interfaces on top.
Niels Moller's June 30, 2009 GNU announcement says Nettle 2.0 had been released on June 8, 2009 and that Nettle had become a GNU package. The same announcement highlights the 2.0 ABI break that split the library into libnettle for symmetric algorithms and libhogweed for public-key algorithms that depend on GMP.
The upstream GitLab tags show the later 3.x and 4.x release cadence: 3.10 on June 16, 2024, 3.10.2 on June 26, 2025, and 4.0 on February 4, 2026. Homebrew's nettle formula tracked stable 4.0 from the GNU mirror and depends on GMP.
Nettle's ecosystem role is much larger than its command-line tools suggest. The GnuTLS manual says its cryptographic library layer supports libnettle, and notes that older GnuTLS versions used libgcrypt before switching to nettle mainly for performance and secondarily because it was simpler to use.
Package-manager adoption is broad: the av.db input records Nettle across Homebrew, Alpine, Debian/Ubuntu via libhogweed, Fedora, MacPorts, Nix, Arch, and openSUSE. Homebrew analytics generated on 2026-07-01 reported 780,093 nettle installs over 365 days, but only 8,600 installs-on-request, which is classic library behavior: most installs arrive as dependencies.
Application developers include headers such as nettle/sha2.h and link with -lnettle for symmetric/hash code, or use libhogweed for public-key functionality that depends on GMP. The manual's SHA256 example demonstrates the intended low-level style: explicit context structs, caller-managed buffers, explicit lengths, and no hidden allocation.
End users usually meet Nettle through dependent software rather than by typing its bundled commands. The Homebrew formula exposes tools such as nettle-hash, nettle-pbkdf2, pkcs1-conv, sexp-conv, and nettle-lfib-stream, but its practical importance is as a crypto backend for TLS/security stacks and other packages.
Nettle is a package nerd's dependency graph landmark. It is small enough to audit as a C library, old enough to have stable ABI expectations, and important enough that a major version line matters to large formula rebuilds. The libnettle/libhogweed split is also a clean example of packaging ABI boundaries following real dependency boundaries.
セキュリティ状態
nettle に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
nettle-hash | cli | グローバル実行可能ファイル | |
nettle-lfib-stream | cli | グローバル実行可能ファイル | |
nettle-pbkdf2 | cli | グローバル実行可能ファイル | |
pkcs1-conv | cli | グローバル実行可能ファイル | |
sexp-conv | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://www.lysator.liu.se/~nisse/nettle/
インストールメタデータ
| パッケージキー | brew:nettle |
|---|---|
| バージョン | 4.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/nettle |
| ホームページ | https://www.lysator.liu.se/~nisse/nettle/ |
| リポジトリ | https://git.lysator.liu.se/nettle/nettle |
| 上流ドキュメント | https://www.lysator.liu.se/~nisse/nettle/nettle.html |
| ライセンス | 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 |
| Pulse | updated |
| 依存関係 | gmp |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | nettle |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
libhogweed6t64 3.10.1-1
low level cryptographic library (public-key cryptos)
https://www.lysator.liu.se/~nisse/nettle/
sudo apt install libhogweed6t64libnettle8t64 3.10.1-1
low level cryptographic library (symmetric and one-way cryptos)
https://www.lysator.liu.se/~nisse/nettle/
sudo apt install libnettle8t64nettle-bin 3.10.1-1
low level cryptographic library (binary tools)
https://www.lysator.liu.se/~nisse/nettle/
sudo apt install nettle-binnettle-dev 3.10.1-1
low level cryptographic library (development files)
https://www.lysator.liu.se/~nisse/nettle/
sudo apt install nettle-devnettle
nix profile install nixpkgs#nettlelibhogweed6t64 3.9.1-2.2build1
low level cryptographic library (public-key cryptos)
http://www.lysator.liu.se/~nisse/nettle/
sudo apt install libhogweed6t64libnettle8t64 3.9.1-2.2build1
low level cryptographic library (symmetric and one-way cryptos)
http://www.lysator.liu.se/~nisse/nettle/
sudo apt install libnettle8t64nettle-bin 3.9.1-2.2build1
low level cryptographic library (binary tools)
http://www.lysator.liu.se/~nisse/nettle/
sudo apt install nettle-binnettle-dev 3.9.1-2.2build1
low level cryptographic library (development files)
http://www.lysator.liu.se/~nisse/nettle/
sudo apt install nettle-devnettle 3.10.2-r0
Low-level cryptographic library
https://www.lysator.liu.se/~nisse/nettle/
sudo apk add nettlenettle-dev 3.10.2-r0
Low-level cryptographic library (development files)
https://www.lysator.liu.se/~nisse/nettle/
sudo apk add nettle-devnettle-static 3.10.2-r0
Low-level cryptographic library (static library)
https://www.lysator.liu.se/~nisse/nettle/
sudo apk add nettle-staticnettle-utils 3.10.2-r0
Utils for nettle
https://www.lysator.liu.se/~nisse/nettle/
sudo apk add nettle-utilsnettle 3.10.1-3.fc44
A low-level cryptographic library
http://www.lysator.liu.se/~nisse/nettle/
sudo dnf install nettlenettle-devel 3.10.1-3.fc44
Development headers for a low-level cryptographic library
http://www.lysator.liu.se/~nisse/nettle/
sudo dnf install nettle-develnettle 4.0-1
A low-level cryptographic library
https://www.lysator.liu.se/~nisse/nettle
sudo pacman -S nettleソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.