# Installer nanomsg avec Homebrew, apk, dnf, Nix, pacman, apt, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de nanomsg pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:nanomsg
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install nanomsg
```

  Preuve: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add nanomsg
```

  Preuve: Alpine Linux edge package indexes: nanomsg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install nanomsg
```

  Preuve: Fedora Rawhide package metadata: nanomsg from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#nanomsg
```

  Preuve: nixpkgs package indexes: pkgs/by-name/na/nanomsg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S nanomsg
```

  Preuve: Arch Linux sync databases: nanomsg from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install libnanomsg-dev
```

  Preuve: Debian stable package indexes: libnanomsg-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install libnanomsg6
```

  Preuve: openSUSE Tumbleweed package metadata: libnanomsg6 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Faits du paquet

- **Clé du paquet:** brew:nanomsg
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.2.4
- **Résumé source:** Socket library in C
- **Page d'accueil:** <https://nanomsg.org/>
- **Dépôt:** <https://github.com/nanomsg/nanomsg>
- **Dernière mise à jour:** 2026-08-03T00:20:22Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- nanocat (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.2.4
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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

### Sources

- <https://api.github.com/repos/nanomsg/nanomsg>
- <https://api.github.com/repos/nanomsg/nanomsg/releases?per_page=5>
- <https://formulae.brew.sh/api/formula/nanomsg.json>
- <https://formulae.brew.sh/formula/nanomsg>
- <https://github.com/nanomsg/nanomsg>
- <https://nanomsg.org/>
- <https://nanomsg.org/documentation-zeromq.html>
- <https://nanomsg.org/documentation.html>
- <https://nng.nanomsg.org/>
- <https://nng.nanomsg.org/RATIONALE.html>


## Notes de sécurité

library-like package without higher-risk signals.

- **Risque Geiger:** vert / faible
- library-like package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- Debian apt - libnanomsg-dev - 1.1.5+dfsg-1.1+b1: normalized package name match | Debian stable package indexes: libnanomsg-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | nanomsg development files | http://nanomsg.org/
- Debian apt - libnanomsg5 - 1.1.5+dfsg-1.1+b1: normalized package name match | Debian stable package indexes: libnanomsg5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | high-performance implementation of scalability libraries | http://nanomsg.org/
- Debian apt - nanomsg-utils - 1.1.5+dfsg-1.1+b1: normalized package name match | Debian stable package indexes: nanomsg-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | nanomsg utilities | http://nanomsg.org/
- Nix - nanomsg: normalized package name match | nixpkgs package indexes: pkgs/by-name/na/nanomsg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libnanomsg-dev - 1.1.5+dfsg-1.1: normalized package name match | Ubuntu 24.04 LTS package indexes: libnanomsg-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | nanomsg development files | http://nanomsg.org/
- Ubuntu apt - libnanomsg5 - 1.1.5+dfsg-1.1: normalized package name match | Ubuntu 24.04 LTS package indexes: libnanomsg5 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | high-performance implementation of scalability libraries | http://nanomsg.org/
- Ubuntu apt - nanomsg-utils - 1.1.5+dfsg-1.1: normalized package name match | Ubuntu 24.04 LTS package indexes: nanomsg-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | nanomsg utilities | http://nanomsg.org/
- apk - nanomsg - 1.2.2-r0: normalized package name match | Alpine Linux edge package indexes: nanomsg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Socket library that provides several common communication patterns | https://nanomsg.org
- apk - nanomsg-dev - 1.2.2-r0: normalized package name match | Alpine Linux edge package indexes: nanomsg-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Socket library that provides several common communication patterns (development files) | https://nanomsg.org
- apk - nanomsg-doc - 1.2.2-r0: normalized package name match | Alpine Linux edge package indexes: nanomsg-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Socket library that provides several common communication patterns (documentation) | https://nanomsg.org
- dnf - nanomsg - 1.2.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: nanomsg from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Socket library that provides several common communication patterns | https://nanomsg.org/
- dnf - nanomsg-devel - 1.2.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: nanomsg-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for nanomsg | https://nanomsg.org/
- dnf - nanomsg-doc - 1.2.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: nanomsg-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documentation for nanomsg | https://nanomsg.org/
- pacman - nanomsg - 1.2.2-1: normalized package name match | Arch Linux sync databases: nanomsg from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Simple high-performance implementation of several "scalability protocols" | https://nanomsg.org/
- zypper - libnanomsg6 - 1.2.2-1.5: normalized package name match | openSUSE Tumbleweed package metadata: libnanomsg6 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Shared library for nanomsg | https://nanomsg.org/
- zypper - nanomsg-devel - 1.2.2-1.5: normalized package name match | openSUSE Tumbleweed package metadata: nanomsg-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Header files for nanomsg | https://nanomsg.org/


## Combined YAML source

View the package source record on GitHub. [combined/nanomsg.yml](https://github.com/mxcl/pkgdb/blob/main/combined/nanomsg.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
