Zmq: Zero MQ Post

Finally got to installing zmq on ubunutu today.

I found a suggestion to add someone’s repo to apt but there was some sort of build error when I tried to install these so I opted to build from source.

wget http://download.zeromq.org/zeromq-2.1.11.tar.gz
./configure --with-pgm
make
sudo make install

There are a few other languages that zmq supports but this is enough to get me started.

Built language support for python

sudo apt-get install python-dev
sudo easy_install pyzmq

and php

sudo apt-get install php-pear
sudo pear channel-discover pear.zero.mq
sudo pecl install zero.mq/zmq-beta 

and ruby

# I use rvm so don't sudo gem
gem install zmq

and perl

sudo apt-get install libperl-dev
cpan ZeroMQ

which turned into a yak hunt as I hadn’t get up cpan before. cpan install YAML

TODO: Build something with zmq!