Skip to content
alwi edited this page Nov 2, 2016 · 12 revisions

Installing libsodium

sudo apt-get install libtool pkg-config build-essential autoconf automake

And add the following parameter to the bottom of the config file: $HOME/.wgetrc

check_certificate=off

Then execute following in haso user home directory:

wget https://download.libsodium.org/libsodium/releases/libsodium-1.0.10.tar.gz
tar -zxvf libsodium-1.0.10.tar.gz
cd libsodium-1.0.10/
sudo ./configure
sudo ./configure  # intentional
sudo make
sudo make install

Installing ZMQ

cd ..
wget http://download.zeromq.org/zeromq-4.1.4.tar.gz
tar -zxvf zeromq-4.1.4.tar.gz
cd zeromq-4.1.4/
sudo ./configure
sudo make
sudo make install
sudo ldconfig

For C++ binding [OPTIONAL]

This step is only needed for further development with C++.

cd /usr/include/
sudo wget https://raw.githubusercontent.com/zeromq/cppzmq/master/zmq.hpp

Checking after the installation of both packages

ls -al /usr/local/lib

You should see libsodium.so and libzmq.so after the last command ls. If you see all those files then we can call it as successful installation.

Clone this wiki locally