How To Install ghc-securemem on Fedora 36

In this tutorial we learn how to install ghc-securemem in Fedora 36. ghc-securemem is Auto-scrubbing bytestring memory chunks

Introduction

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

What is ghc-securemem

SecureMem is similar to ByteString, except that it provides a memory chunk with the following properties - gets scrubbed after it goes out of scope - Show instance which doesn’t show any content - Eq instance that is constant in time.

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

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

sudo dnf -y install ghc-securemem

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

sudo yum -y install ghc-securemem

How To Uninstall ghc-securemem on Fedora 36

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

sudo dnf remove ghc-securemem

ghc-securemem Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/80e09d19df8b4728120e300cc8e273960c2245
/usr/lib64/libHSsecuremem-0.1.10-FzdDJWBXOVIE3vrvPn8q6O-ghc8.10.5.so
/usr/share/licenses/ghc-securemem
/usr/share/licenses/ghc-securemem/LICENSE

References

Summary

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