How To Install ghc-safe-devel on Fedora 36
Introduction
In this tutorial we learn how to install ghc-safe-devel
on Fedora 36.
What is ghc-safe-devel
This package provides the Haskell safe library development files.
We can use yum
or dnf
to install ghc-safe-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-safe-devel.
Install ghc-safe-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-safe-devel
using dnf
by running the following command:
sudo dnf -y install ghc-safe-devel
Install ghc-safe-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-safe-devel
using yum
by running the following command:
sudo yum -y install ghc-safe-devel
How To Uninstall ghc-safe-devel on Fedora 36
To uninstall only the ghc-safe-devel
package we can use the following command:
sudo dnf remove ghc-safe-devel
ghc-safe-devel Package Contents on Fedora 36
/usr/lib64/ghc-8.10.5/package.conf.d/safe-0.3.19.conf
/usr/lib64/ghc-8.10.5/safe-0.3.19
/usr/lib64/ghc-8.10.5/safe-0.3.19/Safe
/usr/lib64/ghc-8.10.5/safe-0.3.19/Safe.dyn_hi
/usr/lib64/ghc-8.10.5/safe-0.3.19/Safe.hi
/usr/lib64/ghc-8.10.5/safe-0.3.19/Safe/Exact.dyn_hi
/usr/lib64/ghc-8.10.5/safe-0.3.19/Safe/Exact.hi
/usr/lib64/ghc-8.10.5/safe-0.3.19/Safe/Foldable.dyn_hi
/usr/lib64/ghc-8.10.5/safe-0.3.19/Safe/Foldable.hi
/usr/lib64/ghc-8.10.5/safe-0.3.19/Safe/Partial.dyn_hi
/usr/lib64/ghc-8.10.5/safe-0.3.19/Safe/Partial.hi
/usr/lib64/ghc-8.10.5/safe-0.3.19/Safe/Util.dyn_hi
/usr/lib64/ghc-8.10.5/safe-0.3.19/Safe/Util.hi
/usr/lib64/ghc-8.10.5/safe-0.3.19/libHSsafe-0.3.19-DlKvqLTtraZKItu5PR3KBM.a
/usr/share/doc/ghc-safe-devel
/usr/share/doc/ghc-safe-devel/CHANGES.txt
/usr/share/doc/ghc-safe-devel/README.md
References
Summary
In this tutorial we learn how to install ghc-safe-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).