How To Install ghc-optional-args on Fedora 36

In this tutorial we learn how to install ghc-optional-args in Fedora 36. ghc-optional-args is Optional function arguments

Introduction

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

What is ghc-optional-args

This library provides a type for specifying Optional function arguments Read the tutorial in “Data.Optional” to learn more.

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

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

sudo dnf -y install ghc-optional-args

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

sudo yum -y install ghc-optional-args

How To Uninstall ghc-optional-args on Fedora 36

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

sudo dnf remove ghc-optional-args

ghc-optional-args Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/52
/usr/lib/.build-id/52/39367e1e3f6456cc772e575c055987b628d4ae
/usr/lib64/libHSoptional-args-1.0.2-9OyrdlAC6cZ8cGfANqqKxz-ghc8.10.5.so
/usr/share/licenses/ghc-optional-args
/usr/share/licenses/ghc-optional-args/LICENSE

References

Summary

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