How To Install libtomcrypt on Rocky Linux 8

In this tutorial we learn how to install libtomcrypt on Rocky Linux 8. libtomcrypt is A comprehensive, portable cryptographic toolkit

Introduction

In this tutorial we learn how to install libtomcrypt on Rocky Linux 8.

What is libtomcrypt

A comprehensive, modular and portable cryptographic toolkit that provides developers with a vast array of well known published block ciphers, one-way hash functions, chaining modes, pseudo-random number generators, public key cryptography and a plethora of other routines. Designed from the ground up to be very simple to use. It has a modular and standard API that allows new ciphers, hashes and PRNGs to be added or removed without change to the overall end application. It features easy to use functions and a complete user manual which has many source snippet examples.

We can use yum or dnf to install libtomcrypt on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libtomcrypt.

Install libtomcrypt on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libtomcrypt using dnf by running the following command:

sudo dnf -y install libtomcrypt

Install libtomcrypt on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libtomcrypt using yum by running the following command:

sudo yum -y install libtomcrypt

How To Uninstall libtomcrypt on Rocky Linux 8

To uninstall only the libtomcrypt package we can use the following command:

sudo dnf remove libtomcrypt

libtomcrypt Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/310e52a9aa946119253e85c9a18a74c8a83054
/usr/lib64/libtomcrypt.so.1
/usr/lib64/libtomcrypt.so.1.0.1
/usr/share/licenses/libtomcrypt
/usr/share/licenses/libtomcrypt/LICENSE

References

Summary

In this tutorial we learn how to install libtomcrypt on Rocky Linux 8 using yum and dnf.