Automic VaultAutomic Vault

brew

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

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install nng

local Homebrew formula metadata

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

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

Linux

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

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

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

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

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

nixpkgs package indexes · pkgs/by-name/nn/nng/package.nix · ソース: api.github.com

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

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

Debian apt確認済み · 92%
sudo apt install libnng-dev

Debian stable package indexes · libnng-dev · ソース: deb.debian.org

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

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

概要

パッケージ概要

Nanomsg-next-generation -- light-weight brokerless messaging

履歴

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

NNG, short for nanomsg-next-generation, is a C messaging library that reworks nanomsg's brokerless Scalability Protocols model with stronger production, async, transport, and security foundations.

プロジェクトの歴史

The upstream README explicitly describes NNG as a rewrite of the Scalability Protocols library known as nanomsg, keeping compatibility with the original while adding significant capabilities. Its self-description places it in the same family as nanomsg and, to a lesser extent, ZeroMQ: lightweight brokerless messaging for recurring patterns such as publish/subscribe, request/reply, and service discovery.

The rewrite emphasized reliability, scalability, maintainability, extensibility, security, and usability. Notable package-level changes include a C11/CMake build, a custom asynchronous I/O framework, TLS-capable transports, and APIs intended to be more intuitive for concurrent programs.

採用の歴史

NNG's adoption is developer-library adoption: it is packaged as libnng-dev or nng across Homebrew, Debian/Ubuntu, Fedora, Alpine, Arch, Nix, MacPorts, and openSUSE, and it exposes nngcat as a CLI utility. The repository also documents commercial support and sponsorship, which is meaningful for a low-level C messaging library used in production systems.

Compatibility was a core adoption strategy. The project documented migration from legacy libnanomsg and offered wire/API compatibility for many nanomsg and mangos applications, letting existing Scalability Protocols users move incrementally instead of rewriting their messaging layer at once.

使われ方

Developers use NNG when they want simple message-pattern APIs without standing up a broker. Common package-nerd experiments use nngcat to test pub/sub or req/rep endpoints, then embed libnng in C or bind through another language for IPC, TCP, WebSocket, TLS, or in-process transport.

The practical distinction from heavier messaging stacks is that NNG tries to own the boring plumbing: reconnects, connection management, async dispatch, and protocol state. That makes it attractive for embedded systems, appliances, developer tools, and service components where a full broker is excessive.

パッケージ好きにとっての重要性

NNG matters because it is the active successor path for nanomsg-style messaging. It preserves the idea that common distributed communication patterns can be expressed as small socket-like protocols while modernizing the implementation enough for safer concurrent production use.

タイムライン

  • {'event': "NNG emerged as a next-generation rewrite of nanomsg's Scalability Protocols library.", 'year': '2010s'}
  • {'date': '2026-06-28', 'event': 'The GitHub repository page listed Version 1.12 Bug Fix Release as the latest release.'}

Related projects

  • nanomsg
  • ZeroMQ
  • mangos
  • nngcat

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 3 件のビルド依存関係があります。

推奨レビュー

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

実行可能ファイル

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

コマンド種類公開範囲メモ
nngcatcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

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

ページ生成日2026-07-25
マネージャ版1.12.0
マネージャ更新日2026-06-28
ローカルデータOK
上流最新
検出された最新v1.12.0

https://github.com/nanomsg/nng

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:nng
バージョン1.12.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/nng
ホームページhttps://nng.nanomsg.org/
リポジトリhttps://github.com/nanomsg/nng
上流ドキュメントhttps://github.com/nanomsg/nng#readme
ライセンスMIT
ソースアーカイブhttps://github.com/nanomsg/nng/archive/refs/tags/v1.12.0.tar.gz
最終更新2026-06-28T03:47:06Z
Pulseupdated
ビルド依存関係asciidoctor, cmake, ninja
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

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

Debian apt95%

libnng-dev 1.10.1-2

Lightweight Messaging Library - development

https://nng.nanomsg.org/

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

libnng-doc 1.10.1-2

Lightweight Messaging Library - HTML documentation

https://nng.nanomsg.org/

sudo apt install libnng-doc
  • Section: doc
  • Architecture: all
  • Source Package: nng
  • normalized package name match
  • 一致条件: Nng
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnng-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnng1 1.10.1-2

Lightweight Messaging Library - shared library

https://nng.nanomsg.org/

sudo apt install libnng1
  • Section: devel
  • Architecture: amd64
  • Source Package: nng
  • 4 依存関係
  • normalized package name match
  • 一致条件: Nng
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnng1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nng-utils 1.10.1-2

Lightweight Messaging Library - utility

https://nng.nanomsg.org/

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

nng

nix profile install nixpkgs#nng
  • normalized package name match
  • 一致条件: Nng
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/nn/nng/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libnng-dev 1.7.2-1build2

Lightweight Messaging Library - development

https://nng.nanomsg.org/

sudo apt install libnng-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: nng
  • 2 依存関係
  • normalized package name match
  • 一致条件: Nng
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnng-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libnng1 1.7.2-1build2

Lightweight Messaging Library - shared library

https://nng.nanomsg.org/

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

nng-utils 1.7.2-1build2

Lightweight Messaging Library - utility

https://nng.nanomsg.org/

sudo apt install nng-utils
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: nng
  • 2 依存関係
  • normalized package name match
  • 一致条件: Nng
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: nng-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

nng 1.11-r0

Lightweight Broker-Less Messaging Library

https://nng.nanomsg.org/

sudo apk add nng
  • License: MIT
  • Architecture: x86_64
  • Source Package: nng
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Nng
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nng from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

nng-dev 1.11-r0

Lightweight Broker-Less Messaging Library (development files)

https://nng.nanomsg.org/

sudo apk add nng-dev
  • License: MIT
  • Architecture: x86_64
  • Source Package: nng
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Nng
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nng-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

nng-doc 1.11-r0

Lightweight Broker-Less Messaging Library (documentation)

https://nng.nanomsg.org/

sudo apk add nng-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: nng
  • normalized package name match
  • 一致条件: Nng
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nng-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

nng 1.9.0-5.fc44

Light-weight brokerless messaging

https://nanomsg.github.io/nng/

sudo dnf install nng
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: nng
  • 5 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Nng
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: nng from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

nng-devel 1.9.0-5.fc44

Development files for the nng socket library

https://nanomsg.github.io/nng/

sudo dnf install nng-devel
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: nng
  • 3 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Nng
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: nng-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

nng-utils 1.9.0-5.fc44

Command line interface for communicating with nng

https://nanomsg.github.io/nng/

sudo dnf install nng-utils
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: nng
  • 4 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Nng
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: nng-utils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

nng 1.11-2

A lightweight, broker-less messaging library

https://nng.nanomsg.org/

sudo pacman -S nng
  • License: MIT
  • Architecture: x86_64
  • 2 依存関係
  • normalized package name match
  • 一致条件: Nng
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: nng from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

libnng1 1.11-1.2

Shared library for nng

https://nanomsg.github.io/nng/

sudo zypper install libnng1
  • License: MIT
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: nng
  • 2 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Nng
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libnng1 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

ソース経路

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

このページは 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