How To Install ghc-megaparsec-devel on Fedora 36
Introduction
In this tutorial we learn how to install ghc-megaparsec-devel
on Fedora 36.
What is ghc-megaparsec-devel
This package provides the Haskell megaparsec library development files.
We can use yum
or dnf
to install ghc-megaparsec-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-megaparsec-devel.
Install ghc-megaparsec-devel 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-megaparsec-devel
using dnf
by running the following command:
sudo dnf -y install ghc-megaparsec-devel
Install ghc-megaparsec-devel 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-megaparsec-devel
using yum
by running the following command:
sudo yum -y install ghc-megaparsec-devel
How To Uninstall ghc-megaparsec-devel on Fedora 36
To uninstall only the ghc-megaparsec-devel
package we can use the following command:
sudo dnf remove ghc-megaparsec-devel
ghc-megaparsec-devel Package Contents on Fedora 36
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec.dyn_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec.hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Byte
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Byte.dyn_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Byte.hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Byte/Lexer.dyn_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Byte/Lexer.hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Char
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Char.dyn_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Char.hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Char/Lexer.dyn_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Char/Lexer.hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Class.dyn_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Class.hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Common.dyn_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Common.hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Debug.dyn_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Debug.hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Error
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Error.dyn_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Error.hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Error/Builder.dyn_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Error/Builder.hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Internal.dyn_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Internal.hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Lexer.dyn_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Lexer.hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Pos.dyn_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Pos.hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/State.dyn_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/State.hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Stream.dyn_hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/Text/Megaparsec/Stream.hi
/usr/lib64/ghc-8.10.5/megaparsec-9.0.1/libHSmegaparsec-9.0.1-GCUc7J60CqY64xQOkte43B.a
/usr/lib64/ghc-8.10.5/package.conf.d/megaparsec-9.0.1.conf
/usr/share/doc/ghc-megaparsec-devel
/usr/share/doc/ghc-megaparsec-devel/CHANGELOG.md
/usr/share/doc/ghc-megaparsec-devel/README.md
References
Summary
In this tutorial we learn how to install ghc-megaparsec-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).