How To Install nghttp2 on Fedora 36

In this tutorial we learn how to install nghttp2 in Fedora 36. nghttp2 is Experimental HTTP/2 client, server and proxy

Introduction

In this tutorial we learn how to install nghttp2 on Fedora 36.

What is nghttp2

This package contains the HTTP/2 client, server and proxy programs.

We can use yum or dnf to install nghttp2 on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install nghttp2.

Install nghttp2 on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install nghttp2 using dnf by running the following command:

sudo dnf -y install nghttp2

Install nghttp2 on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install nghttp2 using yum by running the following command:

sudo yum -y install nghttp2

How To Uninstall nghttp2 on Fedora 36

To uninstall only the nghttp2 package we can use the following command:

sudo dnf remove nghttp2

nghttp2 Package Contents on Fedora 36

/usr/bin/h2load
/usr/bin/nghttp
/usr/bin/nghttpd
/usr/bin/nghttpx
/usr/lib/.build-id
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/dc6b8e1ee67419c19f190c699b747ba67d6261
/usr/lib/.build-id/76
/usr/lib/.build-id/76/5a2332e48518cc6370b96cd06cab326053e14b
/usr/lib/.build-id/82
/usr/lib/.build-id/82/b5244fd8d1b0e898f95aafdda12171d61fab5c
/usr/lib/.build-id/84
/usr/lib/.build-id/84/a4d3e431b731541f6b4fba8e21e01660d31b62
/usr/lib/systemd/system/nghttpx.service
/usr/share/man/man1/h2load.1.gz
/usr/share/man/man1/nghttp.1.gz
/usr/share/man/man1/nghttpd.1.gz
/usr/share/man/man1/nghttpx.1.gz
/usr/share/nghttp2
/usr/share/nghttp2/fetch-ocsp-response

References

Summary

In this tutorial we learn how to install nghttp2 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).