How To Install ghc-simple-cabal on Fedora 36

In this tutorial we learn how to install ghc-simple-cabal in Fedora 36. ghc-simple-cabal is Cabal file wrapper library

Introduction

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

What is ghc-simple-cabal

Find and read .cabal files, and a Cabal dependency compatibility layer.

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

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

sudo dnf -y install ghc-simple-cabal

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

sudo yum -y install ghc-simple-cabal

How To Uninstall ghc-simple-cabal on Fedora 36

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

sudo dnf remove ghc-simple-cabal

ghc-simple-cabal Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/46713a448d634b23f02f3c1cf5f0a075a52e26
/usr/lib64/libHSsimple-cabal-0.1.3-1drqWn45BP3GuMfkVXQv0c-ghc8.10.5.so
/usr/share/licenses/ghc-simple-cabal
/usr/share/licenses/ghc-simple-cabal/LICENSE

References

Summary

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