ubuntu下安装 ZeroMQ, JZMQ

ZeroMq:命令如下:

wget http://download.zeromq.org/historic/zeromq-2.1.7.tar.gz
tar -xzf zeromq-2.1.7.tar.gz
cd zeromq-2.1.7
./configure
make
sudo make install

 

安装过程中会出现cannot link with -luuid, install uuid-dev  c++错误,执行如下命令:

sudo apt-get install g++ build-essential gawk zlib1g-dev uuid-dev


JZMQ:

下载地址:https://github.com/nathanmarz/jzmq/downloads

cd jzmq

./autogen.sh

./configure

make

sudo make install


安装过程中有可能要安装下面组件:

sudo apt-get install libtool autoconf


你可能感兴趣的:(ubuntu下安装 ZeroMQ, JZMQ)