How To Install yajl.i686 on Amazon Linux 2

In this tutorial we learn how to install yajl.i686 in Amazon Linux 2. yajl.i686 is Yet Another JSON Library (YAJL)

Introduction

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

What is yajl.i686

Yet Another JSON Library. YAJL is a small event-driven (SAX-style) JSON parser written in ANSI C, and a small validating JSON generator.

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

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

sudo yum -y install yajl.i686

How To Uninstall yajl.i686 on Amazon Linux 2

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

sudo yum remove yajl.i686

yajl.i686 Package Contents on Amazon Linux 2

/usr/bin/json_reformat
/usr/bin/json_verify
/usr/lib/libyajl.so.2
/usr/lib/libyajl.so.2.0.4
/usr/share/doc/yajl-2.0.4
/usr/share/doc/yajl-2.0.4/COPYING
/usr/share/doc/yajl-2.0.4/ChangeLog
/usr/share/doc/yajl-2.0.4/README
/usr/share/doc/yajl-2.0.4/TODO

References

Summary

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