Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, Nix, pacman, apt, zypper 安装 nanomsg

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install nanomsg

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add nanomsg

Alpine Linux edge package indexes · nanomsg · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install nanomsg

Fedora Rawhide package metadata · nanomsg · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#nanomsg

nixpkgs package indexes · pkgs/by-name/na/nanomsg/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S nanomsg

Arch Linux sync databases · nanomsg · 来源: geo.mirror.pkgbuild.com

Debian apt已验证 · 92%
sudo apt install libnanomsg-dev

Debian stable package indexes · libnanomsg-dev · 来源: deb.debian.org

openSUSE zypper已验证 · 92%
sudo zypper install libnanomsg6

openSUSE Tumbleweed package metadata · libnanomsg6 · 来源: download.opensuse.org

概览

软件包摘要

Socket library in C

命令和别名

  • nanocat

历史

项目历史与用法

nanomsg is a C socket library for brokerless messaging patterns, described upstream as a way to make networking fast, scalable, and easy to use through common communication patterns such as pair, bus, request/reply, publish/subscribe, pipeline, and survey.

项目历史

The project grew out of Martin Sustrik's post-ZeroMQ design work. nanomsg's own documentation preserves the historical motivation as a comparison with ZeroMQ by the original author of both projects: MIT licensing, a POSIX-like C API, implementation in C rather than C++, formal protocol/transport APIs, and different threading behavior were central design goals.

The GitHub repository was created on 2012-10-10. Later, Garrett D'Amore's NNG became the successor path: the nanomsg homepage says nanomsg has largely been superseded by NNG, and the documentation calls the C reference implementation sustaining-mode while describing NNG as the modern reimplementation.

采用历史

nanomsg accumulated a broad binding ecosystem despite later being superseded: the upstream documentation lists bindings or implementations for C, C++, Clojure, D, Erlang, Fortran, Go, Haskell, Java, JavaScript, Lua, .NET, OCaml, Perl, PHP, Python, R, Ruby, Rust, Scheme, Smalltalk, and more.

GitHub API data fetched on 2026-07-01 showed 6,285 stars and 1,034 forks, reflecting historical mindshare. Homebrew's formula JSON generated on 2026-07-01 reported only 382 installs over 365 days and 181 installs-on-request over 365 days, which is consistent with a legacy library that remains packaged but is no longer the main recommendation.

使用方式

Users link against the C library and use its BSD-socket-like API to build message-oriented communication without a broker. Typical choices are REQREP for service clusters, PUBSUB for fanout, PIPELINE for fan-in/fan-out work distribution, BUS for many-to-many messaging, and IPC/TCP/WebSocket transports depending on deployment.

Package nerds often keep `nanomsg` around for older applications or language bindings that still target libnanomsg. New work should usually evaluate `nng` first because NNG keeps wire compatibility while adding the maintained API and implementation path.

为什么软件包爱好者会关心

nanomsg matters historically as a clean-room C rethinking of ZeroMQ-style scalability protocols and as the ancestor of NNG. Its Homebrew package is less about trend adoption and more about preserving buildability for software that already chose the nanomsg API or wire protocols.

时间线

  • 2012-10-10: nanomsg/nanomsg repository created on GitHub.
  • 2018-04-12: nanomsg homepage update already pointed users toward NNG when possible.
  • 2025-10-05: nanomsg 1.2.2 bug-fix release published.
  • 2026-07-01: Homebrew formula JSON listed stable version 1.2.2 and 382 installs over 365 days.

Related projects

  • ZeroMQ
  • NNG
  • mangos

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
nanocatcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本1.2.2
管理器更新时间
本地数据OK
上游当前
检测到的最新版本1.2.2

https://github.com/nanomsg/nanomsg

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:nanomsg
版本1.2.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/nanomsg
主页https://nanomsg.org/
仓库https://github.com/nanomsg/nanomsg
上游文档https://github.com/nanomsg/nanomsg#readme
许可证MIT
源码归档https://github.com/nanomsg/nanomsg/archive/refs/tags/1.2.2.tar.gz
构建依赖cmake
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

libnanomsg-dev 1.1.5+dfsg-1.1+b1

nanomsg development files

http://nanomsg.org/

sudo apt install libnanomsg-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: nanomsg
  • 1 依赖
  • normalized package name match
  • 匹配方式:Nanomsg
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnanomsg-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnanomsg5 1.1.5+dfsg-1.1+b1

high-performance implementation of scalability libraries

http://nanomsg.org/

sudo apt install libnanomsg5
  • Section: libs
  • Architecture: amd64
  • Source Package: nanomsg
  • 1 依赖
  • normalized package name match
  • 匹配方式:Nanomsg
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnanomsg5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nanomsg-utils 1.1.5+dfsg-1.1+b1

nanomsg utilities

http://nanomsg.org/

sudo apt install nanomsg-utils
  • Section: libs
  • Architecture: amd64
  • Source Package: nanomsg
  • 2 依赖
  • normalized package name match
  • 匹配方式:Nanomsg
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nanomsg-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

nanomsg

nix profile install nixpkgs#nanomsg
  • normalized package name match
  • 匹配方式:Nanomsg
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/na/nanomsg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libnanomsg-dev 1.1.5+dfsg-1.1

nanomsg development files

http://nanomsg.org/

sudo apt install libnanomsg-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: nanomsg
  • 1 依赖
  • normalized package name match
  • 匹配方式:Nanomsg
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnanomsg-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libnanomsg5 1.1.5+dfsg-1.1

high-performance implementation of scalability libraries

http://nanomsg.org/

sudo apt install libnanomsg5
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: nanomsg
  • 1 依赖
  • normalized package name match
  • 匹配方式:Nanomsg
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnanomsg5 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

nanomsg-utils 1.1.5+dfsg-1.1

nanomsg utilities

http://nanomsg.org/

sudo apt install nanomsg-utils
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: nanomsg
  • 2 依赖
  • normalized package name match
  • 匹配方式:Nanomsg
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: nanomsg-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

nanomsg 1.2.2-r0

Socket library that provides several common communication patterns

https://nanomsg.org

sudo apk add nanomsg
  • License: MIT
  • Architecture: x86_64
  • Source Package: nanomsg
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Nanomsg
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nanomsg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

nanomsg-dev 1.2.2-r0

Socket library that provides several common communication patterns (development files)

https://nanomsg.org

sudo apk add nanomsg-dev
  • License: MIT
  • Architecture: x86_64
  • Source Package: nanomsg
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Nanomsg
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nanomsg-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

nanomsg-doc 1.2.2-r0

Socket library that provides several common communication patterns (documentation)

https://nanomsg.org

sudo apk add nanomsg-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: nanomsg
  • normalized package name match
  • 匹配方式:Nanomsg
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nanomsg-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

nanomsg 1.2.2-2.fc44

Socket library that provides several common communication patterns

https://nanomsg.org/

sudo dnf install nanomsg
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: nanomsg
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Nanomsg
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: nanomsg from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

nanomsg-devel 1.2.2-2.fc44

Development files for nanomsg

https://nanomsg.org/

sudo dnf install nanomsg-devel
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: nanomsg
  • 4 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Nanomsg
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: nanomsg-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

nanomsg-doc 1.2.2-2.fc44

Documentation for nanomsg

https://nanomsg.org/

sudo dnf install nanomsg-doc
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: nanomsg
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Nanomsg
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: nanomsg-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

nanomsg 1.2.2-1

Simple high-performance implementation of several "scalability protocols"

https://nanomsg.org/

sudo pacman -S nanomsg
  • License: MIT
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Nanomsg
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: nanomsg from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

libnanomsg6 1.2.2-1.3

Shared library for nanomsg

https://nanomsg.org/

sudo zypper install libnanomsg6
  • License: MIT
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: nanomsg
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Nanomsg
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libnanomsg6 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

nanomsg-devel 1.2.2-1.3

Header files for nanomsg

https://nanomsg.org/

sudo zypper install nanomsg-devel
  • License: MIT
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: nanomsg
  • 4 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Nanomsg
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: nanomsg-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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