How To Install ghc-code-page on Fedora 36
Introduction
In this tutorial we learn how to install ghc-code-page
on Fedora 36.
What is ghc-code-page
This library provides two modules * “System.IO.CodePage” adjust code pages on Windows, and do nothing on other operating systems. * “System.Win32.CodePage” setting, and analyzing code pages. On other operating systems, this module exports nothing.
We can use yum
or dnf
to install ghc-code-page
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-code-page.
Install ghc-code-page 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-code-page
using dnf
by running the following command:
sudo dnf -y install ghc-code-page
Install ghc-code-page 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-code-page
using yum
by running the following command:
sudo yum -y install ghc-code-page
How To Uninstall ghc-code-page on Fedora 36
To uninstall only the ghc-code-page
package we can use the following command:
sudo dnf remove ghc-code-page
ghc-code-page Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/41
/usr/lib/.build-id/41/fc8ed4f5d43a910b3c7bba9893e2a28694bc81
/usr/lib64/libHScode-page-0.2.1-3C62FJxRFEL4hMDYNXOvWB-ghc8.10.5.so
/usr/share/licenses/ghc-code-page
/usr/share/licenses/ghc-code-page/LICENSE
References
Summary
In this tutorial we learn how to install ghc-code-page
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).