How To Install ghc-req-devel on Fedora 36

In this tutorial we learn how to install ghc-req-devel in Fedora 36. ghc-req-devel is Haskell req library development files

Introduction

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

What is ghc-req-devel

This package provides the Haskell req library development files.

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

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

sudo dnf -y install ghc-req-devel

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

sudo yum -y install ghc-req-devel

How To Uninstall ghc-req-devel on Fedora 36

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

sudo dnf remove ghc-req-devel

ghc-req-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/package.conf.d/req-3.9.0.conf
/usr/lib64/ghc-8.10.5/req-3.9.0
/usr/lib64/ghc-8.10.5/req-3.9.0/Network
/usr/lib64/ghc-8.10.5/req-3.9.0/Network/HTTP
/usr/lib64/ghc-8.10.5/req-3.9.0/Network/HTTP/Req.dyn_hi
/usr/lib64/ghc-8.10.5/req-3.9.0/Network/HTTP/Req.hi
/usr/lib64/ghc-8.10.5/req-3.9.0/libHSreq-3.9.0-FftZ7WFowk6LJP7o04sdjy.a
/usr/share/doc/ghc-req-devel
/usr/share/doc/ghc-req-devel/CHANGELOG.md
/usr/share/doc/ghc-req-devel/README.md

References

Summary

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