Download

What people say about ZeroMQ...

ZeroMQ comes as source code licensed under LGPLv3+. This page lists the official distributions built, released, and supported by iMatix. The community wiki may provide other packages. See which version you should be using.

Stable Release 4.0.4

The current stable release is v4.0.4, from 2014/03/10, (what changed?):

Check your language binding and see whether it already supports ZeroMQ v4.0. We recommend this release to anyone developing new applications with ZeroMQ who needs strong encryption. The encryption mechanisms in ZeroMQ v4.0 are however considered experimental. Release 4.0.4 is network-compatible with stable releases 3.2 and 2.2.

Stable Release 3.2.4

The previous stable 3.2 release is v3.2.4, from 2013/09/20, (what changed?):

We recommend this release to anyone maintaining existing applications with ZeroMQ. Note that the unstable releases 3.0.x through to 3.2.1 are not interoperable with any other version of 0MQ except themselves.

Legacy release 2.2.0

The old stable 2.2 distribution is v2.2.0, from 2012/04/04, (what changed?):

We recommend anyone still using 2.0 to upgrade to ZeroMQ/2.2. Get help on upgrading to 2.2. If you want to track the latest updates to this release, use the release git master.

Development master

You can get the latest development master at any time via git. If you're developing new apps, we recommend you test against the master regularly. On Linux or OS/X, run ./autogen.sh after cloning this repository.

Previous releases

All past and current releases, including historic versions, are online at download.zeromq.org, with MD5 and SHA-1 checksums.

To build on UNIX-like systems

If you have free choice, the most comfortable OS for developing with ZeroMQ is probably Ubuntu.

  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 ZeroMQ system-wide run sudo make install.
  6. On Linux, run sudo ldconfig after installing ZeroMQ.

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\msvc.sln.
  4. Build the solution.
  5. ZeroMQ libraries will be in the lib subdirectory.

Language bindings

ZeroMQ comes with the low-level C API. High-level bindings exist in 40+ languages including Python, Java, PHP, Ruby, C, C++, C#, Erlang, Perl, and more.

For complete list of language bindings have a look here.

Pure Language Stacks

ZeroMQ also comes in a pure Java stack called JeroMQ, and a pure C# stack called NetMQ. These are both official projects and supported by the ZeroMQ community.

Tuning ZeroMQ

This wiki page holds tips on tuning ZeroMQ for your platform. You can add your own tips as you discover them.

OpenPGM

To enable the OpenPGM extension on supported platforms use the --with-pgm option to configure.

To use a non-bundled version of OpenPGM, copy the libpgm tarball into foreign, i.e.

zeromq2-1/
  foreign/
    openpgm/
      libpgm-5.1.115~dfsg.tar.gz

Then run configure as follows:

$ cd zeromq2-1
$ ./configure --with-pgm=libpgm-5.1.115~dfsg

The name needs to match the tarball name.