How To Install ghc-tagged on Fedora 36

In this tutorial we learn how to install ghc-tagged in Fedora 36. ghc-tagged is Haskell 98 phantom types to avoid unsafely passing dummy arguments

Introduction

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

What is ghc-tagged

Haskell 98 phantom types to avoid unsafely passing dummy arguments.

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

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

sudo dnf -y install ghc-tagged

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

sudo yum -y install ghc-tagged

How To Uninstall ghc-tagged on Fedora 36

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

sudo dnf remove ghc-tagged

ghc-tagged Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/58
/usr/lib/.build-id/58/5559daafe243220033bf9dfc0f759af90ddbb8
/usr/lib64/libHStagged-0.8.6.1-ApoezAM80qJ4868gaeuSrz-ghc8.10.5.so
/usr/share/licenses/ghc-tagged
/usr/share/licenses/ghc-tagged/LICENSE

References

Summary

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