How To Install ghc-asn1-encoding on Fedora 36

In this tutorial we learn how to install ghc-asn1-encoding in Fedora 36. ghc-asn1-encoding is ASN1 data reader and writer in RAW, BER and DER forms

Introduction

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

What is ghc-asn1-encoding

ASN1 data reader and writer in raw form with supports for high level forms of ASN1 (BER, and DER).

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

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

sudo dnf -y install ghc-asn1-encoding

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

sudo yum -y install ghc-asn1-encoding

How To Uninstall ghc-asn1-encoding on Fedora 36

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

sudo dnf remove ghc-asn1-encoding

ghc-asn1-encoding Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/92
/usr/lib/.build-id/92/deec7ebfab9755d4aac1aa205b192e66111a72
/usr/lib64/libHSasn1-encoding-0.9.6-2jOAD7o9nxyAHQtzONe3f7-ghc8.10.5.so
/usr/share/licenses/ghc-asn1-encoding
/usr/share/licenses/ghc-asn1-encoding/LICENSE

References

Summary

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