How to Install Json-C in Linux (Ubuntu)?

json-c is a C library for manipulating JSON data in C/C++. It can be downloaded from here. But if you are working in Ubuntu or other debian based systems you can execute the following commands

$ sudo apt-get install libjson0 libjson0-dev

If you want to debug your programs and see the various steps for debugging, you can also install the libjson – debug symbols package

$ sudo apt-get install libjson0-dbg

You can learn more about working with json-c.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s