How To Install ghc-simple-cmd-args on Fedora 36
Introduction
In this tutorial we learn how to install ghc-simple-cmd-args
on Fedora 36.
What is ghc-simple-cmd-args
This is a small wrapper over optparse-applicative which allows combining args parsers directly with IO commands. For subcommands this can avoid type boilerplate. It also provides some compact aliases for options with their Mod’s.
We can use yum
or dnf
to install ghc-simple-cmd-args
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-simple-cmd-args.
Install ghc-simple-cmd-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-simple-cmd-args
using dnf
by running the following command:
sudo dnf -y install ghc-simple-cmd-args
Install ghc-simple-cmd-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-simple-cmd-args
using yum
by running the following command:
sudo yum -y install ghc-simple-cmd-args
How To Uninstall ghc-simple-cmd-args on Fedora 36
To uninstall only the ghc-simple-cmd-args
package we can use the following command:
sudo dnf remove ghc-simple-cmd-args
ghc-simple-cmd-args Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/12715a92241ca1cff32f719fc73875733ecc75
/usr/lib64/libHSsimple-cmd-args-0.1.7-54ePghWAWh55L2hLHmXGg0-ghc8.10.5.so
/usr/share/licenses/ghc-simple-cmd-args
/usr/share/licenses/ghc-simple-cmd-args/LICENSE
References
Summary
In this tutorial we learn how to install ghc-simple-cmd-args
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).