How To Install ghc-xdg-basedir-doc on Fedora 36

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

Introduction

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

What is ghc-xdg-basedir-doc

This package provides the Haskell xdg-basedir library documentation.

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

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

sudo dnf -y install ghc-xdg-basedir-doc

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

sudo yum -y install ghc-xdg-basedir-doc

How To Uninstall ghc-xdg-basedir-doc on Fedora 36

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

sudo dnf remove ghc-xdg-basedir-doc

ghc-xdg-basedir-doc Package Contents on Fedora 36

/usr/share/doc/ghc/html/libraries/xdg-basedir-0.2.2
/usr/share/doc/ghc/html/libraries/xdg-basedir-0.2.2/System-Environment-XDG-BaseDir.html
/usr/share/doc/ghc/html/libraries/xdg-basedir-0.2.2/doc-index.html
/usr/share/doc/ghc/html/libraries/xdg-basedir-0.2.2/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/xdg-basedir-0.2.2/index.html
/usr/share/doc/ghc/html/libraries/xdg-basedir-0.2.2/linuwial.css
/usr/share/doc/ghc/html/libraries/xdg-basedir-0.2.2/meta.json
/usr/share/doc/ghc/html/libraries/xdg-basedir-0.2.2/quick-jump.css
/usr/share/doc/ghc/html/libraries/xdg-basedir-0.2.2/src
/usr/share/doc/ghc/html/libraries/xdg-basedir-0.2.2/src/System.Environment.XDG.BaseDir.html
/usr/share/doc/ghc/html/libraries/xdg-basedir-0.2.2/src/highlight.js
/usr/share/doc/ghc/html/libraries/xdg-basedir-0.2.2/src/style.css
/usr/share/doc/ghc/html/libraries/xdg-basedir-0.2.2/synopsis.png
/usr/share/doc/ghc/html/libraries/xdg-basedir-0.2.2/xdg-basedir.haddock
/usr/share/doc/ghc/html/libraries/xdg-basedir-0.2.2/xdg-basedir.txt
/usr/share/licenses/ghc-xdg-basedir-doc
/usr/share/licenses/ghc-xdg-basedir-doc/LICENSE

References

Summary

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