How To Install ghc-hspec-megaparsec on Fedora 36
Introduction
In this tutorial we learn how to install ghc-hspec-megaparsec
on Fedora 36.
What is ghc-hspec-megaparsec
Utility functions for testing Megaparsec parsers with Hspec.
We can use yum
or dnf
to install ghc-hspec-megaparsec
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-hspec-megaparsec.
Install ghc-hspec-megaparsec 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-hspec-megaparsec
using dnf
by running the following command:
sudo dnf -y install ghc-hspec-megaparsec
Install ghc-hspec-megaparsec 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-hspec-megaparsec
using yum
by running the following command:
sudo yum -y install ghc-hspec-megaparsec
How To Uninstall ghc-hspec-megaparsec on Fedora 36
To uninstall only the ghc-hspec-megaparsec
package we can use the following command:
sudo dnf remove ghc-hspec-megaparsec
ghc-hspec-megaparsec Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/3683f802963f621dc097b75c4e3e8c4e36066f
/usr/lib64/libHShspec-megaparsec-2.2.0-GWFCre33NxAIZpa5gMiygw-ghc8.10.5.so
/usr/share/licenses/ghc-hspec-megaparsec
/usr/share/licenses/ghc-hspec-megaparsec/LICENSE.md
References
Summary
In this tutorial we learn how to install ghc-hspec-megaparsec
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).