Skip to content

Instantly share code, notes, and snippets.

@mnlcandelaria
Last active December 26, 2024 00:58
Show Gist options
  • Save mnlcandelaria/c9a741801caf15de4e8b to your computer and use it in GitHub Desktop.
Save mnlcandelaria/c9a741801caf15de4e8b 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
@KianYang-Lee
Copy link

Nice thanks appreciate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment