How To Install ghc-hi-file-parser on Fedora 36

In this tutorial we learn how to install ghc-hi-file-parser in Fedora 36. ghc-hi-file-parser is Haskell hi-file-parser library

Introduction

In this tutorial we learn how to install ghc-hi-file-parser on Fedora 36.

What is ghc-hi-file-parser

This package provides the Haskell hi-file-parser library.

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

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

sudo dnf -y install ghc-hi-file-parser

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

sudo yum -y install ghc-hi-file-parser

How To Uninstall ghc-hi-file-parser on Fedora 36

To uninstall only the ghc-hi-file-parser package we can use the following command:

sudo dnf remove ghc-hi-file-parser

ghc-hi-file-parser Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/57
/usr/lib/.build-id/57/4f4c03cc27ab68f7c501fe0aaced382973993a
/usr/lib64/libHShi-file-parser-0.1.2.0-3jqHybf02Lf905Ixvz728f-ghc8.10.5.so
/usr/share/licenses/ghc-hi-file-parser
/usr/share/licenses/ghc-hi-file-parser/LICENSE

References

Summary

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