How To Install ghc-optparse-simple-devel on Fedora 36

In this tutorial we learn how to install ghc-optparse-simple-devel in Fedora 36. ghc-optparse-simple-devel is Haskell optparse-simple library development files

Introduction

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

What is ghc-optparse-simple-devel

This package provides the Haskell optparse-simple library development files.

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

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

sudo dnf -y install ghc-optparse-simple-devel

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

sudo yum -y install ghc-optparse-simple-devel

How To Uninstall ghc-optparse-simple-devel on Fedora 36

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

sudo dnf remove ghc-optparse-simple-devel

ghc-optparse-simple-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/optparse-simple-0.1.1.4
/usr/lib64/ghc-8.10.5/optparse-simple-0.1.1.4/Options
/usr/lib64/ghc-8.10.5/optparse-simple-0.1.1.4/Options/Applicative
/usr/lib64/ghc-8.10.5/optparse-simple-0.1.1.4/Options/Applicative/Simple.dyn_hi
/usr/lib64/ghc-8.10.5/optparse-simple-0.1.1.4/Options/Applicative/Simple.hi
/usr/lib64/ghc-8.10.5/optparse-simple-0.1.1.4/Paths_optparse_simple.dyn_hi
/usr/lib64/ghc-8.10.5/optparse-simple-0.1.1.4/Paths_optparse_simple.hi
/usr/lib64/ghc-8.10.5/optparse-simple-0.1.1.4/libHSoptparse-simple-0.1.1.4-BPLL7YcmsRAJYg6KzpGArs.a
/usr/lib64/ghc-8.10.5/package.conf.d/optparse-simple-0.1.1.4.conf
/usr/share/doc/ghc-optparse-simple-devel
/usr/share/doc/ghc-optparse-simple-devel/ChangeLog.md
/usr/share/doc/ghc-optparse-simple-devel/README.md
/usr/share/doc/ghc-optparse-simple-devel/example
/usr/share/doc/ghc-optparse-simple-devel/example/Simple.hs

References

Summary

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