How To Install ghc-csv on Fedora 36

In this tutorial we learn how to install ghc-csv in Fedora 36. ghc-csv is CSV loader and dumper

Introduction

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

What is ghc-csv

This library parses and dumps documents that are formatted according to RFC 4180, “The common Format and MIME Type for Comma-Separated Values (CSV) Files”. This format is used, among many other things, as a lingua franca for spreadsheets, and for certain web services.

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

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

sudo dnf -y install ghc-csv

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

sudo yum -y install ghc-csv

How To Uninstall ghc-csv on Fedora 36

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

sudo dnf remove ghc-csv

ghc-csv Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/21f1ad8a0ef2aee2641f2cba48f36f681a7dfc
/usr/lib64/libHScsv-0.1.2-8kEiO6xJBbxEErgQB8bTyl-ghc8.10.5.so
/usr/share/licenses/ghc-csv
/usr/share/licenses/ghc-csv/COPYING

References

Summary

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