Tachyons Asked: 2017-02-19 22:39:39 +0800 CST2017-02-19 22:39:39 +0800 CST 2017-02-19 22:39:39 +0800 CST How do I install curl with http2 support 772 It seems like curl packed with ubuntu 16.04 does not have http2 support. How do I enable http2 in curl 16.04 1 Answers Voted Best Answer Tachyons 2017-02-19T22:39:39+08:002017-02-19T22:39:39+08:00 As of now (Jan 2018). You will have to install curl from source to get http2 support. You can do that using the following commands sudo apt-get -y install build-essential nghttp2 libnghttp2-dev libssl-dev wget https://curl.haxx.se/download/curl-7.63.0.tar.gz tar xzf curl-7.63.0.tar.gz cd curl-7.63.0 ./configure --with-nghttp2 --prefix=/usr/local --with-ssl make && sudo make install sudo ldconfig
As of now (Jan 2018). You will have to install curl from source to get http2 support. You can do that using the following commands