How To Install ghc-charset on Fedora 36

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

Introduction

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

What is ghc-charset

This package provides the Haskell charset library.

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

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

sudo dnf -y install ghc-charset

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

sudo yum -y install ghc-charset

How To Uninstall ghc-charset on Fedora 36

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

sudo dnf remove ghc-charset

ghc-charset Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/616bccfd70d3ca4b9b9a91a58366d69aaa9767
/usr/lib64/libHScharset-0.3.8-UoYeffVCg0FkRR3YMAwH1-ghc8.10.5.so
/usr/share/licenses/ghc-charset
/usr/share/licenses/ghc-charset/LICENSE

References

Summary

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