How To Install yajl.x86_64 on Amazon Linux 2

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

Introduction

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

What is yajl.x86_64

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.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install yajl.x86_64.

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

sudo yum -y install yajl.x86_64

How To Uninstall yajl.x86_64 on Amazon Linux 2

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

sudo yum remove yajl.x86_64

yajl.x86_64 Package Contents on Amazon Linux 2

/usr/bin/json_reformat
/usr/bin/json_verify
/usr/lib64/libyajl.so.2
/usr/lib64/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.x86_64 on Amazon Linux 2 using yum.