How To Install ghc-newtype-generics-doc on Fedora 36

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

Introduction

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

What is ghc-newtype-generics-doc

This package provides the Haskell newtype-generics library documentation.

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

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

sudo dnf -y install ghc-newtype-generics-doc

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

sudo yum -y install ghc-newtype-generics-doc

How To Uninstall ghc-newtype-generics-doc on Fedora 36

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

sudo dnf remove ghc-newtype-generics-doc

ghc-newtype-generics-doc Package Contents on Fedora 36

/usr/share/doc/ghc/html/libraries/newtype-generics-0.5.3
/usr/share/doc/ghc/html/libraries/newtype-generics-0.5.3/Control-Newtype-Generics.html
/usr/share/doc/ghc/html/libraries/newtype-generics-0.5.3/Control-Newtype.html
/usr/share/doc/ghc/html/libraries/newtype-generics-0.5.3/doc-index.html
/usr/share/doc/ghc/html/libraries/newtype-generics-0.5.3/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/newtype-generics-0.5.3/index.html
/usr/share/doc/ghc/html/libraries/newtype-generics-0.5.3/linuwial.css
/usr/share/doc/ghc/html/libraries/newtype-generics-0.5.3/meta.json
/usr/share/doc/ghc/html/libraries/newtype-generics-0.5.3/newtype-generics.haddock
/usr/share/doc/ghc/html/libraries/newtype-generics-0.5.3/newtype-generics.txt
/usr/share/doc/ghc/html/libraries/newtype-generics-0.5.3/quick-jump.css
/usr/share/doc/ghc/html/libraries/newtype-generics-0.5.3/src
/usr/share/doc/ghc/html/libraries/newtype-generics-0.5.3/src/Control.Newtype.Generics.html
/usr/share/doc/ghc/html/libraries/newtype-generics-0.5.3/src/Control.Newtype.html
/usr/share/doc/ghc/html/libraries/newtype-generics-0.5.3/src/highlight.js
/usr/share/doc/ghc/html/libraries/newtype-generics-0.5.3/src/style.css
/usr/share/doc/ghc/html/libraries/newtype-generics-0.5.3/synopsis.png

References

Summary

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