Introduction to nghttp2

nghttp2 is an implementation of HTTP/2 and its header compression algorithm, HPACK.

This package is known to build and work properly using an LFS-11.2 platform.

Package Information

nghttp2 Dependencies




Boost-1.80.0, c-ares-1.18.1, jansson-2.14, libevent-2.1.12, CUnit (required for the testsuite), Cython, jemalloc, libev, mruby, Spdylay, and Sphinx.

User Notes:

Installation of nghttp2

Install nghttp2 by running the following commands:

./configure --prefix=/usr     \
            --disable-static  \
            --enable-lib-only \
            --docdir=/usr/share/doc/nghttp2-1.48.0 &&

The test suite needs CUnit, which is beyond the scope of BLFS.

Now, as the root user:

make install

Command Explanations

--disable-static: This switch prevents installation of static versions of the libraries.

--enable-lib-only: only build libnghttp2. Omit this switch if you'd like to build the example applications, Python bindings, or the C++ asio library.


Installed Programs: None
Installed Libraries:
Installed Directories: /usr/include/nghttp2, /usr/share/nghttp2, and /usr/share/doc/nghttp2-1.48.0

Short Descriptions

an implementation of the Hypertext Transfer Protocol version 2 in C