How To Install ghc-free-devel on Fedora 36

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

Introduction

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

What is ghc-free-devel

This package provides the Haskell free library development files.

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

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

sudo dnf -y install ghc-free-devel

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

sudo yum -y install ghc-free-devel

How To Uninstall ghc-free-devel on Fedora 36

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

sudo dnf remove ghc-free-devel

ghc-free-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/free-5.1.7
/usr/lib64/ghc-8.10.5/free-5.1.7/Control
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Alternative
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Alternative/Free
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Alternative/Free.dyn_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Alternative/Free.hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Alternative/Free/Final.dyn_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Alternative/Free/Final.hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Applicative
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Applicative/Free
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Applicative/Free.dyn_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Applicative/Free.hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Applicative/Free/Fast.dyn_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Applicative/Free/Fast.hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Applicative/Free/Final.dyn_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Applicative/Free/Final.hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Applicative/Trans
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Applicative/Trans/Free.dyn_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Applicative/Trans/Free.hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Comonad
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Comonad/Cofree
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Comonad/Cofree.dyn_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Comonad/Cofree.hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Comonad/Cofree/Class.dyn_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Comonad/Cofree/Class.hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Comonad/Trans
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Comonad/Trans/Cofree.dyn_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Comonad/Trans/Cofree.hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Comonad/Trans/Coiter.dyn_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Comonad/Trans/Coiter.hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Free
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Free.dyn_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Free.hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Free/Ap.dyn_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Free/Ap.hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Free/Church.dyn_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Free/Church.hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Free/Class.dyn_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Free/Class.hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Free/TH.dyn_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Free/TH.hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Trans
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Trans/Free
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Trans/Free.dyn_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Trans/Free.hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Trans/Free/Ap.dyn_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Trans/Free/Ap.hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Trans/Free/Church.dyn_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Trans/Free/Church.hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Trans/Iter.dyn_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Control/Monad/Trans/Iter.hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Data
/usr/lib64/ghc-8.10.5/free-5.1.7/Data/Functor
/usr/lib64/ghc-8.10.5/free-5.1.7/Data/Functor/Classes
/usr/lib64/ghc-8.10.5/free-5.1.7/Data/Functor/Classes/Compat.dyn_hi
/usr/lib64/ghc-8.10.5/free-5.1.7/Data/Functor/Classes/Compat.hi
/usr/lib64/ghc-8.10.5/free-5.1.7/libHSfree-5.1.7-CanjhrJjbH71mS0XjLAgmX.a
/usr/lib64/ghc-8.10.5/package.conf.d/free-5.1.7.conf
/usr/share/doc/ghc-free-devel
/usr/share/doc/ghc-free-devel/CHANGELOG.markdown
/usr/share/doc/ghc-free-devel/README.markdown
/usr/share/doc/ghc-free-devel/examples
/usr/share/doc/ghc-free-devel/examples/Cabbage.lhs
/usr/share/doc/ghc-free-devel/examples/LICENSE
/usr/share/doc/ghc-free-devel/examples/MandelbrotIter.lhs
/usr/share/doc/ghc-free-devel/examples/NewtonCoiter.lhs
/usr/share/doc/ghc-free-devel/examples/PerfTH.hs
/usr/share/doc/ghc-free-devel/examples/RetryTH.hs
/usr/share/doc/ghc-free-devel/examples/Teletype.lhs
/usr/share/doc/ghc-free-devel/examples/ValidationForm.hs
/usr/share/doc/ghc-free-devel/examples/free-examples.cabal

References

Summary

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