ZeroMQ comes as source code licensed under a generous open source license. This page lists the official distributions built, released, and supported by iMatix. The community wiki may provide other packages.
Current Stable Release 4.1.4
The current 4.x stable release is v4.1.4, from 2015/12/18, (what changed?):
Check your language binding and see whether it already supports ZeroMQ v4.x. We recommend this release to anyone developing new applications with ZeroMQ. All 4.x releases aim for compatibility with stable releases back to 2.2.0.
Legacy Stable Release 3.2.5
The legacy 3.x stable release is v3.2.5, from 2014/10/14, (what changed?):
We recommend anyone using 3.2.x or 2.2.x to upgrade to 4.1.x. Please ask the zeromq-dev maling list if you need help doing this.
Our goal is that the development master is almost perfect, all the time. 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.
To build from master on Linux and OS/X:
git clone https://github.com/zeromq/libzmq ./autogen.sh && ./configure && make -j 4 make check && make install && sudo ldconfig
Or, using CMake:
git clone https://github.com/zeromq/libzmq mkdir cmake-build && cd cmake-build cmake .. && make -j 4 make test && make install && sudo ldconfig
To build from master on Windows using VS2015:
git clone https://github.com/zeromq/libzmq cd libzmq\builds\msvc configure cd build buildall
All past and current releases, including historic versions, are online at download.zeromq.org, with MD5 and SHA-1 checksums.
If you are working in C/C++ you will want to get CZMQ, the high-level C binding, which adds many useful classes on top of ZeroMQ, including UDP and gossip discovery, a reactor, containers, smart sockets, and actors for concurrent programming.
To build on UNIX-like systems
If you have free choice, the most comfortable OS for developing with ZeroMQ is probably Ubuntu.
- Make sure that libtool, pkg-config, build-essential, autoconf, and automake are installed.
- Check whether uuid-dev package, uuid/e2fsprogs RPM or equivalent on your system is installed.
- Unpack the .tar.gz source archive.
- Run ./configure, followed by make.
- To install ZeroMQ system-wide run sudo make install.
- On Linux, run sudo ldconfig after installing ZeroMQ.
To see configuration options, run ./configure --help. Read INSTALL for more details.
To build on Windows
- You need Visual Studio 2008 or later.
- Unpack the .zip source archive.
- In Visual C++ open the solution builds\msvc\msvc.sln.
- Build the solution.
- ZeroMQ libraries will be in the lib subdirectory.
For complete list of language bindings have a look here.
Pure Language Stacks
This wiki page holds tips on tuning ZeroMQ for your platform. You can add your own tips as you discover them.
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.
Written: 11 Dec 2007 10:44
Revised: 09 Oct 2013 19:56
If you found this page useful, please rate it up so others will find it.
Who's watching this page?Dominic Luciano
Fernando J Quintero