How To Install libkcapi-hmaccalc on Fedora 36

In this tutorial we learn how to install libkcapi-hmaccalc in Fedora 36. libkcapi-hmaccalc is Drop-in replacements for hmaccalc provided by the libkcapi package

Introduction

In this tutorial we learn how to install libkcapi-hmaccalc on Fedora 36.

What is libkcapi-hmaccalc

Provides drop-in replacements for sha*hmac tools (from package hmaccalc) using libkcapi.

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

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

sudo dnf -y install libkcapi-hmaccalc

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

sudo yum -y install libkcapi-hmaccalc

How To Uninstall libkcapi-hmaccalc on Fedora 36

To uninstall only the libkcapi-hmaccalc package we can use the following command:

sudo dnf remove libkcapi-hmaccalc

libkcapi-hmaccalc Package Contents on Fedora 36

/lib64/hmaccalc/sha1hmac.hmac
/lib64/hmaccalc/sha224hmac.hmac
/lib64/hmaccalc/sha256hmac.hmac
/lib64/hmaccalc/sha384hmac.hmac
/lib64/hmaccalc/sha512hmac.hmac
/usr/bin/sha1hmac
/usr/bin/sha224hmac
/usr/bin/sha256hmac
/usr/bin/sha384hmac
/usr/bin/sha512hmac
/usr/lib/.build-id
/usr/lib/.build-id/04/9b32f11fd6caaa67a89fd94acfbe489003dbdf.2
/usr/lib/.build-id/04/9b32f11fd6caaa67a89fd94acfbe489003dbdf.3
/usr/lib/.build-id/04/9b32f11fd6caaa67a89fd94acfbe489003dbdf.4
/usr/lib/.build-id/04/9b32f11fd6caaa67a89fd94acfbe489003dbdf.5
/usr/lib/.build-id/04/9b32f11fd6caaa67a89fd94acfbe489003dbdf.6

References

Summary

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