How To Install ghc-cborg-json-prof on Fedora 36

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

Introduction

In this tutorial we learn how to install ghc-cborg-json-prof on Fedora 36.

What is ghc-cborg-json-prof

This package provides the Haskell cborg-json profiling library.

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

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

sudo dnf -y install ghc-cborg-json-prof

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

sudo yum -y install ghc-cborg-json-prof

How To Uninstall ghc-cborg-json-prof on Fedora 36

To uninstall only the ghc-cborg-json-prof package we can use the following command:

sudo dnf remove ghc-cborg-json-prof

ghc-cborg-json-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/cborg-json-0.2.2.0/Codec/CBOR/JSON.p_hi
/usr/lib64/ghc-8.10.5/cborg-json-0.2.2.0/libHScborg-json-0.2.2.0-Lp1tVOKc6h1bXrhyebRcX_p.a

References

Summary

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