How To Install ghc-recaptcha on Fedora 36

In this tutorial we learn how to install ghc-recaptcha in Fedora 36. ghc-recaptcha is Functions for using the reCAPTCHA service in web applications

Introduction

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

What is ghc-recaptcha

ReCAPTCHA (https captchas for preventing automated spam in web applications. recaptcha-hs provides functions for using reCAPTCHA in Haskell web applications.

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

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

sudo dnf -y install ghc-recaptcha

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

sudo yum -y install ghc-recaptcha

How To Uninstall ghc-recaptcha on Fedora 36

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

sudo dnf remove ghc-recaptcha

ghc-recaptcha Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/9327992862418c418f982a9a7c3e1e2c598443
/usr/lib64/libHSrecaptcha-0.1.0.4-9PkY4RyqTdYI5132ET3FY3-ghc8.10.5.so
/usr/share/licenses/ghc-recaptcha
/usr/share/licenses/ghc-recaptcha/LICENSE

References

Summary

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