How To Install ghc-filepath-devel on Fedora 36

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

Introduction

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

What is ghc-filepath-devel

This package provides the Haskell filepath library development files.

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

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

sudo dnf -y install ghc-filepath-devel

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

sudo yum -y install ghc-filepath-devel

How To Uninstall ghc-filepath-devel on Fedora 36

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

sudo dnf remove ghc-filepath-devel

ghc-filepath-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/filepath-1.4.2.1
/usr/lib64/ghc-8.10.5/filepath-1.4.2.1/HSfilepath-1.4.2.1.o
/usr/lib64/ghc-8.10.5/filepath-1.4.2.1/HSfilepath-1.4.2.1.p_o
/usr/lib64/ghc-8.10.5/filepath-1.4.2.1/System
/usr/lib64/ghc-8.10.5/filepath-1.4.2.1/System/FilePath
/usr/lib64/ghc-8.10.5/filepath-1.4.2.1/System/FilePath.dyn_hi
/usr/lib64/ghc-8.10.5/filepath-1.4.2.1/System/FilePath.hi
/usr/lib64/ghc-8.10.5/filepath-1.4.2.1/System/FilePath/Posix.dyn_hi
/usr/lib64/ghc-8.10.5/filepath-1.4.2.1/System/FilePath/Posix.hi
/usr/lib64/ghc-8.10.5/filepath-1.4.2.1/System/FilePath/Windows.dyn_hi
/usr/lib64/ghc-8.10.5/filepath-1.4.2.1/System/FilePath/Windows.hi
/usr/lib64/ghc-8.10.5/filepath-1.4.2.1/libHSfilepath-1.4.2.1.a
/usr/lib64/ghc-8.10.5/package.conf.d/filepath-1.4.2.1.conf

References

Summary

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