How To Install ghc-HUnit-devel on Fedora 36
Introduction
In this tutorial we learn how to install ghc-HUnit-devel
on Fedora 36.
What is ghc-HUnit-devel
This package provides the Haskell HUnit library development files.
We can use yum
or dnf
to install ghc-HUnit-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-HUnit-devel.
Install ghc-HUnit-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-HUnit-devel
using dnf
by running the following command:
sudo dnf -y install ghc-HUnit-devel
Install ghc-HUnit-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-HUnit-devel
using yum
by running the following command:
sudo yum -y install ghc-HUnit-devel
How To Uninstall ghc-HUnit-devel on Fedora 36
To uninstall only the ghc-HUnit-devel
package we can use the following command:
sudo dnf remove ghc-HUnit-devel
ghc-HUnit-devel Package Contents on Fedora 36
/usr/lib64/ghc-8.10.5/HUnit-1.6.2.0
/usr/lib64/ghc-8.10.5/HUnit-1.6.2.0/Paths_HUnit.dyn_hi
/usr/lib64/ghc-8.10.5/HUnit-1.6.2.0/Paths_HUnit.hi
/usr/lib64/ghc-8.10.5/HUnit-1.6.2.0/Test
/usr/lib64/ghc-8.10.5/HUnit-1.6.2.0/Test/HUnit
/usr/lib64/ghc-8.10.5/HUnit-1.6.2.0/Test/HUnit.dyn_hi
/usr/lib64/ghc-8.10.5/HUnit-1.6.2.0/Test/HUnit.hi
/usr/lib64/ghc-8.10.5/HUnit-1.6.2.0/Test/HUnit/Base.dyn_hi
/usr/lib64/ghc-8.10.5/HUnit-1.6.2.0/Test/HUnit/Base.hi
/usr/lib64/ghc-8.10.5/HUnit-1.6.2.0/Test/HUnit/Lang.dyn_hi
/usr/lib64/ghc-8.10.5/HUnit-1.6.2.0/Test/HUnit/Lang.hi
/usr/lib64/ghc-8.10.5/HUnit-1.6.2.0/Test/HUnit/Terminal.dyn_hi
/usr/lib64/ghc-8.10.5/HUnit-1.6.2.0/Test/HUnit/Terminal.hi
/usr/lib64/ghc-8.10.5/HUnit-1.6.2.0/Test/HUnit/Text.dyn_hi
/usr/lib64/ghc-8.10.5/HUnit-1.6.2.0/Test/HUnit/Text.hi
/usr/lib64/ghc-8.10.5/HUnit-1.6.2.0/libHSHUnit-1.6.2.0-CpPWGnQqP1WFzeCyyxs5eQ.a
/usr/lib64/ghc-8.10.5/package.conf.d/HUnit-1.6.2.0.conf
/usr/share/doc/ghc-HUnit-devel
/usr/share/doc/ghc-HUnit-devel/CHANGELOG.md
/usr/share/doc/ghc-HUnit-devel/README.md
/usr/share/doc/ghc-HUnit-devel/examples
/usr/share/doc/ghc-HUnit-devel/examples/Example.hs
References
Summary
In this tutorial we learn how to install ghc-HUnit-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).