Skip to content

Instantly share code, notes, and snippets.

@younisshah
Created August 30, 2017 05:53
Show Gist options
  • Save younisshah/cc1a5142468944f7ed94f0462920ad10 to your computer and use it in GitHub Desktop.
Save younisshah/cc1a5142468944f7ed94f0462920ad10 to your computer and use it in GitHub Desktop.
Installing nanomsg on Ubuntu 16.04 (Xenial Xerus)
#!/bin/sh
wget https://github.com/nanomsg/nanomsg/archive/1.0.0.tar.gz -O nanomsg-1.0.0.tar.gz
tar -xzvf nanomsg-1.0.0.tar.gz
cd nanomsg-1.0.0
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local
cmake --build .
ctest -G Debug .
# This may have to be done as a privileged user
sudo cmake --build . --target install
sudo ldconfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment