How To Install ghc-cabal-plan on Fedora 36

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

Introduction

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

What is ghc-cabal-plan

This package provides the Haskell cabal-plan library.

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

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

sudo dnf -y install ghc-cabal-plan

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

sudo yum -y install ghc-cabal-plan

How To Uninstall ghc-cabal-plan on Fedora 36

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

sudo dnf remove ghc-cabal-plan

ghc-cabal-plan Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/44
/usr/lib/.build-id/44/57f536ae1384c570a5d7693d7b1ca28a03c463
/usr/lib64/libHScabal-plan-0.7.2.0-3NLO5v1TlXx2aA14GkFoLp-ghc8.10.5.so
/usr/share/licenses/ghc-cabal-plan
/usr/share/licenses/ghc-cabal-plan/LICENSE.GPLv2
/usr/share/licenses/ghc-cabal-plan/LICENSE.GPLv3

References

Summary

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