How To Install ghc-hackage-security on Fedora 36

In this tutorial we learn how to install ghc-hackage-security in Fedora 36. ghc-hackage-security is Hackage security library

Introduction

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

What is ghc-hackage-security

The hackage security library provides both server and client utilities for securing the Hackage package server (https based on The Update Framework (https recommendations developed by security researchers at various universities in the US as well as developers on the Tor project (https The current implementation supports only index signing, thereby enabling untrusted mirrors. It does not yet provide facilities for author package signing.

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

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

sudo dnf -y install ghc-hackage-security

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

sudo yum -y install ghc-hackage-security

How To Uninstall ghc-hackage-security on Fedora 36

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

sudo dnf remove ghc-hackage-security

ghc-hackage-security Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/cadc0b27d657f85f76c104acfd37b5a4d3c5b5
/usr/lib64/libHShackage-security-0.6.0.1-43cKEQp7NEp5dE5pEtiu9C-ghc8.10.5.so
/usr/share/licenses/ghc-hackage-security
/usr/share/licenses/ghc-hackage-security/LICENSE

References

Summary

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