How To Install cjson-devel on Fedora 36

In this tutorial we learn how to install cjson-devel in Fedora 36. cjson-devel is Development files for cJSON

Introduction

In this tutorial we learn how to install cjson-devel on Fedora 36.

What is cjson-devel

The cjson-devel package contains libraries and header files for developing applications that use cJSON.

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

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

sudo dnf -y install cjson-devel

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

sudo yum -y install cjson-devel

How To Uninstall cjson-devel on Fedora 36

To uninstall only the cjson-devel package we can use the following command:

sudo dnf remove cjson-devel

cjson-devel Package Contents on Fedora 36

/usr/include/cjson
/usr/include/cjson/cJSON.h
/usr/lib/libcjson.so
/usr/lib/pkgconfig/libcjson.pc
/usr/share/doc/cjson-devel
/usr/share/doc/cjson-devel/CHANGELOG.md
/usr/share/doc/cjson-devel/CONTRIBUTORS.md

References

Summary

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


title: “How To Install cjson-devel on Fedora 36” linkTitle: “cjson-devel” type: “docs” description: “In this tutorial we learn how to install cjson-devel in Fedora 36. cjson-devel is Development files for cJSON” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/cjson-devel-featured.png

Introduction

In this tutorial we learn how to install cjson-devel on Fedora 36.

What is cjson-devel

The cjson-devel package contains libraries and header files for developing applications that use cJSON.

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

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

sudo dnf -y install cjson-devel

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

sudo yum -y install cjson-devel

How To Uninstall cjson-devel on Fedora 36

To uninstall only the cjson-devel package we can use the following command:

sudo dnf remove cjson-devel

cjson-devel Package Contents on Fedora 36

/usr/include/cjson
/usr/include/cjson/cJSON.h
/usr/lib64/libcjson.so
/usr/lib64/pkgconfig/libcjson.pc
/usr/share/doc/cjson-devel
/usr/share/doc/cjson-devel/CHANGELOG.md
/usr/share/doc/cjson-devel/CONTRIBUTORS.md

References

Summary

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