How To Install ghc-ConfigFile on Fedora 36

In this tutorial we learn how to install ghc-ConfigFile in Fedora 36. ghc-ConfigFile is Configuration file reading and writing

Introduction

In this tutorial we learn how to install ghc-ConfigFile on Fedora 36.

What is ghc-ConfigFile

Parser and writer for handling sectioned config files in Haskell. The ConfigFile module works with configuration files in a standard format that is easy for the user to edit, easy for the programmer to work with, yet remains powerful and flexible. It is inspired by, and compatible with, Python’s ConfigParser module. It uses files that resemble Windows .INI-style files, but with numerous improvements. ConfigFile provides simple calls to both read and write config files. It’s possible to make a config file parsable by this module, the Unix shell, and make.

We can use yum or dnf to install ghc-ConfigFile on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-ConfigFile.

Install ghc-ConfigFile 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-ConfigFile using dnf by running the following command:

sudo dnf -y install ghc-ConfigFile

Install ghc-ConfigFile 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-ConfigFile using yum by running the following command:

sudo yum -y install ghc-ConfigFile

How To Uninstall ghc-ConfigFile on Fedora 36

To uninstall only the ghc-ConfigFile package we can use the following command:

sudo dnf remove ghc-ConfigFile

ghc-ConfigFile Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/84
/usr/lib/.build-id/84/88b643257e8cc1c8b6a16ebc927d873c975d85
/usr/lib64/libHSConfigFile-1.1.4-5Wu5DcfPVkrJNYaoLABkY2-ghc8.10.5.so
/usr/share/licenses/ghc-ConfigFile
/usr/share/licenses/ghc-ConfigFile/COPYRIGHT
/usr/share/licenses/ghc-ConfigFile/LGPL-2.1

References

Summary

In this tutorial we learn how to install ghc-ConfigFile on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).