How To Install ghc-binary-shared on Fedora 36

In this tutorial we learn how to install ghc-binary-shared in Fedora 36. ghc-binary-shared is Haskell library for sharing binary elements

Introduction

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

What is ghc-binary-shared

Provides capability to share elements created by binary package. I had problems with the size of the allocated heap space after serializing and loading data with the binary package. The reason was that binary does not support sharing of identical elements, so I came up with the generic solution in this package.

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

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

sudo dnf -y install ghc-binary-shared

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

sudo yum -y install ghc-binary-shared

How To Uninstall ghc-binary-shared on Fedora 36

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

sudo dnf remove ghc-binary-shared

ghc-binary-shared Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/8c546b3e8c0c39b905fad01002d894b2d6ed5b
/usr/lib64/libHSbinary-shared-0.8.3-909PHgxC2YUE0HaoGR7duH-ghc8.10.5.so
/usr/share/licenses/ghc-binary-shared
/usr/share/licenses/ghc-binary-shared/LICENSE

References

Summary

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