How To Install json-c.i686 on Amazon Linux 2
Introduction
In this tutorial we learn how to install json-c.i686
on Amazon Linux 2.
What is json-c.i686
JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C, output them as JSON formatted strings and parse JSON formatted strings back into the C representation of JSON objects.
We can use yum
to install json-c.i686
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install json-c.i686.
Install json-c.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 json-c.i686
using yum
by running the following command:
sudo yum -y install json-c.i686
How To Uninstall json-c.i686 on Amazon Linux 2
To uninstall only the json-c.i686
package we can use the following command:
sudo yum remove json-c.i686
json-c.i686 Package Contents on Amazon Linux 2
/usr/lib/libjson-c.so.2
/usr/lib/libjson-c.so.2.0.1
/usr/lib/libjson.so.0
/usr/lib/libjson.so.0.1.0
/usr/share/doc/json-c-0.11
/usr/share/doc/json-c-0.11/AUTHORS
/usr/share/doc/json-c-0.11/COPYING
/usr/share/doc/json-c-0.11/ChangeLog
/usr/share/doc/json-c-0.11/NEWS
/usr/share/doc/json-c-0.11/README
/usr/share/doc/json-c-0.11/README.html
References
Summary
In this tutorial we learn how to install json-c.i686
on Amazon Linux 2 using yum.