How To Install libnghttp2 on Fedora 34
Introduction
In this tutorial we learn how to install libnghttp2
on Fedora 34.
What is libnghttp2
libnghttp2 is a library implementing the Hypertext Transfer Protocol version 2 (HTTP/2) protocol in C. libnghttp2 1.43.0 2.fc34 i686 82 k nghttp2-1.43.0-2.fc34.src.rpm fedora A library implementing the HTTP/2 protocol https MIT 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 34. In this tutorial we discuss both methods but you only need to choose one of method to install libnghttp2.
Install libnghttp2 on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libnghttp2
using dnf
by running the following command:
sudo dnf -y install libnghttp2
Install libnghttp2 on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 34
To uninstall only the libnghttp2
package we can use the following command:
sudo dnf remove libnghttp2
libnghttp2 Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/83
/usr/lib/.build-id/83/536794bc9fbe867d58e35524646f92cef8e823
/usr/lib/libnghttp2.so.14
/usr/lib/libnghttp2.so.14.20.1
/usr/share/licenses/libnghttp2
/usr/share/licenses/libnghttp2/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/6783a4d909b92d76e1dc9e065d47d6caffc660
/usr/lib64/libnghttp2.so.14
/usr/lib64/libnghttp2.so.14.20.1
/usr/share/licenses/libnghttp2
/usr/share/licenses/libnghttp2/COPYING
References
- [libnghttp2 website](https://nghttp2.org/ https://nghttp2.org/)
Summary
In this tutorial we learn how to install libnghttp2
on Fedora 34 using yum and dnf.