How To Install ghc-darcs on Fedora 36

In this tutorial we learn how to install ghc-darcs in Fedora 36. ghc-darcs is Haskell darcs library

Introduction

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

What is ghc-darcs

This package provides the Haskell darcs shared library. * Please note that hackage does not correctly display the license. It is meant to be “GPL-2.0-or-later”.

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

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

sudo dnf -y install ghc-darcs

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

sudo yum -y install ghc-darcs

How To Uninstall ghc-darcs on Fedora 36

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

sudo dnf remove ghc-darcs

ghc-darcs Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/93
/usr/lib/.build-id/93/5ba249c68535d1fdbbca8ddee9ab77927d2290
/usr/lib64/libHSdarcs-2.16.4-CsIb32cYCWKAwwJqoaaZf9-ghc8.10.5.so
/usr/share/licenses/ghc-darcs
/usr/share/licenses/ghc-darcs/COPYING

References

Summary

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