How To Install ghc-MemoTrie on Fedora 36

In this tutorial we learn how to install ghc-MemoTrie in Fedora 36. ghc-MemoTrie is Trie-based memo functions

Introduction

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

What is ghc-MemoTrie

MemoTrie provides a basis for memoized functions over some domains, using tries. It’s based on ideas from Ralf Hinze and code from Spencer Janssen. Generic support thanks to Sam Boosalis. Project wiki page

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

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

sudo dnf -y install ghc-MemoTrie

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

sudo yum -y install ghc-MemoTrie

How To Uninstall ghc-MemoTrie on Fedora 36

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

sudo dnf remove ghc-MemoTrie

ghc-MemoTrie Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/c30c605d458608cb2e92c5cddd801f3a8b9ae1
/usr/lib64/libHSMemoTrie-0.6.10-BunN6BVnmuAEuTqGpP9XJJ-ghc8.10.5.so
/usr/share/licenses/ghc-MemoTrie
/usr/share/licenses/ghc-MemoTrie/COPYING

References

Summary

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