How To Install mingw64-jsoncpp on Fedora 36

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

Introduction

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

What is mingw64-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 Win64 target.

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

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

sudo dnf -y install mingw64-jsoncpp

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

sudo yum -y install mingw64-jsoncpp

How To Uninstall mingw64-jsoncpp on Fedora 36

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

sudo dnf remove mingw64-jsoncpp

mingw64-jsoncpp Package Contents on Fedora 36

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

References

Summary

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