How To Install ghc-sourcemap-doc on Fedora 36

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

Introduction

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

What is ghc-sourcemap-doc

This package provides the Haskell sourcemap library documentation.

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

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

sudo dnf -y install ghc-sourcemap-doc

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

sudo yum -y install ghc-sourcemap-doc

How To Uninstall ghc-sourcemap-doc on Fedora 36

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

sudo dnf remove ghc-sourcemap-doc

ghc-sourcemap-doc Package Contents on Fedora 36

/usr/share/doc/ghc/html/libraries/sourcemap-0.1.6.1
/usr/share/doc/ghc/html/libraries/sourcemap-0.1.6.1/SourceMap-Types.html
/usr/share/doc/ghc/html/libraries/sourcemap-0.1.6.1/SourceMap.html
/usr/share/doc/ghc/html/libraries/sourcemap-0.1.6.1/doc-index.html
/usr/share/doc/ghc/html/libraries/sourcemap-0.1.6.1/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/sourcemap-0.1.6.1/index.html
/usr/share/doc/ghc/html/libraries/sourcemap-0.1.6.1/linuwial.css
/usr/share/doc/ghc/html/libraries/sourcemap-0.1.6.1/meta.json
/usr/share/doc/ghc/html/libraries/sourcemap-0.1.6.1/quick-jump.css
/usr/share/doc/ghc/html/libraries/sourcemap-0.1.6.1/sourcemap.haddock
/usr/share/doc/ghc/html/libraries/sourcemap-0.1.6.1/sourcemap.txt
/usr/share/doc/ghc/html/libraries/sourcemap-0.1.6.1/src
/usr/share/doc/ghc/html/libraries/sourcemap-0.1.6.1/src/SourceMap.Types.html
/usr/share/doc/ghc/html/libraries/sourcemap-0.1.6.1/src/SourceMap.html
/usr/share/doc/ghc/html/libraries/sourcemap-0.1.6.1/src/VLQ.html
/usr/share/doc/ghc/html/libraries/sourcemap-0.1.6.1/src/highlight.js
/usr/share/doc/ghc/html/libraries/sourcemap-0.1.6.1/src/style.css
/usr/share/doc/ghc/html/libraries/sourcemap-0.1.6.1/synopsis.png
/usr/share/licenses/ghc-sourcemap-doc
/usr/share/licenses/ghc-sourcemap-doc/LICENSE

References

Summary

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