How To Install ghc-libyaml on Fedora 36

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

Introduction

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

What is ghc-libyaml

This package provides the Haskell libyaml library.

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

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

sudo dnf -y install ghc-libyaml

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

sudo yum -y install ghc-libyaml

How To Uninstall ghc-libyaml on Fedora 36

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

sudo dnf remove ghc-libyaml

ghc-libyaml Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/8afb3d814758fd38a5e42c1144ba75aef25ce2
/usr/lib64/libHSlibyaml-0.1.1.0-AgP5DUIAmkNDonmAVYmr36-ghc8.10.5.so
/usr/share/licenses/ghc-libyaml
/usr/share/licenses/ghc-libyaml/LICENSE

References

Summary

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