Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 1.03 KB

README.md

File metadata and controls

54 lines (39 loc) · 1.03 KB

How to install ZeroMQ on Raspberry Pi

The following instructions should work on your Raspbian distribution. Please report any problem. :)

Packages

sudo apt-get install libtool pkg-config build-essential autoconf automake

libsodium

ZeroMQ builds against the Sodium library.

wget https://github.com/jedisct1/libsodium/releases/download/1.0.3/libsodium-1.0.3.tar.gz
tar -zxvf libsodium-1.0.3.tar.gz
cd libsodium-1.0.3/
./configure
make
sudo make install

ZeroMQ

wget https://github.com/zeromq/libzmq/releases/download/v4.3.2/zeromq-4.3.2.tar.gz
tar -zxvf zeromq-4.3.2.tar.gz
cd zeromq-4.3.2/
./configure
make
sudo make install
sudo ldconfig

Optional bindings

Python bindings: pyzmq

Python 2

The pyzmq package requires python-dev to compile.

sudo apt-get install python-dev python-pip
sudo pip install pyzmq

Python 3

sudo apt-get install python3-dev python3-pip
sudo pip3 install pyzmq