How To Install ghc-ranges on Fedora 36

In this tutorial we learn how to install ghc-ranges in Fedora 36. ghc-ranges is Ranges and various functions on them

Introduction

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

What is ghc-ranges

Ranges and some functions allowing things like fast membership lookup on ranges with holes in them and so on.

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

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

sudo dnf -y install ghc-ranges

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

sudo yum -y install ghc-ranges

How To Uninstall ghc-ranges on Fedora 36

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

sudo dnf remove ghc-ranges

ghc-ranges Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/5b2894152055db7dc5bf143d99f721d3606380
/usr/lib64/libHSranges-0.2.4-3FtNzAx9FptLwtNLJ9fOV6-ghc8.10.5.so
/usr/share/licenses/ghc-ranges
/usr/share/licenses/ghc-ranges/LICENSE

References

Summary

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