How To Install jsoncpp on Fedora 36

In this tutorial we learn how to install jsoncpp in Fedora 36. jsoncpp is JSON library implemented in C++

Introduction

In this tutorial we learn how to install jsoncpp on Fedora 36.

What is jsoncpp

jsoncpp is an implementation of a JSON (http C++. JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate.

We can use yum or dnf to install jsoncpp on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install jsoncpp.

Install jsoncpp on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install jsoncpp using dnf by running the following command:

sudo dnf -y install jsoncpp

Install jsoncpp on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install jsoncpp using yum by running the following command:

sudo yum -y install jsoncpp

How To Uninstall jsoncpp on Fedora 36

To uninstall only the jsoncpp package we can use the following command:

sudo dnf remove jsoncpp

jsoncpp Package Contents on Fedora 36

---
title: "How To Install jsoncpp on Fedora 36"
linkTitle: "jsoncpp"
type: "docs"
description: "In this tutorial we learn how to install jsoncpp in Fedora 36. jsoncpp is JSON library implemented in C++"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/jsoncpp-featured.png
---

## Introduction

In this tutorial we learn how to install `jsoncpp` on Fedora 36.

### What is `jsoncpp`

> jsoncpp is an implementation of a JSON (http C++. JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate.  

We can use `yum` or `dnf` to install `jsoncpp` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install jsoncpp.

## Install jsoncpp on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

After updating yum database, We can install jsoncpp using dnf by running the following command:

sudo dnf -y install jsoncpp

Install jsoncpp on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install jsoncpp using yum by running the following command:

sudo yum -y install jsoncpp

How To Uninstall jsoncpp on Fedora 36

To uninstall only the jsoncpp package we can use the following command:

sudo dnf remove jsoncpp

jsoncpp Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/1f9485d90b1b18466f90776b6383d83daf6f53
/usr/lib64/libjsoncpp.so.1.9.5
/usr/lib64/libjsoncpp.so.25
/usr/share/doc/jsoncpp
/usr/share/doc/jsoncpp/README.md
/usr/share/licenses/jsoncpp
/usr/share/licenses/jsoncpp/AUTHORS
/usr/share/licenses/jsoncpp/LICENSE

References

Summary

In this tutorial we learn how to install jsoncpp on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/usr/lib/.build-id /usr/lib/.build-id/f2 /usr/lib/.build-id/f2/e297c3559a9d0deb6f6fb9258b1772f5230f90 /usr/lib/libjsoncpp.so.1.9.5 /usr/lib/libjsoncpp.so.25 /usr/share/doc/jsoncpp /usr/share/doc/jsoncpp/README.md /usr/share/licenses/jsoncpp /usr/share/licenses/jsoncpp/AUTHORS /usr/share/licenses/jsoncpp/LICENSE


## References

* [jsoncpp website](https://github.com/open-source-parsers/jsoncpp)

## Summary

In this tutorial we learn how to install `jsoncpp` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).