Skip to content

Instantly share code, notes, and snippets.

@pwichmann
Forked from mnlcandelaria/zeromq.sh
Created January 29, 2017 22:15
Show Gist options
  • Save pwichmann/3e5eb6480222b6b8ea974afd3886b1dd to your computer and use it in GitHub Desktop.
Save pwichmann/3e5eb6480222b6b8ea974afd3886b1dd to your computer and use it in GitHub Desktop.
How to install ZeroMQ on Ubuntu
# run in sudo
# Before installing, make sure you have installed all the needed packages
sudo apt-get install libtool pkg-config build-essential autoconf automake
sudo apt-get install libzmq-dev
# Install libsodium
git clone git://github.com/jedisct1/libsodium.git
cd libsodium
./autogen.sh
./configure && make check
sudo make install
sudo ldconfig
cd /opt
# Install zeromq
# latest version as of this post is 4.1.2
wget http://download.zeromq.org/zeromq-4.1.2.tar.gz
tar -xvf zeromq-4.1.2.tar.gz
cd zeromq-4.1.2
./configure
make
sudo make install
sudo apt-get install php5-dev php-pear
sudo pecl install zmq-beta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment