How To Install ghc-reflection on Fedora 36
Introduction
In this tutorial we learn how to install ghc-reflection
on Fedora 36.
What is ghc-reflection
This package addresses the “configuration problem” which is propagating configurations that are available at run-time, allowing multiple configurations to coexist without resorting to mutable global variables or ‘System.IO.Unsafe.unsafePerformIO’. That package is an implementation of the ideas presented in the paper “Functional Pearl Shan (<http However, the API has been streamlined to improve performance. Austin Seipp’s tutorial
provides a summary of the approach taken by this library, along with more motivating examples.
We can use yum
or dnf
to install ghc-reflection
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-reflection.
Install ghc-reflection 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
using dnf
by running the following command:
sudo dnf -y install ghc-reflection
Install ghc-reflection 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
using yum
by running the following command:
sudo yum -y install ghc-reflection
How To Uninstall ghc-reflection on Fedora 36
To uninstall only the ghc-reflection
package we can use the following command:
sudo dnf remove ghc-reflection
ghc-reflection Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/488871bab980722b50b06dc73dc48c663b1b85
/usr/lib64/libHSreflection-2.1.6-JsDmg6RTQSqB7FuzRU7sh9-ghc8.10.5.so
/usr/share/licenses/ghc-reflection
/usr/share/licenses/ghc-reflection/LICENSE
References
Summary
In this tutorial we learn how to install ghc-reflection
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).