How To Install ghc-js-chart on Fedora 36

In this tutorial we learn how to install ghc-js-chart in Fedora 36. ghc-js-chart is Haskell js-chart library

Introduction

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

What is ghc-js-chart

This package provides the Haskell js-chart library.

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

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

sudo dnf -y install ghc-js-chart

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

sudo yum -y install ghc-js-chart

How To Uninstall ghc-js-chart on Fedora 36

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

sudo dnf remove ghc-js-chart

ghc-js-chart Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/b0f12ae44789e7b14b7f052775f7ba8e3e71b8
/usr/lib64/libHSjs-chart-2.9.4.1-3UPnSHM3NPo6iu9KvFnarV-ghc8.10.5.so
/usr/share/js-chart-2.9.4.1/Chart.bundle.min.js
/usr/share/js-chart-2.9.4.1/Chart.min.css
/usr/share/js-chart-2.9.4.1/Chart.min.js
/usr/share/licenses/ghc-js-chart
/usr/share/licenses/ghc-js-chart/LICENSE

References

Summary

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