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).
- latest git, no DRAFT APIs
- latest git, with DRAFT APIs
- latest stable release, no DRAFT APIs
- latest stable release, with DRAFT APIs
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 http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/Debian_9.0/ ./" >> /etc/apt/sources.list
wget https://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/Debian_9.0/Release.key -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 https://brew.sh/
brew install czmq
zmq and zyre are also available.
Releases
- 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
./autogen.sh
./configure
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:
git
Then you need to build and install libzmq.
Now let's build CZMQ from GitHub:
git clone git://github.com/zeromq/czmq.git
cd czmq\builds\msvc
configure.bat
cd build
buildall.bat
cd ..\..\..\..
If this does not work for you, please check the README.md of your version of czmq for more details.