How To Install ghc-wai-cors-doc on Fedora 36

In this tutorial we learn how to install ghc-wai-cors-doc in Fedora 36. ghc-wai-cors-doc is Haskell wai-cors library documentation

Introduction

In this tutorial we learn how to install ghc-wai-cors-doc on Fedora 36.

What is ghc-wai-cors-doc

This package provides the Haskell wai-cors library documentation.

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

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

sudo dnf -y install ghc-wai-cors-doc

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

sudo yum -y install ghc-wai-cors-doc

How To Uninstall ghc-wai-cors-doc on Fedora 36

To uninstall only the ghc-wai-cors-doc package we can use the following command:

sudo dnf remove ghc-wai-cors-doc

ghc-wai-cors-doc Package Contents on Fedora 36

/usr/share/doc/ghc/html/libraries/wai-cors-0.2.7
/usr/share/doc/ghc/html/libraries/wai-cors-0.2.7/Network-Wai-Middleware-Cors.html
/usr/share/doc/ghc/html/libraries/wai-cors-0.2.7/doc-index.html
/usr/share/doc/ghc/html/libraries/wai-cors-0.2.7/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/wai-cors-0.2.7/index.html
/usr/share/doc/ghc/html/libraries/wai-cors-0.2.7/linuwial.css
/usr/share/doc/ghc/html/libraries/wai-cors-0.2.7/meta.json
/usr/share/doc/ghc/html/libraries/wai-cors-0.2.7/quick-jump.css
/usr/share/doc/ghc/html/libraries/wai-cors-0.2.7/src
/usr/share/doc/ghc/html/libraries/wai-cors-0.2.7/src/Network.Wai.Middleware.Cors.html
/usr/share/doc/ghc/html/libraries/wai-cors-0.2.7/src/highlight.js
/usr/share/doc/ghc/html/libraries/wai-cors-0.2.7/src/style.css
/usr/share/doc/ghc/html/libraries/wai-cors-0.2.7/synopsis.png
/usr/share/doc/ghc/html/libraries/wai-cors-0.2.7/wai-cors.haddock
/usr/share/doc/ghc/html/libraries/wai-cors-0.2.7/wai-cors.txt
/usr/share/licenses/ghc-wai-cors-doc
/usr/share/licenses/ghc-wai-cors-doc/LICENSE

References

Summary

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