How To Install ghc-cereal on Fedora 36

In this tutorial we learn how to install ghc-cereal in Fedora 36. ghc-cereal is A binary serialization library

Introduction

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

What is ghc-cereal

A binary serialization library, similar to binary, that introduces an isolate primitive for parser isolation, and labeled blocks for better error messages.

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

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

sudo dnf -y install ghc-cereal

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

sudo yum -y install ghc-cereal

How To Uninstall ghc-cereal on Fedora 36

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

sudo dnf remove ghc-cereal

ghc-cereal Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/f2338ce43ebab80688129969ecb29ed87db8a3
/usr/lib64/libHScereal-0.5.8.1-73BaGCsxIynIkmW1q5AFsw-ghc8.10.5.so
/usr/share/licenses/ghc-cereal
/usr/share/licenses/ghc-cereal/LICENSE

References

Summary

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