How To Install ghc-json-devel on Fedora 36

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

Introduction

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

What is ghc-json-devel

This package provides the Haskell json library development files.

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

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

sudo dnf -y install ghc-json-devel

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

sudo yum -y install ghc-json-devel

How To Uninstall ghc-json-devel on Fedora 36

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

sudo dnf remove ghc-json-devel

ghc-json-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/json-0.10
/usr/lib64/ghc-8.10.5/json-0.10/Text
/usr/lib64/ghc-8.10.5/json-0.10/Text/JSON
/usr/lib64/ghc-8.10.5/json-0.10/Text/JSON.dyn_hi
/usr/lib64/ghc-8.10.5/json-0.10/Text/JSON.hi
/usr/lib64/ghc-8.10.5/json-0.10/Text/JSON/Generic.dyn_hi
/usr/lib64/ghc-8.10.5/json-0.10/Text/JSON/Generic.hi
/usr/lib64/ghc-8.10.5/json-0.10/Text/JSON/Parsec.dyn_hi
/usr/lib64/ghc-8.10.5/json-0.10/Text/JSON/Parsec.hi
/usr/lib64/ghc-8.10.5/json-0.10/Text/JSON/Pretty.dyn_hi
/usr/lib64/ghc-8.10.5/json-0.10/Text/JSON/Pretty.hi
/usr/lib64/ghc-8.10.5/json-0.10/Text/JSON/ReadP.dyn_hi
/usr/lib64/ghc-8.10.5/json-0.10/Text/JSON/ReadP.hi
/usr/lib64/ghc-8.10.5/json-0.10/Text/JSON/String.dyn_hi
/usr/lib64/ghc-8.10.5/json-0.10/Text/JSON/String.hi
/usr/lib64/ghc-8.10.5/json-0.10/Text/JSON/Types.dyn_hi
/usr/lib64/ghc-8.10.5/json-0.10/Text/JSON/Types.hi
/usr/lib64/ghc-8.10.5/json-0.10/libHSjson-0.10-6r9W2yie6t3H2fbZJVt1si.a
/usr/lib64/ghc-8.10.5/package.conf.d/json-0.10.conf
/usr/share/doc/ghc-json-devel
/usr/share/doc/ghc-json-devel/CHANGES

References

Summary

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