How To Install qca2 on CentOS 7

In this tutorial we learn how to install qca2 on CentOS 7. qca2 is Qt Cryptographic Architecture

Introduction

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

What is qca2

Taking a hint from the similarly-named Java Cryptography Architecture, QCA aims to provide a straightforward and cross-platform crypto API, using Qt datatypes and conventions. QCA separates the API from the implementation, using plugins known as Providers. The advantage of this model is to allow applications to avoid linking to or explicitly depending on any particular cryptographic library. This allows one to easily change or upgrade crypto implementations without even needing to recompile the application! Taking a hint from the similarly-named Java Cryptography Architecture, QCA aims to provide a straightforward and cross-platform crypto API, using Qt datatypes and conventions. QCA separates the API from the implementation, using plugins known as Providers. The advantage of this model is to allow applications to avoid linking to or explicitly depending on any particular cryptographic library. This allows one to easily change or upgrade crypto implementations without even needing to recompile the application!

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

Install qca2 on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install qca2

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

sudo dnf -y install qca2

How To Uninstall qca2 on CentOS 7

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

sudo dnf remove qca2

References

Summary

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