Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Installation

AlexeyKupershtokh edited this page Mar 7, 2013 · 18 revisions

Requirements

To install the package you will need libzmq and libpgm sources. The easiest way to obtain them on debian/ubuntu systems is to use Chris Lea's PPA: https://launchpad.net/~chris-lea/+archive/zeromq

sudo add-apt-repository ppa:chris-lea/zeromq
sudo add-apt-repository ppa:chris-lea/libpgm
sudo apt-get update
sudo apt-get install libzmq-dev

To list all available versions of libzmq-dev you can use the following command

apt-cache showpkg libzmq-dev

and install one of them using:

sudo apt-get install libzmq-dev=2.1.7-1~natty1

Also you'll probably need to install g++:

sudo apt-get install g++

Installation of 2.x package

There's a npm package for version 2.x that you can install using

npm install zmq

Installation of 3.x package

The npm package is significantly outdated. You can try installing master:

npm install 'git://github.com/JustinTulloss/zeromq.node.git'
Clone this wiki locally