Automic VaultAutomic Vault

brew

nettle を Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, apt でインストール

nettle のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install nettle

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install nettle

MacPorts ports tree · devel/nettle/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add nettle

Alpine Linux edge package indexes · nettle · ソース: dl-cdn.alpinelinux.org

Fedora dnf確認済み · 92%
sudo dnf install nettle

Fedora Rawhide package metadata · nettle · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#nettle

nixpkgs package indexes · nettle · ソース: raw.githubusercontent.com

Arch Linux pacman確認済み · 92%
sudo pacman -S nettle

Arch Linux sync databases · nettle · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install nettle

openSUSE Tumbleweed package metadata · nettle · ソース: download.opensuse.org

Debian apt確認済み · 92%
sudo apt install libhogweed6t64

Debian stable package indexes · libhogweed6t64 · ソース: deb.debian.org

概要

パッケージ概要

Low-level cryptographic library

コマンドとエイリアス

  • nettle-hash
  • nettle-lfib-stream
  • nettle-pbkdf2
  • pkcs1-conv
  • sexp-conv

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 2001: The manual-history sources identify Nettle as originally written by Niels Moller in the early 2000s.
  • 2009-06-08: Nettle 2.0 was released.
  • 2009-06-30: Nettle was announced as a GNU package.
  • 2024-06-16: Upstream tagged Nettle 3.10.
  • 2025-06-26: Upstream tagged Nettle 3.10.2.
  • 2026-02-04: Upstream tagged Nettle 4.0.
  • 2026-07-01: Homebrew API reported stable version 4.0 and 780,093 installs over 365 days.

セキュリティ状態

保護ツール対応はまだ見つかっていません

nettle に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
nettle-hashcliグローバル実行可能ファイル
nettle-lfib-streamcliグローバル実行可能ファイル
nettle-pbkdf2cliグローバル実行可能ファイル
pkcs1-convcliグローバル実行可能ファイル
sexp-convcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版4.0
マネージャ更新日2026-05-11
ローカルデータOK
上流not checked
検出された最新未検出

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
Pulseupdated
依存関係gmp
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namenettle
Aliases
  • libnettle
  • nettle@4
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

libhogweed6t64 3.10.1-1

low level cryptographic library (public-key cryptos)

https://www.lysator.liu.se/~nisse/nettle/

sudo apt install libhogweed6t64
  • Section: libs
  • Architecture: amd64
  • Source Package: nettle
  • 3 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Nettle
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhogweed6t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnettle8t64 3.10.1-1

low level cryptographic library (symmetric and one-way cryptos)

https://www.lysator.liu.se/~nisse/nettle/

sudo apt install libnettle8t64
  • Section: libs
  • Architecture: amd64
  • Source Package: nettle
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Nettle
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnettle8t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nettle-bin 3.10.1-1

low level cryptographic library (binary tools)

https://www.lysator.liu.se/~nisse/nettle/

sudo apt install nettle-bin
  • Section: misc
  • Architecture: amd64
  • Source Package: nettle
  • 4 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Nettle
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nettle-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nettle-dev 3.10.1-1

low level cryptographic library (development files)

https://www.lysator.liu.se/~nisse/nettle/

sudo apt install nettle-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: nettle
  • 3 依存関係
  • normalized package name match
  • 一致条件: Nettle
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nettle-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

nettle

nix profile install nixpkgs#nettle
  • normalized package name match
  • 一致条件: Nettle
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: nettle from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

libhogweed6t64 3.9.1-2.2build1

low level cryptographic library (public-key cryptos)

http://www.lysator.liu.se/~nisse/nettle/

sudo apt install libhogweed6t64
  • Section: libs
  • Architecture: amd64
  • Source Package: nettle
  • 3 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Nettle
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libhogweed6t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libnettle8t64 3.9.1-2.2build1

low level cryptographic library (symmetric and one-way cryptos)

http://www.lysator.liu.se/~nisse/nettle/

sudo apt install libnettle8t64
  • Section: libs
  • Architecture: amd64
  • Source Package: nettle
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Nettle
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnettle8t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

nettle-bin 3.9.1-2.2build1

low level cryptographic library (binary tools)

http://www.lysator.liu.se/~nisse/nettle/

sudo apt install nettle-bin
  • Section: universe/misc
  • Architecture: amd64
  • Source Package: nettle
  • 4 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Nettle
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: nettle-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

nettle-dev 3.9.1-2.2build1

low level cryptographic library (development files)

http://www.lysator.liu.se/~nisse/nettle/

sudo apt install nettle-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: nettle
  • 3 依存関係
  • normalized package name match
  • 一致条件: Nettle
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: nettle-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

nettle 3.10.2-r0

Low-level cryptographic library

https://www.lysator.liu.se/~nisse/nettle/

sudo apk add nettle
  • License: GPL-2.0-or-later OR LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: nettle
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Nettle
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nettle from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

nettle-dev 3.10.2-r0

Low-level cryptographic library (development files)

https://www.lysator.liu.se/~nisse/nettle/

sudo apk add nettle-dev
  • License: GPL-2.0-or-later OR LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: nettle
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Nettle
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nettle-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

nettle-static 3.10.2-r0

Low-level cryptographic library (static library)

https://www.lysator.liu.se/~nisse/nettle/

sudo apk add nettle-static
  • License: GPL-2.0-or-later OR LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: nettle
  • normalized package name match
  • 一致条件: Nettle
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nettle-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

nettle-utils 3.10.2-r0

Utils for nettle

https://www.lysator.liu.se/~nisse/nettle/

sudo apk add nettle-utils
  • License: GPL-2.0-or-later OR LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: nettle
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Nettle
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nettle-utils from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

nettle 3.10.1-3.fc44

A low-level cryptographic library

http://www.lysator.liu.se/~nisse/nettle/

sudo dnf install nettle
  • License: LGPL-3.0-or-later OR GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: nettle
  • 3 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: Nettle
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: nettle from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

nettle-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-devel
  • License: LGPL-3.0-or-later OR GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: nettle
  • 6 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Nettle
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: nettle-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

nettle 4.0-1

A low-level cryptographic library

https://www.lysator.liu.se/~nisse/nettle

sudo pacman -S nettle
  • License: LGPL-3.0-or-later OR GPL-2.0-or-later
  • Architecture: x86_64
  • 2 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Nettle
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: nettle from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment