How To Install ghc-optparse-simple on Fedora 36

In this tutorial we learn how to install ghc-optparse-simple in Fedora 36. ghc-optparse-simple is Simple interface to optparse-applicative

Introduction

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

What is ghc-optparse-simple

A simple interface to optparse-applicative.

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

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

sudo dnf -y install ghc-optparse-simple

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

sudo yum -y install ghc-optparse-simple

How To Uninstall ghc-optparse-simple on Fedora 36

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

sudo dnf remove ghc-optparse-simple

ghc-optparse-simple Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/25
/usr/lib/.build-id/25/7fd8ac7f6411fa49b21c0ab339a2b9286553e9
/usr/lib64/libHSoptparse-simple-0.1.1.4-BPLL7YcmsRAJYg6KzpGArs-ghc8.10.5.so
/usr/share/licenses/ghc-optparse-simple
/usr/share/licenses/ghc-optparse-simple/LICENSE

References

Summary

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