How To Install ghc-parsec on Fedora 36
Introduction
In this tutorial we learn how to install ghc-parsec
on Fedora 36.
What is ghc-parsec
This package provides the Haskell parsec library.
We can use yum
or dnf
to install ghc-parsec
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-parsec.
Install ghc-parsec 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-parsec
using dnf
by running the following command:
sudo dnf -y install ghc-parsec
Install ghc-parsec 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-parsec
using yum
by running the following command:
sudo yum -y install ghc-parsec
How To Uninstall ghc-parsec on Fedora 36
To uninstall only the ghc-parsec
package we can use the following command:
sudo dnf remove ghc-parsec
ghc-parsec Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/d3e5a9a506d58958d31f365b43883975679d36
/usr/lib64/libHSparsec-3.1.14.0-ghc8.10.5.so
/usr/share/licenses/ghc-parsec
/usr/share/licenses/ghc-parsec/LICENSE
References
Summary
In this tutorial we learn how to install ghc-parsec
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).