How To Install ghc-cairo-doc on Fedora 36

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

Introduction

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

What is ghc-cairo-doc

This package provides the Haskell cairo library documentation.

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

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

sudo dnf -y install ghc-cairo-doc

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

sudo yum -y install ghc-cairo-doc

How To Uninstall ghc-cairo-doc on Fedora 36

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

sudo dnf remove ghc-cairo-doc

ghc-cairo-doc Package Contents on Fedora 36

/usr/share/doc/ghc-cairo-doc
/usr/share/doc/ghc-cairo-doc/demo
/usr/share/doc/ghc-cairo-doc/demo/cairo-clock-icon.png
/usr/share/doc/ghc-cairo-doc/demo/gtk2
/usr/share/doc/ghc-cairo-doc/demo/gtk2/CairoGhci.hs
/usr/share/doc/ghc-cairo-doc/demo/gtk2/Clock.hs
/usr/share/doc/ghc-cairo-doc/demo/gtk2/Drawing.hs
/usr/share/doc/ghc-cairo-doc/demo/gtk2/Drawing2.hs
/usr/share/doc/ghc-cairo-doc/demo/gtk2/Graph.hs
/usr/share/doc/ghc-cairo-doc/demo/gtk2/Makefile
/usr/share/doc/ghc-cairo-doc/demo/gtk2/StarAndRing.hs
/usr/share/doc/ghc-cairo-doc/demo/gtk2/Text.hs
/usr/share/doc/ghc-cairo-doc/demo/gtk3
/usr/share/doc/ghc-cairo-doc/demo/gtk3/CairoGhci.hs
/usr/share/doc/ghc-cairo-doc/demo/gtk3/Clock.hs
/usr/share/doc/ghc-cairo-doc/demo/gtk3/Drawing.hs
/usr/share/doc/ghc-cairo-doc/demo/gtk3/Drawing2.hs
/usr/share/doc/ghc-cairo-doc/demo/gtk3/Graph.hs
/usr/share/doc/ghc-cairo-doc/demo/gtk3/Makefile
/usr/share/doc/ghc-cairo-doc/demo/gtk3/StarAndRing.hs
/usr/share/doc/ghc-cairo-doc/demo/gtk3/Text.hs
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/Graphics-Rendering-Cairo-Matrix.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/Graphics-Rendering-Cairo.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/cairo.haddock
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/cairo.txt
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/doc-index-A.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/doc-index-All.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/doc-index-C.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/doc-index-D.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/doc-index-E.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/doc-index-F.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/doc-index-G.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/doc-index-H.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/doc-index-I.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/doc-index-L.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/doc-index-M.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/doc-index-N.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/doc-index-O.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/doc-index-P.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/doc-index-R.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/doc-index-S.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/doc-index-T.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/doc-index-U.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/doc-index-V.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/doc-index-W.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/doc-index-X.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/doc-index-Y.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/doc-index.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/index.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/linuwial.css
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/meta.json
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/quick-jump.css
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/src
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/src/Graphics.Rendering.Cairo.Internal.Drawing.Cairo.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/src/Graphics.Rendering.Cairo.Internal.Drawing.Paths.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/src/Graphics.Rendering.Cairo.Internal.Drawing.Patterns.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/src/Graphics.Rendering.Cairo.Internal.Drawing.Text.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/src/Graphics.Rendering.Cairo.Internal.Drawing.Transformations.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/src/Graphics.Rendering.Cairo.Internal.Fonts.FontOptions.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/src/Graphics.Rendering.Cairo.Internal.Region.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/src/Graphics.Rendering.Cairo.Internal.Surfaces.Image.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/src/Graphics.Rendering.Cairo.Internal.Surfaces.PDF.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/src/Graphics.Rendering.Cairo.Internal.Surfaces.PNG.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/src/Graphics.Rendering.Cairo.Internal.Surfaces.PS.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/src/Graphics.Rendering.Cairo.Internal.Surfaces.SVG.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/src/Graphics.Rendering.Cairo.Internal.Surfaces.Surface.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/src/Graphics.Rendering.Cairo.Internal.Utilities.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/src/Graphics.Rendering.Cairo.Internal.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/src/Graphics.Rendering.Cairo.Matrix.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/src/Graphics.Rendering.Cairo.Types.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/src/Graphics.Rendering.Cairo.html
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/src/highlight.js
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/src/style.css
/usr/share/doc/ghc/html/libraries/cairo-0.13.8.1/synopsis.png
/usr/share/licenses/ghc-cairo-doc
/usr/share/licenses/ghc-cairo-doc/COPYRIGHT

References

Summary

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