How To Install ghc-htoml on Fedora 36

In this tutorial we learn how to install ghc-htoml in Fedora 36. ghc-htoml is Parser for TOML files

Introduction

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

What is ghc-htoml

TOML is an obvious and minimal format for config files. This package provides a TOML parser, build with the Parsec library. It exposes a JSON interface using the Aeson library.

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

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

sudo dnf -y install ghc-htoml

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

sudo yum -y install ghc-htoml

How To Uninstall ghc-htoml on Fedora 36

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

sudo dnf remove ghc-htoml

ghc-htoml Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/78
/usr/lib/.build-id/78/cd0e8822a751d4cd05ee2907e74b52f5a662b2
/usr/lib64/libHShtoml-1.0.0.3-AlcsDfazSCqENkTNIwbwQG-ghc8.10.5.so
/usr/share/licenses/ghc-htoml
/usr/share/licenses/ghc-htoml/LICENSE

References

Summary

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