How To Install ghc-optparse-applicative on Fedora 36
Introduction
In this tutorial we learn how to install ghc-optparse-applicative
on Fedora 36.
What is ghc-optparse-applicative
Optparse-applicative is a haskell library for parsing options on the command line, and providing a powerful applicative interface for composing them. optparse-applicative takes care of reading and validating the arguments passed to the command line, handling and reporting errors, generating a usage line, a comprehensive help screen, and enabling context-sensitive bash, zsh, and fish completions. See the included README for detailed instructions and examples, which is also available on github <https
We can use yum
or dnf
to install ghc-optparse-applicative
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-optparse-applicative.
Install ghc-optparse-applicative 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-applicative
using dnf
by running the following command:
sudo dnf -y install ghc-optparse-applicative
Install ghc-optparse-applicative 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-applicative
using yum
by running the following command:
sudo yum -y install ghc-optparse-applicative
How To Uninstall ghc-optparse-applicative on Fedora 36
To uninstall only the ghc-optparse-applicative
package we can use the following command:
sudo dnf remove ghc-optparse-applicative
ghc-optparse-applicative Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/537648e4d53f7c0f8bf0a23e71ad45bdf545f7
/usr/lib64/libHSoptparse-applicative-0.16.1.0-7x1UN2Lj4XUF2UIz1XAno7-ghc8.10.5.so
/usr/share/licenses/ghc-optparse-applicative
/usr/share/licenses/ghc-optparse-applicative/LICENSE
References
Summary
In this tutorial we learn how to install ghc-optparse-applicative
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).