Skip to content

Instantly share code, notes, and snippets.

@ksmandersen
Created October 13, 2017 11:34
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ksmandersen/e3127bf1b8089c37c64ac09391482f9e to your computer and use it in GitHub Desktop.
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
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
@franciscopaniskaseker
Copy link

to compile nghttp2 in ubuntu 14.04, maybe you will have problems with template.h. So I recommend to execute:

./configure --enable-lib-only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment