How To Install ghc-project-template on Fedora 36

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

Introduction

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

What is ghc-project-template

This package provides the Haskell project-template library.

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

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

sudo dnf -y install ghc-project-template

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

sudo yum -y install ghc-project-template

How To Uninstall ghc-project-template on Fedora 36

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

sudo dnf remove ghc-project-template

ghc-project-template Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/8348a9d88096f45c1e8b447101eff715271787
/usr/lib64/libHSproject-template-0.2.1.0-I4J7vMQSdZ5FXhLd509UxN-ghc8.10.5.so
/usr/share/licenses/ghc-project-template
/usr/share/licenses/ghc-project-template/LICENSE

References

Summary

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