How To Install nghttp2 on Rocky Linux 8
Introduction
In this tutorial we learn how to install nghttp2 on Rocky Linux 8.
What is nghttp2
This package contains the HTTP/2 client, server and proxy programs.
We can use yum or dnf to install nghttp2 on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install nghttp2.
Install nghttp2 on Rocky Linux 8 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 Rocky Linux 8 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 Rocky Linux 8
To uninstall only the nghttp2 package we can use the following command:
sudo dnf remove nghttp2
nghttp2 Package Contents on Rocky Linux 8
/usr/bin/h2load
/usr/bin/nghttp
/usr/bin/nghttpd
/usr/bin/nghttpx
/usr/lib/.build-id
/usr/lib/.build-id/24
/usr/lib/.build-id/24/3056156a13c79f6bdef493d1ed73789040bce0
/usr/lib/.build-id/99
/usr/lib/.build-id/99/58c2f1292bc0f7844964b54d540a61f37e5791
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/f9e9871a20b1db6587dea81c0865b3d0c9b778
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/543bf99b6af7daea730973300c8076bb9e0137
/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 Rocky Linux 8 using yum and dnf.