How To Install ghc-memory on Fedora 36

In this tutorial we learn how to install ghc-memory in Fedora 36. ghc-memory is Memory and related abstraction stuff

Introduction

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

What is ghc-memory

Chunk of memory, polymorphic byte array management and manipulation * A polymorphic byte array abstraction and function similar to strict ByteString. * Different type of byte array abstraction. * Raw memory IO operations (memory set, memory copy, ..) * Aliasing with endianness support. * Encoding * Hashing

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

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

sudo dnf -y install ghc-memory

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

sudo yum -y install ghc-memory

How To Uninstall ghc-memory on Fedora 36

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

sudo dnf remove ghc-memory

ghc-memory Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/18722e987205a4e06b622c2f77a8087a6bd83c
/usr/lib64/libHSmemory-0.15.0-4OuXyBP2zCRDWyMZ7DLQYh-ghc8.10.5.so
/usr/share/licenses/ghc-memory
/usr/share/licenses/ghc-memory/LICENSE

References

Summary

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