Created
August 30, 2017 05:53
-
-
Save younisshah/cc1a5142468944f7ed94f0462920ad10 to your computer and use it in GitHub Desktop.
Installing nanomsg on Ubuntu 16.04 (Xenial Xerus)
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/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