-
-
Save mindthink/35d20704d4ad9f0fee60f0004d679c43 to your computer and use it in GitHub Desktop.
Setup zeromq in Ubuntu 16.04/Windows Subsystem for Linux (WSL)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Ref http://zeromq.org/intro:get-the-software | |
wget https://github.com/zeromq/libzmq/releases/download/v4.2.3/zeromq-4.2.3.tar.gz | |
# Unpack | |
tar xvzf zeromq-4.2.3.tar.gz | |
# Install dependencies | |
sudo apt-get update && \ | |
sudo apt-get install -y libtool pkg-config build-essential autoconf automake uuid-dev | |
cd zeromq-4.2.3 | |
./configure | |
# Build and install | |
sudo make install | |
# Install zeromq driver on linux/WSL | |
sudo ldconfig | |
# Check if installed | |
ldconfig -p | grep zmq | |
# Expected output | |
############################################################ | |
# libzmq.so.5 (libc6,x86-64) => /usr/local/lib/libzmq.so.5 | |
# libzmq.so (libc6,x86-64) => /usr/local/lib/libzmq.so | |
############################################################ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
works well on Ubuntu 18.04/Windows Subsystem for Linux (WSL)