Information about the package, json-c, which is shipped with common Linux distributions. The json-c package is designed for, A JSON implementation in C.
Package Name:
json-c
Summary:
A JSON implementation in C
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.
Architecture:
x86_64
Version:
0.11
Release:
13.el6
Size:
27 k
Repository:
base
From Repository:
Licence:
MIT
Control the json-c package with the following handy commands outlined below.
yum install json-c
This command will install json-c on the server.
yum remove json-c
This command will un-install json-c on the server. When you run this command, you will be asked if you are sure that you want to remove json-c, so you have to manually confirm that you want to do this.
yum -y remove json-c
This command will un-install json-c on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove json-c when using the -y flag.
yum update json-c
This command will update json-c to the latest version. When you run this command, you will be asked if you are sure that you want to remove json-c, so you have to manually confirm that you want to do this.
yum -y update json-c
This command will update json-c to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove json-c when using the -y flag.
yum info json-c
This command will show you core information about the json-c package.
yum deplist json-c
This command will show you the dependencies for json-c. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.
yum check-update json-c
This command will check if there is an update waiting on json-c. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.