How to Install and Uninstall json-c.x86_64 Package on Amazon Linux 2

Last updated: January 12,2025

1. Install "json-c.x86_64" package

Please follow the instructions below to install json-c.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install json-c.x86_64

2. Uninstall "json-c.x86_64" package

Please follow the steps below to uninstall json-c.x86_64 on Amazon Linux 2:

$ sudo yum remove json-c.x86_64 $ sudo yum autoremove

3. Information about the json-c.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : json-c
Arch : x86_64
Version : 0.11
Release : 4.amzn2.0.4
Size : 30 k
Repo : amzn2-core/2/x86_64
Summary : A JSON implementation in C
URL : https://github.com/json-c/json-c/wiki
License : MIT
Description : 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.