Skip to content

Instantly share code, notes, and snippets.

@pwichmann
Forked from cdjhlee/zeromq_install.sh
Last active January 29, 2017 22:29
Show Gist options
  • Save pwichmann/5561d80f9dbee77b88eadc739a234d08 to your computer and use it in GitHub Desktop.
Save pwichmann/5561d80f9dbee77b88eadc739a234d08 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 https://archive.org/download/zeromq_4.1.4/zeromq-4.1.4.tar.gz
#unpack tarball package
tar xvzf zeromq-4.1.4.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.1.4
#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.5 (libc6,x86-64) => /usr/local/lib/libzmq.so.5
# libzmq.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libzmq.so.1
# libzmq.so (libc6,x86-64) => /usr/local/lib/libzmq.so
# libzmq.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libzmq.so
############################################################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment