Created
October 13, 2017 11:34
-
-
Save ksmandersen/e3127bf1b8089c37c64ac09391482f9e to your computer and use it in GitHub Desktop.
Install curl 7.56.0 with OpenSSL & HTTP2 support on Ubuntu 14.04.5 LTS
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
apt-get update | |
apt-get install -y build-essential curl | |
apt-get -y install git g++ make binutils autoconf automake autotools-dev libtool pkg-config zlib1g-dev libcunit1-dev libssl-dev libxml2-dev libev-dev libevent-dev libjansson-dev libjemalloc-dev cython python3-dev python-setuptools | |
git clone https://github.com/tatsuhiro-t/nghttp2.git | |
cd nghttp2 | |
autoreconf -i | |
automake | |
autoconf | |
./configure | |
make | |
make install | |
cd .. | |
wget http://curl.haxx.se/download/curl-7.56.0.tar.bz2 | |
tar -xvjf curl-7.56.0.tar.bz2 | |
cd curl-7.56.0 | |
./configure --with-nghttp2=/usr/local --with-ssl | |
make | |
make install | |
ldconfig | |
cd .. | |
rm -rf nghttp2 | |
rm -rf curl-7.56.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
to compile nghttp2 in ubuntu 14.04, maybe you will have problems with template.h. So I recommend to execute: