How To Install ghc-cborg-json on Fedora 36

In this tutorial we learn how to install ghc-cborg-json in Fedora 36. ghc-cborg-json is A library for encoding JSON as CBOR

Introduction

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

What is ghc-cborg-json

This package implements the bijection between JSON and CBOR defined in the CBOR specification, RFC 7049.

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

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

sudo dnf -y install ghc-cborg-json

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

sudo yum -y install ghc-cborg-json

How To Uninstall ghc-cborg-json on Fedora 36

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

sudo dnf remove ghc-cborg-json

ghc-cborg-json Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/19
/usr/lib/.build-id/19/d29f11cb3b6ce4b54de23216b40c919bd38137
/usr/lib64/libHScborg-json-0.2.2.0-Lp1tVOKc6h1bXrhyebRcX-ghc8.10.5.so
/usr/share/licenses/ghc-cborg-json
/usr/share/licenses/ghc-cborg-json/LICENSE.txt

References

Summary

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