How To Install ghc-system-fileio on Fedora 36
Introduction
In this tutorial we learn how to install ghc-system-fileio
on Fedora 36.
What is ghc-system-fileio
This is a small wrapper around the “directory”, “unix”, and “Win32” packages, for use with “system-filepath”. It provides a consistent API to the various versions of these packages distributed with different versions of GHC. In particular, this library supports working with POSIX files that have paths which can’t be decoded in the current locale encoding.
We can use yum
or dnf
to install ghc-system-fileio
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-system-fileio.
Install ghc-system-fileio 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-system-fileio
using dnf
by running the following command:
sudo dnf -y install ghc-system-fileio
Install ghc-system-fileio 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-system-fileio
using yum
by running the following command:
sudo yum -y install ghc-system-fileio
How To Uninstall ghc-system-fileio on Fedora 36
To uninstall only the ghc-system-fileio
package we can use the following command:
sudo dnf remove ghc-system-fileio
ghc-system-fileio Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/cb3390176dac7afe357d111d520eecf78ab334
/usr/lib64/libHSsystem-fileio-0.3.16.4-6pcOjkl2Qx1A09mTHb8JEG-ghc8.10.5.so
/usr/share/licenses/ghc-system-fileio
/usr/share/licenses/ghc-system-fileio/license.txt
References
Summary
In this tutorial we learn how to install ghc-system-fileio
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).