How To Install ghc-cassava on Fedora 36
Introduction
In this tutorial we learn how to install ghc-cassava
on Fedora 36.
What is ghc-cassava
‘cassava’ is a library for parsing and encoding RFC 4180 compliant comma-separated values (CSV) data, which is a textual line-oriented format commonly used for exchanging tabular data. cassava’s API includes support for - Index-based record-conversion - Name-based record-conversion - Typeclass directed conversion of fields and records - Built-in field-conversion instances for standard types - Customizable record-conversion instance derivation via GHC generics - Low-level bytestring builders (see “Data.Csv.Builder”) - Incremental decoding and encoding API (see “Data.Csv.Incremental”) - Streaming API for constant-space decoding (see “Data.Csv.Streaming”) Moreover, this library is designed to be easy to use. Please refer to the documentation in “Data.Csv” and the included README for more usage examples.
We can use yum
or dnf
to install ghc-cassava
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-cassava.
Install ghc-cassava 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-cassava
using dnf
by running the following command:
sudo dnf -y install ghc-cassava
Install ghc-cassava 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-cassava
using yum
by running the following command:
sudo yum -y install ghc-cassava
How To Uninstall ghc-cassava on Fedora 36
To uninstall only the ghc-cassava
package we can use the following command:
sudo dnf remove ghc-cassava
ghc-cassava Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/64cee8b0f48a533e079a03a73e6e3b41040df9
/usr/lib64/libHScassava-0.5.2.0-J7hl0169kuQDyqvnNYDrm6-ghc8.10.5.so
/usr/share/licenses/ghc-cassava
/usr/share/licenses/ghc-cassava/LICENSE
References
Summary
In this tutorial we learn how to install ghc-cassava
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).