How To Install ghc-cpphs-doc on Fedora 36

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

Introduction

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

What is ghc-cpphs-doc

This package provides the Haskell cpphs library documentation.

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

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

sudo dnf -y install ghc-cpphs-doc

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

sudo yum -y install ghc-cpphs-doc

How To Uninstall ghc-cpphs-doc on Fedora 36

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

sudo dnf remove ghc-cpphs-doc

ghc-cpphs-doc Package Contents on Fedora 36

/usr/share/doc/ghc/html/libraries/cpphs-1.20.9.1
/usr/share/doc/ghc/html/libraries/cpphs-1.20.9.1/Language-Preprocessor-Cpphs.html
/usr/share/doc/ghc/html/libraries/cpphs-1.20.9.1/Language-Preprocessor-Unlit.html
/usr/share/doc/ghc/html/libraries/cpphs-1.20.9.1/cpphs.haddock
/usr/share/doc/ghc/html/libraries/cpphs-1.20.9.1/cpphs.txt
/usr/share/doc/ghc/html/libraries/cpphs-1.20.9.1/doc-index.html
/usr/share/doc/ghc/html/libraries/cpphs-1.20.9.1/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/cpphs-1.20.9.1/index.html
/usr/share/doc/ghc/html/libraries/cpphs-1.20.9.1/linuwial.css
/usr/share/doc/ghc/html/libraries/cpphs-1.20.9.1/meta.json
/usr/share/doc/ghc/html/libraries/cpphs-1.20.9.1/quick-jump.css
/usr/share/doc/ghc/html/libraries/cpphs-1.20.9.1/src
/usr/share/doc/ghc/html/libraries/cpphs-1.20.9.1/src/Language.Preprocessor.Cpphs.CppIfdef.html
/usr/share/doc/ghc/html/libraries/cpphs-1.20.9.1/src/Language.Preprocessor.Cpphs.HashDefine.html
/usr/share/doc/ghc/html/libraries/cpphs-1.20.9.1/src/Language.Preprocessor.Cpphs.MacroPass.html
/usr/share/doc/ghc/html/libraries/cpphs-1.20.9.1/src/Language.Preprocessor.Cpphs.Options.html
/usr/share/doc/ghc/html/libraries/cpphs-1.20.9.1/src/Language.Preprocessor.Cpphs.Position.html
/usr/share/doc/ghc/html/libraries/cpphs-1.20.9.1/src/Language.Preprocessor.Cpphs.ReadFirst.html
/usr/share/doc/ghc/html/libraries/cpphs-1.20.9.1/src/Language.Preprocessor.Cpphs.RunCpphs.html
/usr/share/doc/ghc/html/libraries/cpphs-1.20.9.1/src/Language.Preprocessor.Cpphs.SymTab.html
/usr/share/doc/ghc/html/libraries/cpphs-1.20.9.1/src/Language.Preprocessor.Cpphs.Tokenise.html
/usr/share/doc/ghc/html/libraries/cpphs-1.20.9.1/src/Language.Preprocessor.Cpphs.html
/usr/share/doc/ghc/html/libraries/cpphs-1.20.9.1/src/Language.Preprocessor.Unlit.html
/usr/share/doc/ghc/html/libraries/cpphs-1.20.9.1/src/TimeCompat.html
/usr/share/doc/ghc/html/libraries/cpphs-1.20.9.1/src/highlight.js
/usr/share/doc/ghc/html/libraries/cpphs-1.20.9.1/src/style.css
/usr/share/doc/ghc/html/libraries/cpphs-1.20.9.1/synopsis.png
/usr/share/licenses/ghc-cpphs-doc
/usr/share/licenses/ghc-cpphs-doc/LICENCE-GPL
/usr/share/licenses/ghc-cpphs-doc/LICENCE-LGPL

References

Summary

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