How To Install ghc-monad-par on Fedora 36
Introduction
In this tutorial we learn how to install ghc-monad-par
on Fedora 36.
What is ghc-monad-par
The ‘Par’ monad offers a simple API for parallel programming. The library works for parallelising both pure and ‘IO’ computations, although only the pure version is deterministic. The default implementation provides a work-stealing scheduler and supports forking tasks that are much lighter weight than IO-threads. For complete documentation see “Control.Monad.Par”. Some examples of use can be found in the ’examples/’ directory of the source package. Other related packages * ‘abstract-par’ provides the type classes that abstract over different implementations of the ‘Par’ monad. * ‘monad-par-extras’ provides extra combinators and monad transformers layered on top of the ‘Par’ monad. Changes in 0.3.4 relative to 0.3 * Fix bugs that cause “thread blocked indefinitely on MVar” crashes. * Added “Control.Monad.Par.IO”.
We can use yum
or dnf
to install ghc-monad-par
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-monad-par.
Install ghc-monad-par 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-monad-par
using dnf
by running the following command:
sudo dnf -y install ghc-monad-par
Install ghc-monad-par 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-monad-par
using yum
by running the following command:
sudo yum -y install ghc-monad-par
How To Uninstall ghc-monad-par on Fedora 36
To uninstall only the ghc-monad-par
package we can use the following command:
sudo dnf remove ghc-monad-par
ghc-monad-par Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/de
/usr/lib/.build-id/de/13728846fb640a40f1ecf885a280523ffb2940
/usr/lib64/libHSmonad-par-0.3.5-9sbbKwOMQ85E5bJTkGZIGQ-ghc8.10.5.so
/usr/share/licenses/ghc-monad-par
/usr/share/licenses/ghc-monad-par/LICENSE
References
Summary
In this tutorial we learn how to install ghc-monad-par
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).