How To Install libnghttp2 on Fedora 36
Introduction
In this tutorial we learn how to install libnghttp2
on Fedora 36.
What is libnghttp2
libnghttp2 is a library implementing the Hypertext Transfer Protocol version 2 (HTTP/2) protocol in C.
We can use yum
or dnf
to install libnghttp2
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libnghttp2.
Install libnghttp2 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 libnghttp2
using dnf
by running the following command:
sudo dnf -y install libnghttp2
Install libnghttp2 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 libnghttp2
using yum
by running the following command:
sudo yum -y install libnghttp2
How To Uninstall libnghttp2 on Fedora 36
To uninstall only the libnghttp2
package we can use the following command:
sudo dnf remove libnghttp2
libnghttp2 Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/51
/usr/lib/.build-id/51/af3b22005a7056f631c4e4ea18cd85b8db1da5
/usr/lib64/libnghttp2.so.14
/usr/lib64/libnghttp2.so.14.21.1
/usr/share/licenses/libnghttp2
/usr/share/licenses/libnghttp2/COPYING
References
Summary
In this tutorial we learn how to install libnghttp2
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).