How To Install ghc-fingertree on Fedora 36

In this tutorial we learn how to install ghc-fingertree in Fedora 36. ghc-fingertree is Generic finger-tree structure, with example instances

Introduction

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

What is ghc-fingertree

A general sequence representation with arbitrary annotations, for use as a base for implementations of various collection types, with examples, as described in section 4 of * Ralf Hinze and Ross Paterson, “Finger trees structure”, /Journal of Functional Programming/ 16 <http For a tuned sequence type, see ‘Data.Sequence’ in the ‘containers’ package, which is a specialization of this structure.

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

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

sudo dnf -y install ghc-fingertree

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

sudo yum -y install ghc-fingertree

How To Uninstall ghc-fingertree on Fedora 36

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

sudo dnf remove ghc-fingertree

ghc-fingertree Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/11
/usr/lib/.build-id/11/ec6958674a7a7edb751198dc18aa7bcc901e8c
/usr/lib64/libHSfingertree-0.1.4.2-5T4A4UpIdSn1hNkQTAx1ZZ-ghc8.10.5.so
/usr/share/licenses/ghc-fingertree
/usr/share/licenses/ghc-fingertree/LICENSE

References

Summary

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