How To Install ghc-http-directory-devel on Fedora 36

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

Introduction

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

What is ghc-http-directory-devel

This package provides the Haskell http-directory library development files.

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

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

sudo dnf -y install ghc-http-directory-devel

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

sudo yum -y install ghc-http-directory-devel

How To Uninstall ghc-http-directory-devel on Fedora 36

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

sudo dnf remove ghc-http-directory-devel

ghc-http-directory-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/http-directory-0.1.9
/usr/lib64/ghc-8.10.5/http-directory-0.1.9/Network
/usr/lib64/ghc-8.10.5/http-directory-0.1.9/Network/HTTP
/usr/lib64/ghc-8.10.5/http-directory-0.1.9/Network/HTTP/Directory.dyn_hi
/usr/lib64/ghc-8.10.5/http-directory-0.1.9/Network/HTTP/Directory.hi
/usr/lib64/ghc-8.10.5/http-directory-0.1.9/libHShttp-directory-0.1.9-JmOIETnxPCtHhs0EqlVU2f.a
/usr/lib64/ghc-8.10.5/package.conf.d/http-directory-0.1.9.conf
/usr/share/doc/ghc-http-directory-devel
/usr/share/doc/ghc-http-directory-devel/CHANGELOG.md
/usr/share/doc/ghc-http-directory-devel/README.md
/usr/share/doc/ghc-http-directory-devel/example
/usr/share/doc/ghc-http-directory-devel/example/Makefile
/usr/share/doc/ghc-http-directory-devel/example/latest-ghc.hs
/usr/share/doc/ghc-http-directory-devel/example/list-page.hs

References

Summary

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