How To Install ghc-hoauth2 on Fedora 36

In this tutorial we learn how to install ghc-hoauth2 in Fedora 36. ghc-hoauth2 is Haskell OAuth2 authentication client

Introduction

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

What is ghc-hoauth2

Haskell OAuth2 authentication client. Tested with the following services * AzureAD <https * Google * Github * Facebook * Fitbit * StackExchange * DropBox * Weibo * Douban

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

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

sudo dnf -y install ghc-hoauth2

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

sudo yum -y install ghc-hoauth2

How To Uninstall ghc-hoauth2 on Fedora 36

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

sudo dnf remove ghc-hoauth2

ghc-hoauth2 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/53
/usr/lib/.build-id/53/2fc2a7adfa907ef006d086cc6a2707ea1bf1d4
/usr/lib64/libHShoauth2-1.16.0-AtYDppFAxQVGUUG6cYSi4W-ghc8.10.5.so
/usr/share/licenses/ghc-hoauth2
/usr/share/licenses/ghc-hoauth2/LICENSE

References

Summary

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