How To Install ghc-code-page-doc on Fedora 36

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

Introduction

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

What is ghc-code-page-doc

This package provides the Haskell code-page library documentation.

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

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

sudo dnf -y install ghc-code-page-doc

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

sudo yum -y install ghc-code-page-doc

How To Uninstall ghc-code-page-doc on Fedora 36

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

sudo dnf remove ghc-code-page-doc

ghc-code-page-doc Package Contents on Fedora 36

/usr/share/doc/ghc/html/libraries/code-page-0.2.1
/usr/share/doc/ghc/html/libraries/code-page-0.2.1/System-IO-CodePage-Internal.html
/usr/share/doc/ghc/html/libraries/code-page-0.2.1/System-IO-CodePage.html
/usr/share/doc/ghc/html/libraries/code-page-0.2.1/System-Win32-CodePage.html
/usr/share/doc/ghc/html/libraries/code-page-0.2.1/code-page.haddock
/usr/share/doc/ghc/html/libraries/code-page-0.2.1/code-page.txt
/usr/share/doc/ghc/html/libraries/code-page-0.2.1/doc-index.html
/usr/share/doc/ghc/html/libraries/code-page-0.2.1/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/code-page-0.2.1/index.html
/usr/share/doc/ghc/html/libraries/code-page-0.2.1/linuwial.css
/usr/share/doc/ghc/html/libraries/code-page-0.2.1/meta.json
/usr/share/doc/ghc/html/libraries/code-page-0.2.1/quick-jump.css
/usr/share/doc/ghc/html/libraries/code-page-0.2.1/src
/usr/share/doc/ghc/html/libraries/code-page-0.2.1/src/System.IO.CodePage.Internal.html
/usr/share/doc/ghc/html/libraries/code-page-0.2.1/src/System.IO.CodePage.html
/usr/share/doc/ghc/html/libraries/code-page-0.2.1/src/System.Win32.CodePage.html
/usr/share/doc/ghc/html/libraries/code-page-0.2.1/src/highlight.js
/usr/share/doc/ghc/html/libraries/code-page-0.2.1/src/style.css
/usr/share/doc/ghc/html/libraries/code-page-0.2.1/synopsis.png
/usr/share/licenses/ghc-code-page-doc
/usr/share/licenses/ghc-code-page-doc/LICENSE

References

Summary

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