How To Install mingw32-jsoncpp on Fedora 36

In this tutorial we learn how to install mingw32-jsoncpp in Fedora 36. mingw32-jsoncpp is JSON library implemented in C++ for Win32 target

Introduction

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

What is mingw32-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. This package provides the library for the Win32 target.

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

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

sudo dnf -y install mingw32-jsoncpp

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

sudo yum -y install mingw32-jsoncpp

How To Uninstall mingw32-jsoncpp on Fedora 36

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

sudo dnf remove mingw32-jsoncpp

mingw32-jsoncpp Package Contents on Fedora 36

/usr/i686-w64-mingw32/sys-root/mingw/bin/libjsoncpp.dll
/usr/i686-w64-mingw32/sys-root/mingw/include/json
/usr/i686-w64-mingw32/sys-root/mingw/include/json/allocator.h
/usr/i686-w64-mingw32/sys-root/mingw/include/json/assertions.h
/usr/i686-w64-mingw32/sys-root/mingw/include/json/autolink.h
/usr/i686-w64-mingw32/sys-root/mingw/include/json/config.h
/usr/i686-w64-mingw32/sys-root/mingw/include/json/features.h
/usr/i686-w64-mingw32/sys-root/mingw/include/json/forwards.h
/usr/i686-w64-mingw32/sys-root/mingw/include/json/json.h
/usr/i686-w64-mingw32/sys-root/mingw/include/json/reader.h
/usr/i686-w64-mingw32/sys-root/mingw/include/json/value.h
/usr/i686-w64-mingw32/sys-root/mingw/include/json/version.h
/usr/i686-w64-mingw32/sys-root/mingw/include/json/writer.h
/usr/i686-w64-mingw32/sys-root/mingw/lib/cmake/jsoncpp
/usr/i686-w64-mingw32/sys-root/mingw/lib/cmake/jsoncpp/jsoncppConfig-noconfig.cmake
/usr/i686-w64-mingw32/sys-root/mingw/lib/cmake/jsoncpp/jsoncppConfig.cmake
/usr/i686-w64-mingw32/sys-root/mingw/lib/libjsoncpp.dll.a
/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig/jsoncpp.pc
/usr/share/doc/mingw32-jsoncpp
/usr/share/doc/mingw32-jsoncpp/README.md
/usr/share/licenses/mingw32-jsoncpp
/usr/share/licenses/mingw32-jsoncpp/AUTHORS
/usr/share/licenses/mingw32-jsoncpp/LICENSE

References

Summary

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