How To Install ghc-HsOpenSSL-x509-system on Fedora 36

In this tutorial we learn how to install ghc-HsOpenSSL-x509-system in Fedora 36. ghc-HsOpenSSL-x509-system is Use the system’s native CA certificate store with HsOpenSSL

Introduction

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

What is ghc-HsOpenSSL-x509-system

A cross-platform library that tries to find a (reasonable) CA certificate bundle that can be used with ‘HsOpenSSL’ to verify the certificates of remote peers. This package is for ‘HsOpenSSL’ what ‘x509-system’ is for the ’tls’ package. Additionally, it borrows some ideas from ‘x509-system’.

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

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

sudo dnf -y install ghc-HsOpenSSL-x509-system

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

sudo yum -y install ghc-HsOpenSSL-x509-system

How To Uninstall ghc-HsOpenSSL-x509-system on Fedora 36

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

sudo dnf remove ghc-HsOpenSSL-x509-system

ghc-HsOpenSSL-x509-system Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/ee7f5cd9b57add05de1b14563d8a83bb56999c
/usr/lib64/libHSHsOpenSSL-x509-system-0.1.0.4-CLaIcsm7KRXE6Btpb8V45W-ghc8.10.5.so
/usr/share/licenses/ghc-HsOpenSSL-x509-system
/usr/share/licenses/ghc-HsOpenSSL-x509-system/LICENSE

References

Summary

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