How To Install libtomcrypt on CentOS 7

In this tutorial we learn how to install libtomcrypt on CentOS 7. libtomcrypt is A comprehensive, portable cryptographic toolkit

Introduction

In this tutorial we learn how to install libtomcrypt on CentOS 7.

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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libtomcrypt.

Install libtomcrypt on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install libtomcrypt

Install libtomcrypt on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install libtomcrypt

How To Uninstall libtomcrypt on CentOS 7

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

sudo dnf remove libtomcrypt

References

Summary

In this tutorial we learn how to install libtomcrypt on CentOS 7 using yum and dnf.