How To Install ghc-yaml on Fedora 36

In this tutorial we learn how to install ghc-yaml in Fedora 36. ghc-yaml is Support for parsing and rendering YAML documents

Introduction

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

What is ghc-yaml

Provides support for parsing and emitting Yaml documents. The package is broken down into two modules. “Data.Yaml” provides a high-level interface based around the JSON datatypes provided by the ‘aeson’ package. “Text.Libyaml” provides a lower-level, streaming interface. For most users, “Data.Yaml” is recommended.

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

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

sudo dnf -y install ghc-yaml

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

sudo yum -y install ghc-yaml

How To Uninstall ghc-yaml on Fedora 36

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

sudo dnf remove ghc-yaml

ghc-yaml Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/d7b9d1f013fc6d9936f5f2ee803b8c2c36d9c8
/usr/lib64/libHSyaml-0.11.5.0-C2NW18DZLKk6EgIN5vT2yi-ghc8.10.5.so
/usr/share/licenses/ghc-yaml
/usr/share/licenses/ghc-yaml/LICENSE

References

Summary

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