How To Install qjson.x86_64 on Amazon Linux 2

In this tutorial we learn how to install qjson.x86_64 in Amazon Linux 2. qjson.x86_64 is A qt-based library that maps JSON data to QVariant objects

Introduction

In this tutorial we learn how to install qjson.x86_64 on Amazon Linux 2.

What is qjson.x86_64

JSON is a lightweight data-interchange format. It can represents integer, real number, string, an ordered sequence of value, and a collection of name/value pairs.QJson is a qt-based library that maps JSON data to QVariant objects.

We can use yum to install qjson.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install qjson.x86_64.

Install qjson.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install qjson.x86_64 using yum by running the following command:

sudo yum -y install qjson.x86_64

How To Uninstall qjson.x86_64 on Amazon Linux 2

To uninstall only the qjson.x86_64 package we can use the following command:

sudo yum remove qjson.x86_64

qjson.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libqjson.so.0
/usr/lib64/libqjson.so.0.8.1
/usr/share/doc/qjson-0.8.1
/usr/share/doc/qjson-0.8.1/COPYING.lib
/usr/share/doc/qjson-0.8.1/README.license
/usr/share/doc/qjson-0.8.1/README.md

References

Summary

In this tutorial we learn how to install qjson.x86_64 on Amazon Linux 2 using yum.