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

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

Introduction

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

What is ghc-http-media-prof

This package provides the Haskell http-media profiling library.

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

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

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

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

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

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

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

sudo dnf remove ghc-http-media-prof

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

/usr/lib64/ghc-8.10.5/http-media-0.8.0.0/Network/HTTP/Media.p_hi
/usr/lib64/ghc-8.10.5/http-media-0.8.0.0/Network/HTTP/Media/Accept.p_hi
/usr/lib64/ghc-8.10.5/http-media-0.8.0.0/Network/HTTP/Media/Charset.p_hi
/usr/lib64/ghc-8.10.5/http-media-0.8.0.0/Network/HTTP/Media/Charset/Internal.p_hi
/usr/lib64/ghc-8.10.5/http-media-0.8.0.0/Network/HTTP/Media/Encoding.p_hi
/usr/lib64/ghc-8.10.5/http-media-0.8.0.0/Network/HTTP/Media/Encoding/Internal.p_hi
/usr/lib64/ghc-8.10.5/http-media-0.8.0.0/Network/HTTP/Media/Language.p_hi
/usr/lib64/ghc-8.10.5/http-media-0.8.0.0/Network/HTTP/Media/Language/Internal.p_hi
/usr/lib64/ghc-8.10.5/http-media-0.8.0.0/Network/HTTP/Media/MediaType.p_hi
/usr/lib64/ghc-8.10.5/http-media-0.8.0.0/Network/HTTP/Media/MediaType/Internal.p_hi
/usr/lib64/ghc-8.10.5/http-media-0.8.0.0/Network/HTTP/Media/Quality.p_hi
/usr/lib64/ghc-8.10.5/http-media-0.8.0.0/Network/HTTP/Media/RenderHeader.p_hi
/usr/lib64/ghc-8.10.5/http-media-0.8.0.0/Network/HTTP/Media/Utils.p_hi
/usr/lib64/ghc-8.10.5/http-media-0.8.0.0/libHShttp-media-0.8.0.0-I4Os9Jfve3vEBJFR3wLwoo_p.a

References

Summary

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