Skip to content

Instantly share code, notes, and snippets.

@timoyuen
Forked from cdjhlee/zeromq_install.sh
Created December 29, 2017 05:29
Show Gist options
  • Save timoyuen/b5d16b0d0d589457a445cd9b1db33ac4 to your computer and use it in GitHub Desktop.
Save timoyuen/b5d16b0d0d589457a445cd9b1db33ac4 to your computer and use it in GitHub Desktop.
install zeromq in ubuntu 14.04
#!/usr/bin/bash
##############################################
#from http://zeromq.org/intro:get-the-software
##############################################
#get zeromq
wget http://download.zeromq.org/zeromq-4.0.5.tar.gz
#unpack tarball package
tar xvzf zeromq-4.0.5.tar.gz
#install dependency
sudo apt-get update && \
sudo apt-get install -y libtool pkg-config build-essential autoconf automake uuid-dev
#in zeromq dir
cd zeromq-4.0.5
#create make file
./configure
#build and install(root permission only)
sudo make install
#install zeromq driver on linux
sudo ldconfig
#check installed
ldconfig -p | grep zmq
############################################################
#libzmq.so.4 (libc6,x86-64) => /usr/local/lib/libzmq.so.4
#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