How To Install ghc-http-media-doc on Fedora 36

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

Introduction

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

What is ghc-http-media-doc

This package provides the Haskell http-media library documentation.

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

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

sudo dnf -y install ghc-http-media-doc

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

sudo yum -y install ghc-http-media-doc

How To Uninstall ghc-http-media-doc on Fedora 36

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

sudo dnf remove ghc-http-media-doc

ghc-http-media-doc Package Contents on Fedora 36

/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/Network-HTTP-Media-Accept.html
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/Network-HTTP-Media-Charset.html
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/Network-HTTP-Media-Encoding.html
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/Network-HTTP-Media-Language.html
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/Network-HTTP-Media-MediaType.html
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/Network-HTTP-Media-RenderHeader.html
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/Network-HTTP-Media.html
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/doc-index.html
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/http-media.haddock
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/http-media.txt
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/index.html
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/linuwial.css
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/meta.json
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/quick-jump.css
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/src
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/src/Network.HTTP.Media.Accept.html
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/src/Network.HTTP.Media.Charset.Internal.html
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/src/Network.HTTP.Media.Charset.html
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/src/Network.HTTP.Media.Encoding.Internal.html
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/src/Network.HTTP.Media.Encoding.html
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/src/Network.HTTP.Media.Language.Internal.html
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/src/Network.HTTP.Media.Language.html
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/src/Network.HTTP.Media.MediaType.Internal.html
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/src/Network.HTTP.Media.MediaType.html
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/src/Network.HTTP.Media.Quality.html
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/src/Network.HTTP.Media.RenderHeader.html
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/src/Network.HTTP.Media.Utils.html
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/src/Network.HTTP.Media.html
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/src/highlight.js
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/src/style.css
/usr/share/doc/ghc/html/libraries/http-media-0.8.0.0/synopsis.png
/usr/share/licenses/ghc-http-media-doc
/usr/share/licenses/ghc-http-media-doc/LICENSE

References

Summary

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