How To Install ghc-mtlparse on Fedora 36
Introduction
In this tutorial we learn how to install ghc-mtlparse
on Fedora 36.
What is ghc-mtlparse
Parse library on mtl package Parse and ParseT is like State and StateT The package eases implementation of look-ahead look-behind and so on.
We can use yum
or dnf
to install ghc-mtlparse
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-mtlparse.
Install ghc-mtlparse 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-mtlparse
using dnf
by running the following command:
sudo dnf -y install ghc-mtlparse
Install ghc-mtlparse 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-mtlparse
using yum
by running the following command:
sudo yum -y install ghc-mtlparse
How To Uninstall ghc-mtlparse on Fedora 36
To uninstall only the ghc-mtlparse
package we can use the following command:
sudo dnf remove ghc-mtlparse
ghc-mtlparse Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/1b2f5039c9a339c829df14ba4734de6d72dd23
/usr/lib64/libHSmtlparse-0.1.4.0-EEJEz55j27CEpaUbdM3pRj-ghc8.10.5.so
/usr/share/licenses/ghc-mtlparse
/usr/share/licenses/ghc-mtlparse/LICENSE
References
Summary
In this tutorial we learn how to install ghc-mtlparse
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).