Get The Software

CZMQ comes as source code, licensed under the Mozilla Public License version 2 (MPLv2).

CZMQ on GitHub
Download newer releases (v4+).
Download older releases

Packages for Debian, Ubuntu, Fedora, CentOS, RHEL, SUSE

The ZeroMQ maintainers provide pre-built binary packages for libzmq, czmq, zyre, malamute, zproject and zproto, automatically built from both the latest stable releases OR the latest commit in the Git repositories via the Open Build Service, for i386, amd64, armv7, arm64, ppc64, s390x (note: depends on the distribution).

Add the repository of your choice by clicking on the appropriate distribution and version, and then follow "Go to download repository". That is the URL of the repository. Remember to add the GPG key.

For example, to add Debian 9 and install the development packages for libczmq from the latest stable release without draft APIs:

echo "deb ./" >> /etc/apt/sources.list
wget -O- | sudo apt-key add
apt-get install libczmq-dev

pkg-config can be used to easily integrate in your application's build system.

Mac OSX via Brew

You need Brew installed and configured

brew install czmq

zmq and zyre are also available.


  • The current stable release can be found on Github.. We recommend this release for new development, as it has a simpler and cleaner socket API.

The deprecated V2 API has been removed in this release.

  • The previous stable release was v3.0.2.

Main changes over v2.2: smart sockets (zsock), actors (zactor), gossip discovery (zgossip), regexps (xrex), and process management (in zsys).

  • The release v2.2.0 is still available as legacy.

The V2 API is still supported, and marked as "deprecated" (zauth, zbeacon, zctx, zmonitor, zmutex, zproxy, zsocket, zsockopt, and zthread).

To build on Linux

make -j 4
make check 
sudo make install && ldconfig

You will need build-essentials, libtool, autoconf, automake and uuid-dev or equivalent.

To build on Windows

To start with, you need MS Visual Studio (C/C++). The free community edition works well.

Then, install git, and make sure it works from a DevStudio command prompt:


Then you need to build and install libzmq.

Now let's build CZMQ from GitHub:

git clone git://
cd czmq\builds\msvc
cd build
cd ..\..\..\..

If this does not work for you, please check the of your version of czmq for more details.