How To Install ghc-setlocale on Fedora 36

In this tutorial we learn how to install ghc-setlocale in Fedora 36. ghc-setlocale is A Haskell interface to setlocale

Introduction

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

What is ghc-setlocale

A Haskell interface to ‘setlocale()’.

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

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

sudo dnf -y install ghc-setlocale

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

sudo yum -y install ghc-setlocale

How To Uninstall ghc-setlocale on Fedora 36

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

sudo dnf remove ghc-setlocale

ghc-setlocale Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/72
/usr/lib/.build-id/72/92fa0e94230d55c6aee405971df59db102d4ad
/usr/lib64/libHSsetlocale-1.0.0.10-BAxniQHxaQo4zGSc9bvp9D-ghc8.10.5.so
/usr/share/licenses/ghc-setlocale
/usr/share/licenses/ghc-setlocale/LICENSE

References

Summary

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