How To Install ghc-Stream on Fedora 36

In this tutorial we learn how to install ghc-Stream in Fedora 36. ghc-Stream is A library for manipulating infinite lists

Introduction

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

What is ghc-Stream

This package implements functions, analogous to those from Data.List, to create and manipulate infinite lists data Stream a = Cons a (Stream a).

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

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

sudo dnf -y install ghc-Stream

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

sudo yum -y install ghc-Stream

How To Uninstall ghc-Stream on Fedora 36

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

sudo dnf remove ghc-Stream

ghc-Stream Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/d65a4378cf51c5137073125c36d47c837fd5ec
/usr/lib64/libHSStream-0.4.7.2-8smSi26lr9RBaMhAkf2oea-ghc8.10.5.so
/usr/share/licenses/ghc-Stream
/usr/share/licenses/ghc-Stream/LICENSE

References

Summary

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