How To Install ghc-filemanip on Fedora 36

In this tutorial we learn how to install ghc-filemanip in Fedora 36. ghc-filemanip is Expressive file and directory manipulation for Haskell

Introduction

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

What is ghc-filemanip

A Haskell library for working with files and directories. Includes code for pattern matching, finding files, modifying file contents, and more.

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

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

sudo dnf -y install ghc-filemanip

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

sudo yum -y install ghc-filemanip

How To Uninstall ghc-filemanip on Fedora 36

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

sudo dnf remove ghc-filemanip

ghc-filemanip Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/2268d906513a703619a9710272226d74c6df0b
/usr/lib64/libHSfilemanip-0.3.6.3-5Ftr9nUv1bDEMXhF4gGa8c-ghc8.10.5.so
/usr/share/licenses/ghc-filemanip
/usr/share/licenses/ghc-filemanip/LICENSE

References

Summary

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