How To Install ghc-path on Fedora 36

In this tutorial we learn how to install ghc-path in Fedora 36. ghc-path is Support for well-typed paths

Introduction

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

What is ghc-path

Support for well-typed paths.

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

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

sudo dnf -y install ghc-path

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

sudo yum -y install ghc-path

How To Uninstall ghc-path on Fedora 36

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

sudo dnf remove ghc-path

ghc-path Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/e600bd8939b3d7ff209cbdb3597cc4b65f5826
/usr/lib64/libHSpath-0.8.0-2eYvXA9K3VmBdhaapABtgm-ghc8.10.5.so
/usr/share/licenses/ghc-path
/usr/share/licenses/ghc-path/LICENSE

References

Summary

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