Last active
February 28, 2018 18:42
-
-
Save djm158/449797cb6cf2c52272dbcd19d5155d8a to your computer and use it in GitHub Desktop.
wget libssh2-1.8 and build from source
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
# this assumes you have make autoconf and libtool, run the following otherwise: | |
# sudo apt-get install make autoconf libtool | |
echo "BUILDING LIBSSH FROM SOURCE" | |
wget https://github.com/libssh2/libssh2/archive/libssh2-1.8.0.tar.gz | |
tar -xvzf libssh2-1.8.0.tar.gz | |
# need to run this in a subshell so autotools understands we are working in libssh2-libssh2-1.8.0 | |
( | |
cd libssh2-libssh2-1.8.0/ | |
libtoolize -v | |
aclocal | |
autoheader | |
cp src/libssh2_config.h.in example/ | |
automake --add-missing --force-missing | |
autoconf | |
autoreconf | |
./configure | |
make install | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment