How To Install ghc-mmap-devel on Fedora 36

In this tutorial we learn how to install ghc-mmap-devel in Fedora 36. ghc-mmap-devel is Haskell mmap library development files

Introduction

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

What is ghc-mmap-devel

This package provides the Haskell mmap library development files.

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

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

sudo dnf -y install ghc-mmap-devel

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

sudo yum -y install ghc-mmap-devel

How To Uninstall ghc-mmap-devel on Fedora 36

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

sudo dnf remove ghc-mmap-devel

ghc-mmap-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/mmap-0.5.9
/usr/lib64/ghc-8.10.5/mmap-0.5.9/System
/usr/lib64/ghc-8.10.5/mmap-0.5.9/System/IO
/usr/lib64/ghc-8.10.5/mmap-0.5.9/System/IO/MMap.dyn_hi
/usr/lib64/ghc-8.10.5/mmap-0.5.9/System/IO/MMap.hi
/usr/lib64/ghc-8.10.5/mmap-0.5.9/libHSmmap-0.5.9-HfWmIvjdy0o930OZ0ovXqh.a
/usr/lib64/ghc-8.10.5/package.conf.d/mmap-0.5.9.conf

References

Summary

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