How To Install ghc-hspec-megaparsec-doc on Fedora 36

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

Introduction

In this tutorial we learn how to install ghc-hspec-megaparsec-doc on Fedora 36.

What is ghc-hspec-megaparsec-doc

This package provides the Haskell hspec-megaparsec library documentation.

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

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

sudo dnf -y install ghc-hspec-megaparsec-doc

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

sudo yum -y install ghc-hspec-megaparsec-doc

How To Uninstall ghc-hspec-megaparsec-doc on Fedora 36

To uninstall only the ghc-hspec-megaparsec-doc package we can use the following command:

sudo dnf remove ghc-hspec-megaparsec-doc

ghc-hspec-megaparsec-doc Package Contents on Fedora 36

/usr/share/doc/ghc/html/libraries/hspec-megaparsec-2.2.0
/usr/share/doc/ghc/html/libraries/hspec-megaparsec-2.2.0/CHANGELOG.md
/usr/share/doc/ghc/html/libraries/hspec-megaparsec-2.2.0/README.md
/usr/share/doc/ghc/html/libraries/hspec-megaparsec-2.2.0/Test-Hspec-Megaparsec.html
/usr/share/doc/ghc/html/libraries/hspec-megaparsec-2.2.0/doc-index.html
/usr/share/doc/ghc/html/libraries/hspec-megaparsec-2.2.0/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/hspec-megaparsec-2.2.0/hspec-megaparsec.haddock
/usr/share/doc/ghc/html/libraries/hspec-megaparsec-2.2.0/hspec-megaparsec.txt
/usr/share/doc/ghc/html/libraries/hspec-megaparsec-2.2.0/index.html
/usr/share/doc/ghc/html/libraries/hspec-megaparsec-2.2.0/linuwial.css
/usr/share/doc/ghc/html/libraries/hspec-megaparsec-2.2.0/meta.json
/usr/share/doc/ghc/html/libraries/hspec-megaparsec-2.2.0/quick-jump.css
/usr/share/doc/ghc/html/libraries/hspec-megaparsec-2.2.0/src
/usr/share/doc/ghc/html/libraries/hspec-megaparsec-2.2.0/src/Test.Hspec.Megaparsec.html
/usr/share/doc/ghc/html/libraries/hspec-megaparsec-2.2.0/src/highlight.js
/usr/share/doc/ghc/html/libraries/hspec-megaparsec-2.2.0/src/style.css
/usr/share/doc/ghc/html/libraries/hspec-megaparsec-2.2.0/synopsis.png
/usr/share/licenses/ghc-hspec-megaparsec-doc
/usr/share/licenses/ghc-hspec-megaparsec-doc/LICENSE.md

References

Summary

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