How To Install ghc-megaparsec-doc on Fedora 36

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

Introduction

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

What is ghc-megaparsec-doc

This package provides the Haskell megaparsec library documentation.

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

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

sudo dnf -y install ghc-megaparsec-doc

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

sudo yum -y install ghc-megaparsec-doc

How To Uninstall ghc-megaparsec-doc on Fedora 36

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

sudo dnf remove ghc-megaparsec-doc

ghc-megaparsec-doc Package Contents on Fedora 36

/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/CHANGELOG.md
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/README.md
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/Text-Megaparsec-Byte-Lexer.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/Text-Megaparsec-Byte.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/Text-Megaparsec-Char-Lexer.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/Text-Megaparsec-Char.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/Text-Megaparsec-Debug.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/Text-Megaparsec-Error-Builder.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/Text-Megaparsec-Error.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/Text-Megaparsec-Internal.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/Text-Megaparsec-Pos.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/Text-Megaparsec-Stream.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/Text-Megaparsec.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/doc-index-60.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/doc-index-A.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/doc-index-All.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/doc-index-B.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/doc-index-C.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/doc-index-D.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/doc-index-E.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/doc-index-F.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/doc-index-G.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/doc-index-H.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/doc-index-I.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/doc-index-L.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/doc-index-M.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/doc-index-N.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/doc-index-O.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/doc-index-P.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/doc-index-R.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/doc-index-S.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/doc-index-T.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/doc-index-U.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/doc-index-V.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/doc-index-W.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/doc-index.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/index.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/linuwial.css
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/megaparsec.haddock
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/megaparsec.txt
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/meta.json
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/quick-jump.css
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/src
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/src/Text.Megaparsec.Byte.Lexer.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/src/Text.Megaparsec.Byte.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/src/Text.Megaparsec.Char.Lexer.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/src/Text.Megaparsec.Char.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/src/Text.Megaparsec.Class.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/src/Text.Megaparsec.Common.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/src/Text.Megaparsec.Debug.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/src/Text.Megaparsec.Error.Builder.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/src/Text.Megaparsec.Error.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/src/Text.Megaparsec.Internal.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/src/Text.Megaparsec.Lexer.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/src/Text.Megaparsec.Pos.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/src/Text.Megaparsec.State.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/src/Text.Megaparsec.Stream.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/src/Text.Megaparsec.html
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/src/highlight.js
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/src/style.css
/usr/share/doc/ghc/html/libraries/megaparsec-9.0.1/synopsis.png
/usr/share/licenses/ghc-megaparsec-doc
/usr/share/licenses/ghc-megaparsec-doc/LICENSE.md

References

Summary

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