How To Install ghc-HsOpenSSL on Fedora 36

In this tutorial we learn how to install ghc-HsOpenSSL in Fedora 36. ghc-HsOpenSSL is Partial OpenSSL binding for Haskell

Introduction

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

What is ghc-HsOpenSSL

HsOpenSSL is an OpenSSL binding for Haskell. It can generate RSA and DSA keys, read and write PEM files, generate message digests, sign and verify messages, encrypt and decrypt messages. It has also some capabilities of creating SSL clients and servers. This package is in production use by a number of Haskell based systems and stable.

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

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

sudo dnf -y install ghc-HsOpenSSL

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

sudo yum -y install ghc-HsOpenSSL

How To Uninstall ghc-HsOpenSSL on Fedora 36

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

sudo dnf remove ghc-HsOpenSSL

ghc-HsOpenSSL Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/7779caefa6ac9312f553f6e8ebbb661eea13cc
/usr/lib64/libHSHsOpenSSL-0.11.7.2-Gs4Gk12hvBd1Cwb2gZI5be-ghc8.10.5.so
/usr/share/licenses/ghc-HsOpenSSL
/usr/share/licenses/ghc-HsOpenSSL/COPYING

References

Summary

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