How To Install ghc-th-orphans on Fedora 36
Introduction
In this tutorial we learn how to install ghc-th-orphans
on Fedora 36.
What is ghc-th-orphans
Orphan instances for TH datatypes. In particular, instances for Ord and Lift, as well as a few missing Show / Eq. These instances used to live in haskell-src-meta, and that’s where the version number started.
We can use yum
or dnf
to install ghc-th-orphans
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-th-orphans.
Install ghc-th-orphans 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-th-orphans
using dnf
by running the following command:
sudo dnf -y install ghc-th-orphans
Install ghc-th-orphans 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-th-orphans
using yum
by running the following command:
sudo yum -y install ghc-th-orphans
How To Uninstall ghc-th-orphans on Fedora 36
To uninstall only the ghc-th-orphans
package we can use the following command:
sudo dnf remove ghc-th-orphans
ghc-th-orphans Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/22ee4016ea81fbb401831a23d48226bd9927d6
/usr/lib64/libHSth-orphans-0.13.11-CKzFewFpC3T7zTmOBb2b1F-ghc8.10.5.so
/usr/share/licenses/ghc-th-orphans
/usr/share/licenses/ghc-th-orphans/LICENSE
References
Summary
In this tutorial we learn how to install ghc-th-orphans
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).