How To Install ghc-data-accessor on Fedora 36

In this tutorial we learn how to install ghc-data-accessor in Fedora 36. ghc-data-accessor is Utilities for accessing and manipulating fields of records

Introduction

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

What is ghc-data-accessor

With this package you can define record field accessors which allow setting, getting and modifying values easily. The package clearly demonstrates the power of the functional approach sub-records, to make the access look like the fields of the sub-record belong to the main record.

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

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

sudo dnf -y install ghc-data-accessor

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

sudo yum -y install ghc-data-accessor

How To Uninstall ghc-data-accessor on Fedora 36

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

sudo dnf remove ghc-data-accessor

ghc-data-accessor Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/6f166f517a66663424d09bce4903a34f178702
/usr/lib64/libHSdata-accessor-0.2.3-GpMDae00grh8HRskLMgIxY-ghc8.10.5.so
/usr/share/licenses/ghc-data-accessor
/usr/share/licenses/ghc-data-accessor/LICENSE

References

Summary

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