How To Install ghc-js-jquery on Fedora 36

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

Introduction

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

What is ghc-js-jquery

This package bundles the minified <http Haskell package, so it can be depended upon by Cabal packages. The first three components of the version number match the upstream jQuery 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-jquery on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-js-jquery.

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

sudo dnf -y install ghc-js-jquery

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

sudo yum -y install ghc-js-jquery

How To Uninstall ghc-js-jquery on Fedora 36

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

sudo dnf remove ghc-js-jquery

ghc-js-jquery Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/66
/usr/lib/.build-id/66/bf7ae90f19bcc7744904a9144c92b335626a3f
/usr/lib64/libHSjs-jquery-3.3.1-3PDJdcy83UD6cRtxb4Ji0Z-ghc8.10.5.so
/usr/share/js-jquery-3.3.1
/usr/share/js-jquery-3.3.1/jquery-3.3.1.min.js
/usr/share/licenses/ghc-js-jquery
/usr/share/licenses/ghc-js-jquery/LICENSE

References

Summary

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