# Install zeromq with Homebrew, apk, dnf, Nix, pacman, zypper

High-performance, asynchronous messaging library. Version 4.3.5 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:zeromq
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install zeromq
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add libzmq
```

  Evidence: Alpine Linux edge package indexes: libzmq from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install zeromq
```

  Evidence: Fedora Rawhide package metadata: zeromq from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#zeromq
```

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

- pacman (92%):

```sh
sudo pacman -S zeromq
```

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

- zypper (92%):

```sh
sudo zypper install libzmq5
```

  Evidence: openSUSE Tumbleweed package metadata: libzmq5 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:zeromq
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/zeromq>
- **Version:** 4.3.5
- **Source summary:** High-performance, asynchronous messaging library
- **Homepage:** <https://zeromq.org/>
- **Repository:** <https://github.com/zeromq/libzmq>
- **Upstream docs:** <https://zeromq.org/get-started>
- **License:** MPL-2.0
- **Source archive:** <https://github.com/zeromq/libzmq/releases/download/v4.3.5/zeromq-4.3.5.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- curve_keygen (cli)
- curve_keygen (alias)

## Dependencies

- libsodium

## Build dependencies

- asciidoc
- pkgconf
- xmlto

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 4.3.5
- Local data: ok
- Upstream repository: https://github.com/zeromq/libzmq
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

ZeroMQ is the classic brokerless messaging library for distributed and concurrent programs. It gives applications socket-like APIs for request/reply, publish/subscribe, pipeline, and related patterns while avoiding the always-central broker model of traditional message queues.

### Project history

ZeroMQ grew out of iMatix and Pieter Hintjens work on messaging systems. Hintjens later wrote that the original 2007 ZeroMQ white paper had two goals: build a better messaging system and build a community that could carry it to broad success. FOSDEM material credits Hintjens with founding the project in 2007, while the ZeroMQ Guide credits Martin Sustrik with writing the bulk of the early libzmq code.

By summer 2010, ZeroMQ was still a niche library with a terse reference manual and sparse wiki. Hintjens and Sustrik responded by planning a simpler website and beginner guide; that guide became one of the project artifacts that made ZeroMQ unusually approachable for a systems messaging library.

The project evolved into a small core plus a wide surrounding ecosystem. The Guide describes libzmq as the C++ core with a low-level C API, surrounded by roughly 50 language bindings, native reimplementations such as JeroMQ and NetMQ, and higher-level projects including CZMQ, Zyre, Malamute, and Majordomo-style brokers.

### Adoption history

ZeroMQ adoption followed from a practical promise: applications could get high-performance asynchronous messaging and common distributed-systems patterns without deploying a separate broker. The official site emphasizes use from many languages and platforms, multiple transports, and a large open source community.

Its ecosystem also spread through protocol compatibility. ZMTP gave ZeroMQ a documented wire protocol, while JeroMQ, NetMQ, and other native stacks could offer similar APIs without binding directly to libzmq. That matters for package users because the installed core library is only one piece of a larger protocol-and-bindings family.

### How it is used

In practice, developers use ZeroMQ when they want messaging patterns inside an application: REQ/REP for service calls, PUB/SUB for data distribution, PUSH/PULL for work pipelines, ROUTER/DEALER for asynchronous routing, and inproc, IPC, TCP, UDP, multicast, WebSocket, or related transports depending on deployment shape.

The library is often embedded as infrastructure inside larger tools rather than run as a standalone daemon. Packaging libzmq gives downstream language bindings and applications a shared native engine, while protocol specs and reimplementations let some ecosystems speak ZeroMQ without linking to that engine.

### Why package nerds care

ZeroMQ is package-nerd infrastructure: one small native library changes the dependency graph of many higher-level packages because Python, Node, C++, Java, C#, Rust, and other ecosystems can build bindings or compatible implementations around the same messaging patterns.

It is also a useful counterexample to queue-server assumptions. The package installs a library and a small utility surface, but the operational effect is architectural: message routing, fan-out, fan-in, and service topologies move into application code rather than a separately managed broker.

### Timeline

- 2007: Pieter Hintjens and the ZeroMQ community frame the project around both a better messaging system and an intentional open source community model.
- 2010: Hintjens describes ZeroMQ as still little-known and begins the guide effort with Martin Sustrik to make the library easier to learn.
- 2010s: libzmq becomes the core of a larger ecosystem of bindings, reimplementations, RFCs, and higher-level projects.
- 2010s onward: ZMTP and CURVE-related RFCs document interoperable wire-level behavior and security mechanisms for ZeroMQ-style stacks.

### Related projects

- CZMQ provides a higher-level C binding and convenience layer around libzmq.
- PyZMQ is one of the long-standing, influential language bindings named in the ZeroMQ Guide.
- JeroMQ and NetMQ are native Java and C# implementations in the ZeroMQ family.
- nanomsg and NNG are related messaging-library descendants/rethinks often discussed alongside ZeroMQ.
- Malamute, Zyre, and Majordomo are examples of higher-level ZeroMQ community patterns or projects.

### Sources

- <https://archive.fosdem.org/2017/schedule/event/pieter_hintjens/>
- <https://hintjens.gitbooks.io/social-architecture/content/chapter3.html>
- <https://rfc.zeromq.org/spec/25/>
- <https://rfc.zeromq.org/spec/37/>
- <https://www.oreilly.com/library/view/zeromq/9781449334437/pr03s03.html>
- <https://zeromq.org/>
- <https://zeromq.org/get-started/>
- <https://zguide.zeromq.org/docs/chapter6/>


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** zeromq
- **Aliases:** 0mq, zmq
- **Version Scheme:** 0
- **Revision:** 2
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - zeromq: normalized package name match | nixpkgs package indexes: pkgs/by-name/ze/zeromq/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - libzmq - 4.3.5-r2: normalized package name match | Alpine Linux edge package indexes: libzmq from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The ZeroMQ messaging library and tools (libraries) | https://zeromq.org/
- apk - libzmq-static - 4.3.5-r2: normalized package name match | Alpine Linux edge package indexes: libzmq-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The ZeroMQ messaging library and tools (static library) | https://zeromq.org/
- apk - zeromq - 4.3.5-r2: normalized package name match | Alpine Linux edge package indexes: zeromq from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The ZeroMQ messaging library and tools | https://zeromq.org/
- apk - zeromq-dev - 4.3.5-r2: normalized package name match | Alpine Linux edge package indexes: zeromq-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The ZeroMQ messaging library and tools (development files) | https://zeromq.org/
- dnf - zeromq - 4.3.5-23.fc45: normalized package name match | Fedora Rawhide package metadata: zeromq from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Software library for fast, message-based applications | https://zeromq.org
- dnf - zeromq-devel - 4.3.5-23.fc45: normalized package name match | Fedora Rawhide package metadata: zeromq-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development files for zeromq | https://zeromq.org
- pacman - zeromq - 4.3.5-3: normalized package name match | Arch Linux sync databases: zeromq from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Fast messaging system built on sockets. C and C++ bindings. aka 0MQ, ZMQ. | http://www.zeromq.org
- zypper - libzmq5 - 4.3.5-1.9: normalized package name match | openSUSE Tumbleweed package metadata: libzmq5 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Shared Library for ZeroMQ | http://www.zeromq.org/
- zypper - libzmq5-32bit - 4.3.5-1.9: normalized package name match | openSUSE Tumbleweed package metadata: libzmq5-32bit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Shared Library for ZeroMQ | http://www.zeromq.org/
- zypper - zeromq-devel - 4.3.5-1.9: normalized package name match | openSUSE Tumbleweed package metadata: zeromq-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Development files for ZeroMQ | http://www.zeromq.org/
- zypper - zeromq-tools - 4.3.5-1.9: normalized package name match | openSUSE Tumbleweed package metadata: zeromq-tools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Tools to work with ZeroMQ | http://www.zeromq.org/


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [asciidoc](https://www.automicvault.com/pkg/brew/asciidoc/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [xmlto](https://www.automicvault.com/pkg/brew/xmlto/) - Build dependency declared by Homebrew.
- [adios2](https://www.automicvault.com/pkg/brew/adios2/) - Popular package that depends on this formula.
- [bbot](https://www.automicvault.com/pkg/brew/bbot/) - Popular package that depends on this formula.
- [behaviortree.cpp](https://www.automicvault.com/pkg/brew/behaviortree-cpp/) - Popular package that depends on this formula.
- [bitcoin](https://www.automicvault.com/pkg/brew/bitcoin/) - Popular package that depends on this formula.
- [copyparty](https://www.automicvault.com/pkg/brew/copyparty/) - Popular package that depends on this formula.
- [czmq](https://www.automicvault.com/pkg/brew/czmq/) - Popular package that depends on this formula.
- [ffmpeg-full](https://www.automicvault.com/pkg/brew/ffmpeg-full/) - Popular package that depends on this formula.
- [activemq-cpp](https://www.automicvault.com/pkg/brew/activemq-cpp/) - Shares av.db curated category or tags: cli, developer-tools, messaging.
- [imessage-ruby](https://www.automicvault.com/pkg/brew/imessage-ruby/) - Shares av.db curated category or tags: cli, developer-tools, messaging.
- [nng](https://www.automicvault.com/pkg/brew/nng/) - Shares av.db curated category or tags: cli, developer-tools, messaging.
- [cc-connect](https://www.automicvault.com/pkg/brew/cc-connect/) - Shares av.db curated category or tags: cli, developer-tools, messaging.
- [grpc](https://www.automicvault.com/pkg/brew/grpc/) - Shares av.db curated category or tags: cli, developer-tools, distributed-systems.
- [ice](https://www.automicvault.com/pkg/brew/ice/) - Shares av.db curated category or tags: cli, developer-tools, distributed-systems.
- [pulsarctl](https://www.automicvault.com/pkg/brew/pulsarctl/) - Shares av.db curated category or tags: cli, developer-tools, messaging.
- [rabbitmq-c](https://www.automicvault.com/pkg/brew/rabbitmq-c/) - Shares av.db curated category or tags: cli, developer-tools, messaging.

## Combined YAML source

View the package source record on GitHub. [combined/zeromq.yml](https://github.com/automic-vault/db/blob/main/combined/zeromq.yml)


## Sources

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