How To Install ghc-infer-license on Fedora 36

In this tutorial we learn how to install ghc-infer-license in Fedora 36. ghc-infer-license is Infer software license from a given license file

Introduction

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

What is ghc-infer-license

Infer software license from a given license file.

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

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

sudo dnf -y install ghc-infer-license

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

sudo yum -y install ghc-infer-license

How To Uninstall ghc-infer-license on Fedora 36

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

sudo dnf remove ghc-infer-license

ghc-infer-license Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/93
/usr/lib/.build-id/93/19259cb78faaaba7dd0067b3eca8c55c1c3a73
/usr/lib64/libHSinfer-license-0.2.0-3R136GX1Sd3GzvpYAQAlYj-ghc8.10.5.so
/usr/share/licenses/ghc-infer-license
/usr/share/licenses/ghc-infer-license/LICENSE

References

Summary

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