How To Install ghc-prelude-extras on Fedora 36
Introduction
In this tutorial we learn how to install ghc-prelude-extras
on Fedora 36.
What is ghc-prelude-extras
Higher order versions of Prelude classes to ease programming with polymorphic recursion and reduce UndecidableInstances See <http of the approach taken here.
We can use yum
or dnf
to install ghc-prelude-extras
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-prelude-extras.
Install ghc-prelude-extras 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-prelude-extras
using dnf
by running the following command:
sudo dnf -y install ghc-prelude-extras
Install ghc-prelude-extras 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-prelude-extras
using yum
by running the following command:
sudo yum -y install ghc-prelude-extras
How To Uninstall ghc-prelude-extras on Fedora 36
To uninstall only the ghc-prelude-extras
package we can use the following command:
sudo dnf remove ghc-prelude-extras
ghc-prelude-extras Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/656254c9af17ca61dc9c2880df1389e2709da7
/usr/lib64/libHSprelude-extras-0.4.0.3-FCoSOtTiikDD8Es4OHTqgy-ghc8.10.5.so
/usr/share/licenses/ghc-prelude-extras
/usr/share/licenses/ghc-prelude-extras/LICENSE
References
Summary
In this tutorial we learn how to install ghc-prelude-extras
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).