【发布时间】:2018-03-14 08:05:30
【问题描述】:
在Linux-Ubuntu上安装ZeroMQ,一个网站
https://tuananh.org/2015/06/16/how-to-install-zeromq-on-ubuntu/
说要运行以下命令:
sudo apt-get install libtool pkg-config build-essential autoconf automake
sudo apt-get install libzmq-dev
我们在其中单独安装 libzmq-dev。 而根据
http://zeromq.org/intro:get-the-software
"确保已安装 libtool、pkg-config、build-essential、autoconf 和 automake。" 所以我们不需要显式安装 libzmq-dev。
所以我的问题是它有什么不同? libzmq 有什么用?它与 libzmq-dev 不同吗?如果我想用 C++ 编写代码,那么我是否需要同时安装 libzmq 和 cppzmq,如 https://github.com/zeromq/cppzmq 中所述。
请告诉哪个头文件(zmq.h、zmq.hpp和zhelpers.hpp)来自哪个库?
【问题讨论】:
标签: c++ ubuntu installation zeromq