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

In this tutorial we learn how to install ghc-cborg-json-devel in Fedora 36. ghc-cborg-json-devel is Haskell cborg-json library development files

Introduction

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

What is ghc-cborg-json-devel

This package provides the Haskell cborg-json library development files.

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

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

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

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

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

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

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

sudo dnf remove ghc-cborg-json-devel

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

/usr/lib64/ghc-8.10.5/cborg-json-0.2.2.0
/usr/lib64/ghc-8.10.5/cborg-json-0.2.2.0/Codec
/usr/lib64/ghc-8.10.5/cborg-json-0.2.2.0/Codec/CBOR
/usr/lib64/ghc-8.10.5/cborg-json-0.2.2.0/Codec/CBOR/JSON.dyn_hi
/usr/lib64/ghc-8.10.5/cborg-json-0.2.2.0/Codec/CBOR/JSON.hi
/usr/lib64/ghc-8.10.5/cborg-json-0.2.2.0/libHScborg-json-0.2.2.0-Lp1tVOKc6h1bXrhyebRcX.a
/usr/lib64/ghc-8.10.5/package.conf.d/cborg-json-0.2.2.0.conf
/usr/share/doc/ghc-cborg-json-devel
/usr/share/doc/ghc-cborg-json-devel/ChangeLog.md

References

Summary

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