How To Install cryptopp on CentOS 7

In this tutorial we learn how to install cryptopp on CentOS 7. cryptopp is C++ class library of cryptographic schemes

Introduction

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

What is cryptopp

Crypto++ Library is a free C++ class library of cryptographic schemes. See http algorithms. One purpose of Crypto++ is to act as a repository of public domain (not copyrighted) source code. Although the library is copyrighted as a compilation, the individual files in it are in the public domain.

We can use yum or dnf to install cryptopp on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install cryptopp.

Install cryptopp on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install cryptopp

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

sudo dnf -y install cryptopp

How To Uninstall cryptopp on CentOS 7

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

sudo dnf remove cryptopp

References

Summary

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