TransWikia.com

Where to install json-c

Ask Ubuntu Asked by Serenity on February 7, 2021

I’m working on a project, that requires the library "json-c". Now I want to install this lib according to the official site (https://github.com/json-c/json-c#buildunix), but, this may sound stupid, where should I install it / clone and build it ?
Should I install the lib in the working directory of the project or can i install it anywhere ?
I ask this question, because I’m new to Ubuntu and used to install libs via apt-get.

(The used Ubuntu Version is 20.4, running in a virtual box)
I’m sorry 🙂

One Answer

I suggest installing libjson-c-dev package instead of building it from source.

sudo apt install libjson-c-dev

Answered by Pilot6 on February 7, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP