How To Install mingw64-drmingw on Fedora 36

In this tutorial we learn how to install mingw64-drmingw in Fedora 36. mingw64-drmingw is Just-in-Time (JIT) debugger for MinGW

Introduction

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

What is mingw64-drmingw

Dr. Mingw is a Just-in-Time (JIT) debugger. When the application throws an unhandled exception, Dr. Mingw attaches itself to the application and collects information about the exception, using the available debugging information. Dr. Mingw can read debugging information in DWARF format – generated by the Gnu C/C++ Compiler, and in a PDB file – generated by the Microsoft Visual C++ Compiler. It relies upon the DbgHelp library to resolve symbols in modules compiled by the Microsoft tools. The functionality to resolve symbols and dump stack backtraces is provided as DLLs so it can be embedded on your applications/tools.

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

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

sudo dnf -y install mingw64-drmingw

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

sudo yum -y install mingw64-drmingw

How To Uninstall mingw64-drmingw on Fedora 36

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

sudo dnf remove mingw64-drmingw

mingw64-drmingw Package Contents on Fedora 36

/usr/share/doc/mingw64-drmingw
/usr/share/doc/mingw64-drmingw/README.md
/usr/share/doc/mingw64-drmingw/TODO.md
/usr/share/licenses/mingw64-drmingw
/usr/share/licenses/mingw64-drmingw/LICENSE.txt
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/addr2line.exe
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/catchsegv.exe
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/drmingw.exe
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/exchndl.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/mgwhelp.dll

References

Summary

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