How To Install ghc-dhall-json on Fedora 36

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

Introduction

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

What is ghc-dhall-json

This package provides the Haskell dhall-json shared library.

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

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

sudo dnf -y install ghc-dhall-json

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

sudo yum -y install ghc-dhall-json

How To Uninstall ghc-dhall-json on Fedora 36

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

sudo dnf remove ghc-dhall-json

ghc-dhall-json Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/6e37b3752093a2cc67b1461726f17111cfa152
/usr/lib64/libHSdhall-json-1.7.7-4LbJfKW0PjS6AYIAg1854T-ghc8.10.5.so
/usr/share/licenses/ghc-dhall-json
/usr/share/licenses/ghc-dhall-json/LICENSE

References

Summary

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