How To Install ghc-fixed on Fedora 36

In this tutorial we learn how to install ghc-fixed in Fedora 36. ghc-fixed is Signed 15.16 precision fixed point arithmetic

Introduction

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

What is ghc-fixed

Signed 15.16 precision fixed point arithmetic.

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

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

sudo dnf -y install ghc-fixed

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

sudo yum -y install ghc-fixed

How To Uninstall ghc-fixed on Fedora 36

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

sudo dnf remove ghc-fixed

ghc-fixed Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/73
/usr/lib/.build-id/73/28a32e3f478b2fb5e2657a1814088ef82ab972
/usr/lib64/libHSfixed-0.3-3JVH1sv7oMg52YIcxBwKR7-ghc8.10.5.so
/usr/share/licenses/ghc-fixed
/usr/share/licenses/ghc-fixed/LICENSE

References

Summary

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