How To Install ghc-http2 on Fedora 36

In this tutorial we learn how to install ghc-http2 in Fedora 36. ghc-http2 is HTTP/2 library

Introduction

In this tutorial we learn how to install ghc-http2 on Fedora 36.

What is ghc-http2

HTTP/2 library including frames, priority queues, HPACK, client and server.

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

Install ghc-http2 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 ghc-http2 using dnf by running the following command:

sudo dnf -y install ghc-http2

Install ghc-http2 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 ghc-http2 using yum by running the following command:

sudo yum -y install ghc-http2

How To Uninstall ghc-http2 on Fedora 36

To uninstall only the ghc-http2 package we can use the following command:

sudo dnf remove ghc-http2

ghc-http2 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/16
/usr/lib/.build-id/16/76e6b1f1199e1dd0470f60f91bb1c278fdf0cf
/usr/lib64/libHShttp2-3.0.2-ANk41cAw3seGzyOnEHmfI9-ghc8.10.5.so
/usr/share/licenses/ghc-http2
/usr/share/licenses/ghc-http2/LICENSE

References

Summary

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