How To Install ghc-reflection-devel on Fedora 36

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

Introduction

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

What is ghc-reflection-devel

This package provides the Haskell reflection library development files.

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

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

sudo dnf -y install ghc-reflection-devel

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

sudo yum -y install ghc-reflection-devel

How To Uninstall ghc-reflection-devel on Fedora 36

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

sudo dnf remove ghc-reflection-devel

ghc-reflection-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/package.conf.d/reflection-2.1.6.conf
/usr/lib64/ghc-8.10.5/reflection-2.1.6
/usr/lib64/ghc-8.10.5/reflection-2.1.6/Data
/usr/lib64/ghc-8.10.5/reflection-2.1.6/Data/Reflection.dyn_hi
/usr/lib64/ghc-8.10.5/reflection-2.1.6/Data/Reflection.hi
/usr/lib64/ghc-8.10.5/reflection-2.1.6/libHSreflection-2.1.6-JsDmg6RTQSqB7FuzRU7sh9.a
/usr/share/doc/ghc-reflection-devel
/usr/share/doc/ghc-reflection-devel/CHANGELOG.markdown
/usr/share/doc/ghc-reflection-devel/README.markdown
/usr/share/doc/ghc-reflection-devel/examples
/usr/share/doc/ghc-reflection-devel/examples/Benchmark.hs
/usr/share/doc/ghc-reflection-devel/examples/Constraints.hs
/usr/share/doc/ghc-reflection-devel/examples/FromJSON.hs
/usr/share/doc/ghc-reflection-devel/examples/LICENSE
/usr/share/doc/ghc-reflection-devel/examples/Monoid.hs
/usr/share/doc/ghc-reflection-devel/examples/ReaderLike.hs
/usr/share/doc/ghc-reflection-devel/examples/reflection-examples.cabal

References

Summary

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