Get The Software

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

Next Release Candidate

The next release candidate is v3.0.0, from 2014/10/15:

We recommend this release for new development, as it has a simpler and cleaner socket API. The V2 API is still supported, and marked as "deprecated".

Main changes over v2.2.2:

  • New zsock class that works without contexts, and has smart constructors (create and connect/bind in one step).
  • New zactor class for multithreaded development, evolved from old zthread attached threads.
  • New zgossip discovery service.
  • New zrex class for regular expressions.
  • New process management functions in zsys.

These V2 classes are deprecated: zauth (rewritten as actor), zbeacon (rewritten as actor), zctx (deprecated), zmonitor (rewritten as actor), zmutex (deprecated), zproxy (rewritten as actor), zsocket (deprecated by zsock), zsockopt (deprecated by zsock_option), zthread (deprecated by zactor).

Stable Release

The current stable release is v2.2.0, from 2014/04/23:

Latest git master

If you want the latest master, get it from here:

git clone git://github.com/zeromq/czmq

Then do ./autogen.sh before continuing with the normal build process.

Other languages

CZMQ has many language bindings, as projects on Github.

To build on UNIX-like systems

If you have free choice, the most comfortable OS for developing with ØMQ is probably Linux.

  1. Make sure that libtool, autoconf, automake are installed.
  2. Check whether uuid-dev package, uuid/e2fsprogs RPM or equivalent on your system is installed.
  3. Unpack the .tar.gz source archive.
  4. Run ./configure, followed by make.
  5. To install ØMQ system-wide run sudo make install.
  6. On Linux, run sudo ldconfig after installing CZMQ.

To see configuration options, run ./configure --help. Read INSTALL for more details.

To build on Windows

  1. You need Microsoft Visual C++ 2008 or newer.
  2. Unpack the .zip source archive.
  3. In Visual C++ open the solution builds/msvc/vsxxxx/czmq.sln.
  4. Build the solution.
  5. CZMQ will be in the lib subdirectory.