Unable to install jsoncpp 1.9.4 to the ubuntu 20.04.. Any suggestions would be helpful!!

Asked by Harish Gopal Ramesh

Hi Team,

I am trying to install jsoncpp in the ubuntu 20.04 version. By default it is installing 1.7.4 but i should have 1.9.4 as minimum requirement for my compilation. But unfortunately i am not able to update the version more that 1.7.4.

I found the git repos where the new changes are maintained. I followed the steps but the new version is not reflecting after the execution. I used the following link,
 -- https://github.com/open-source-parsers/jsoncpp

Do i need to change any environment path for the installation to reflect?

Any help would be helpful!!

Thanks and Regards,
Harish R

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu libjsoncpp Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

The version of libjsoncpp in Ubuntu 20.04 is 1.7.4
If you need a higher version, then you can:

- Do a release upgrade from Ubuntu 20.04 to Ubuntu 22.04 (with libjsoncpp version 1.9.5-3)
- Use a PPA for Ubuntu 20.04 that has a sufficiently high version of libjsoncpp (e.g. https://launchpad.net/~savoury1/+archive/ubuntu/backports )
- Build the program yourself

Can you help with this problem?

Provide an answer of your own, or ask Harish Gopal Ramesh for more information if necessary.

To post a message you must log in.