How To Install jansson on Fedora 36

In this tutorial we learn how to install jansson in Fedora 36. jansson is C library for encoding, decoding and manipulating JSON data

Introduction

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

What is jansson

Small library for parsing and writing JSON documents.

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

Install jansson 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 jansson using dnf by running the following command:

sudo dnf -y install jansson

Install jansson 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 jansson using yum by running the following command:

sudo yum -y install jansson

How To Uninstall jansson on Fedora 36

title: “How To Install jansson on Fedora 36” To uninstall only the jansson package we can use the following command: linkTitle: “jansson”

type: “docs”

sudo dnf remove jansson
description: "In this tutorial we learn how to install jansson in Fedora 36. jansson is C library for encoding, decoding and manipulating JSON data"

date: “2022-08-17” lastmod: “2022-08-17”

jansson Package Contents on Fedora 36

#image: /images/fedora/36/jansson-featured.png

---

## Introduction

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

### What is `jansson`

> Small library for parsing and writing JSON documents.  

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

## Install jansson 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 jansson using dnf by running the following command:

sudo dnf -y install jansson

Install jansson 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 jansson using yum by running the following command:

sudo yum -y install jansson

How To Uninstall jansson on Fedora 36

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

sudo dnf remove jansson

jansson Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/0af6973aaad1eeae9a500bbab83738aa22fbbe
/usr/lib64/libjansson.so.4
/usr/lib64/libjansson.so.4.13.0
/usr/share/doc/jansson
/usr/share/doc/jansson/CHANGES
/usr/share/licenses/jansson
/usr/share/licenses/jansson/LICENSE

References

Summary

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

/usr/lib/.build-id /usr/lib/.build-id/ae /usr/lib/.build-id/ae/9c5701ad6b2f334d3c8ab70789ee06904bed7e /usr/lib/libjansson.so.4 /usr/lib/libjansson.so.4.13.0 /usr/share/doc/jansson /usr/share/doc/jansson/CHANGES /usr/share/licenses/jansson /usr/share/licenses/jansson/LICENSE


## References

* [jansson website](http://www.digip.org/jansson/)

## Summary

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