ubuntu18zmq
时间: 2023-11-05 17:01:27 浏览: 193
ubuntu18上安装zmq的步骤与ubuntu20.04上略有不同。在ubuntu18上安装zmq,您可以按照以下步骤进行操作:
1. 安装依赖库:
sudo apt-get update
sudo apt-get install -y build-essential
sudo apt-get install -y libtool pkg-config
sudo apt-get install -y autoconf automake
sudo apt-get install -y uuid-dev
2. 下载安装zeromq库:
wget https://github.com/zeromq/libzmq/releases/download/v4.2.5/zeromq-4.2.5.tar.gz
tar -zxvf zeromq-4.2.5.tar.gz
cd zeromq-4.2.5
./configure
make
sudo make install
3. 安装czmq库:
git clone https://github.com/zeromq/czmq.git
cd czmq
./autogen.sh
./configure
make
sudo make install
4. 安装cppzmq库:
git clone https://github.com/zeromq/cppzmq.git
cd cppzmq
sudo cp zmq.hpp /usr/local/include/
阅读全文