How To Install qca-qt5 on CentOS 7

In this tutorial we learn how to install qca-qt5 on CentOS 7. qca-qt5 is Qt5 Cryptographic Architecture

Introduction

In this tutorial we learn how to install qca-qt5 on CentOS 7.

What is qca-qt5

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

Install qca-qt5 on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install qca-qt5 using yum by running the following command:

sudo yum -y install qca-qt5

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

sudo dnf -y install qca-qt5

How To Uninstall qca-qt5 on CentOS 7

To uninstall only the qca-qt5 package we can use the following command:

sudo dnf remove qca-qt5

References

Summary

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