How To Install ghc-system-fileio on CentOS 7
Introduction
In this tutorial we learn how to install ghc-system-fileio
on CentOS 7.
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 CentOS 7. 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 CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install ghc-system-fileio
using yum
by running the following command:
Install ghc-system-fileio on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install ghc-system-fileio
using dnf
by running the following command:
How To Uninstall ghc-system-fileio on CentOS 7
To uninstall only the ghc-system-fileio
package we can use the following command:
References
Summary
In this tutorial we learn how to install ghc-system-fileio
on CentOS 7 using yum
and dnf
.