How To Install hmaccalc.x86_64 on Amazon Linux 2

In this tutorial we learn how to install hmaccalc.x86_64 in Amazon Linux 2. hmaccalc.x86_64 is Tools for computing and checking HMAC values for files

Introduction

In this tutorial we learn how to install hmaccalc.x86_64 on Amazon Linux 2.

What is hmaccalc.x86_64

The hmaccalc package contains tools which can calculate HMAC (hash-based message authentication code) values for files. The names and interfaces are meant to mimic the sha*sum tools provided by the coreutils package.

We can use yum to install hmaccalc.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install hmaccalc.x86_64.

Install hmaccalc.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install hmaccalc.x86_64 using yum by running the following command:

sudo yum -y install hmaccalc.x86_64

How To Uninstall hmaccalc.x86_64 on Amazon Linux 2

To uninstall only the hmaccalc.x86_64 package we can use the following command:

sudo yum remove hmaccalc.x86_64

hmaccalc.x86_64 Package Contents on Amazon Linux 2

/usr/bin/sha1hmac
/usr/bin/sha256hmac
/usr/bin/sha384hmac
/usr/bin/sha512hmac
/usr/lib64/hmaccalc
/usr/lib64/hmaccalc/sha1hmac.hmac
/usr/lib64/hmaccalc/sha256hmac.hmac
/usr/lib64/hmaccalc/sha384hmac.hmac
/usr/lib64/hmaccalc/sha512hmac.hmac
/usr/share/doc/hmaccalc-0.9.13
/usr/share/doc/hmaccalc-0.9.13/LICENSE
/usr/share/doc/hmaccalc-0.9.13/README
/usr/share/man/man8/sha1hmac.8.gz
/usr/share/man/man8/sha256hmac.8.gz
/usr/share/man/man8/sha384hmac.8.gz
/usr/share/man/man8/sha512hmac.8.gz

References

Summary

In this tutorial we learn how to install hmaccalc.x86_64 on Amazon Linux 2 using yum.