How To Install ghc-cipher-aes on Fedora 36

In this tutorial we learn how to install ghc-cipher-aes in Fedora 36. ghc-cipher-aes is Fast AES cipher implementation with advanced mode of operations

Introduction

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

What is ghc-cipher-aes

Fast AES cipher implementation with advanced mode of operations. The modes of operations available are ECB (Electronic code book), CBC (Cipher block chaining), CTR (Counter), XTS (XEX with ciphertext stealing), GCM (Galois Counter Mode). The AES implementation uses AES-NI when available (on x86 and x86-64 architecture), but fallback gracefully to a software C implementation. The software implementation uses S-Boxes, which might suffer for cache timing issues. However do notes that most other known software implementations, including very popular one (openssl, gnutls) also uses similar implementation. If it matters for your case, you should make sure you have AES-NI available, or you’ll need to use a different implementation.

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

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

sudo dnf -y install ghc-cipher-aes

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

sudo yum -y install ghc-cipher-aes

How To Uninstall ghc-cipher-aes on Fedora 36

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

sudo dnf remove ghc-cipher-aes

ghc-cipher-aes Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/55eb9ab9fdf9d274c86cfc17c9e70b478cdcc3
/usr/lib64/libHScipher-aes-0.2.11-KFhgtElJflaJg1ErTBQTm1-ghc8.10.5.so
/usr/share/licenses/ghc-cipher-aes
/usr/share/licenses/ghc-cipher-aes/LICENSE

References

Summary

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