How To Install ghc-js-flot on Fedora 36

In this tutorial we learn how to install ghc-js-flot in Fedora 36. ghc-js-flot is Obtain minified flot code

Introduction

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

What is ghc-js-flot

This package bundles the minified <http jQuery plotting library) into a Haskell package, so it can be depended upon by Cabal packages. The first three components of the version number match the upstream flot version. The package is designed to meet the redistribution requirements of downstream users (e.g. Debian).

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

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

sudo dnf -y install ghc-js-flot

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

sudo yum -y install ghc-js-flot

How To Uninstall ghc-js-flot on Fedora 36

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

sudo dnf remove ghc-js-flot

ghc-js-flot Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/78
/usr/lib/.build-id/78/15a4ee68a8fa136d323ee78731921bc595b2eb
/usr/lib64/libHSjs-flot-0.8.3-TcUiJgw6r09UQDHyqGmcy-ghc8.10.5.so
/usr/share/js-flot-0.8.3
/usr/share/js-flot-0.8.3/jquery.flot.canvas.min.js
/usr/share/js-flot-0.8.3/jquery.flot.categories.min.js
/usr/share/js-flot-0.8.3/jquery.flot.crosshair.min.js
/usr/share/js-flot-0.8.3/jquery.flot.errorbars.min.js
/usr/share/js-flot-0.8.3/jquery.flot.fillbetween.min.js
/usr/share/js-flot-0.8.3/jquery.flot.image.min.js
/usr/share/js-flot-0.8.3/jquery.flot.min.js
/usr/share/js-flot-0.8.3/jquery.flot.navigate.min.js
/usr/share/js-flot-0.8.3/jquery.flot.pie.min.js
/usr/share/js-flot-0.8.3/jquery.flot.resize.min.js
/usr/share/js-flot-0.8.3/jquery.flot.selection.min.js
/usr/share/js-flot-0.8.3/jquery.flot.stack.min.js
/usr/share/js-flot-0.8.3/jquery.flot.symbol.min.js
/usr/share/js-flot-0.8.3/jquery.flot.threshold.min.js
/usr/share/js-flot-0.8.3/jquery.flot.time.min.js
/usr/share/licenses/ghc-js-flot
/usr/share/licenses/ghc-js-flot/LICENSE

References

Summary

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