How To Install ghc-code-page-devel on Fedora 36

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

Introduction

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

What is ghc-code-page-devel

This package provides the Haskell code-page library development files.

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

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

sudo dnf -y install ghc-code-page-devel

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

sudo yum -y install ghc-code-page-devel

How To Uninstall ghc-code-page-devel on Fedora 36

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

sudo dnf remove ghc-code-page-devel

ghc-code-page-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/code-page-0.2.1
/usr/lib64/ghc-8.10.5/code-page-0.2.1/System
/usr/lib64/ghc-8.10.5/code-page-0.2.1/System/IO
/usr/lib64/ghc-8.10.5/code-page-0.2.1/System/IO/CodePage
/usr/lib64/ghc-8.10.5/code-page-0.2.1/System/IO/CodePage.dyn_hi
/usr/lib64/ghc-8.10.5/code-page-0.2.1/System/IO/CodePage.hi
/usr/lib64/ghc-8.10.5/code-page-0.2.1/System/IO/CodePage/Internal.dyn_hi
/usr/lib64/ghc-8.10.5/code-page-0.2.1/System/IO/CodePage/Internal.hi
/usr/lib64/ghc-8.10.5/code-page-0.2.1/System/Win32
/usr/lib64/ghc-8.10.5/code-page-0.2.1/System/Win32/CodePage.dyn_hi
/usr/lib64/ghc-8.10.5/code-page-0.2.1/System/Win32/CodePage.hi
/usr/lib64/ghc-8.10.5/code-page-0.2.1/libHScode-page-0.2.1-3C62FJxRFEL4hMDYNXOvWB.a
/usr/lib64/ghc-8.10.5/package.conf.d/code-page-0.2.1.conf
/usr/share/doc/ghc-code-page-devel
/usr/share/doc/ghc-code-page-devel/CHANGELOG.md
/usr/share/doc/ghc-code-page-devel/README.md

References

Summary

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