How To Install jansson.i686 on Amazon Linux 2

In this tutorial we learn how to install jansson.i686 in Amazon Linux 2. jansson.i686 is C library for encoding, decoding and manipulating JSON data

Introduction

In this tutorial we learn how to install jansson.i686 on Amazon Linux 2.

What is jansson.i686

Small library for parsing and writing JSON documents.

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

Install jansson.i686 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 jansson.i686 using yum by running the following command:

sudo yum -y install jansson.i686

How To Uninstall jansson.i686 on Amazon Linux 2

To uninstall only the jansson.i686 package we can use the following command:

sudo yum remove jansson.i686

jansson.i686 Package Contents on Amazon Linux 2

/usr/lib/libjansson.so.4
/usr/lib/libjansson.so.4.10.0
/usr/share/doc/jansson-2.10
/usr/share/doc/jansson-2.10/CHANGES
/usr/share/doc/jansson-2.10/LICENSE

References

Summary

In this tutorial we learn how to install jansson.i686 on Amazon Linux 2 using yum.