How To Install ghc-io-streams on Fedora 36

In this tutorial we learn how to install ghc-io-streams in Fedora 36. ghc-io-streams is Simple, composable, easy-to-use stream I/O

Introduction

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

What is ghc-io-streams

The io-streams library contains simple and easy-to-use primitives for I/O using streams. Most users will want to import the top-level convenience module “System.IO.Streams”, which re-exports most of the library For first-time users, ‘io-streams’ comes with an included tutorial, which can be found in the “System.IO.Streams.Tutorial” module. ‘io-streams’ comes with * functions to use files, handles, concurrent channels, sockets, lists, vectors, and more as streams. * a variety of combinators for wrapping and transforming streams, including compression and decompression using zlib, controlling precisely how many bytes are read from or written to a stream, buffering output using bytestring builders, folds, maps, filters, zips, etc. * support for parsing from streams using ‘attoparsec’. * support for spawning processes and communicating with them using streams.

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

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

sudo dnf -y install ghc-io-streams

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

sudo yum -y install ghc-io-streams

How To Uninstall ghc-io-streams on Fedora 36

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

sudo dnf remove ghc-io-streams

ghc-io-streams Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/b9b7433aa288dcbecc515b9abde6733fe0b20c
/usr/lib64/libHSio-streams-1.5.2.1-2LbNpkPRugV2n0Klm45JUM-ghc8.10.5.so
/usr/share/licenses/ghc-io-streams
/usr/share/licenses/ghc-io-streams/LICENSE

References

Summary

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