I am confused with all the packages apt-cache outputs:
$ apt-cache search libzmq
libzmq-dbg - lightweight messaging kernel (debugging symbols)
libzmq-dev - lightweight messaging kernel (development files)
libzmq-java - ZeroMQ Java bindings (jzmq)
libzmq-java-doc - Documentation for ZeroMQ Java bindings (jzmq)
libzmq-jni - ZeroMQ Java bindings (jzmq)
libzmq1 - lightweight messaging kernel (shared library)
libzmq3-dev - lightweight messaging kernel (development files)
libzmq5 - lightweight messaging kernel (shared library)
libzmq5-dbg - lightweight messaging kernel (debugging symbols)
libzmqpp-dev - High-level C++ bindings for zeromq3 - development files
libzmqpp3 - High-level C++ bindings for zeromq3libzmq5 is for 0MQ 4.1 stable. So I just install libzmq5 libzmq5-dbg? The names are quite confusing. The package description doesn't help at all.
If I would like to install 0MQ 4.1, do I have to also install libzmq-dbg and libzmq-dev?
1 Answer
- Download the latest stable release from their site, which is currently zeromq-4.2.1.tar.gz, and extract the files.
- Make sure you have the packages they require installed.
- Install
checkinstallsince it is helpful to remove ZMQ later on. Configure, make, install, save the
debfor later (or don't, up to you).wget tar -xvzf zeromq-4.2.1.tar.gz cd zeromq-4.2.1/ sudo apt-get install libtool pkg-config build-essential autoconf automake uuid-dev sudo apt-get install checkinstall ./configure make sudo checkinstall sudo ldconfig
The installation with checkinstall generates a zeromq_4.2.1-1_amd64.deb that can be used to remove the package. This is done with sudo dpkg -r zeromq.