How To Install mingw32-gdb on Fedora 36

In this tutorial we learn how to install mingw32-gdb in Fedora 36. mingw32-gdb is MinGW Windows port of the GDB debugger

Introduction

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

What is mingw32-gdb

This is the MinGW Windows port of the GDB, the GNU debugger.

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

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

sudo dnf -y install mingw32-gdb

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

sudo yum -y install mingw32-gdb

How To Uninstall mingw32-gdb on Fedora 36

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

sudo dnf remove mingw32-gdb

mingw32-gdb Package Contents on Fedora 36

/usr/i686-w64-mingw32/sys-root/mingw/bin/gdb.exe
/usr/i686-w64-mingw32/sys-root/mingw/bin/gdbserver.exe
/usr/i686-w64-mingw32/sys-root/mingw/share/gdb
/usr/i686-w64-mingw32/sys-root/mingw/share/gdb/syscalls
/usr/i686-w64-mingw32/sys-root/mingw/share/gdb/syscalls/aarch64-linux.xml
/usr/i686-w64-mingw32/sys-root/mingw/share/gdb/syscalls/amd64-linux.xml
/usr/i686-w64-mingw32/sys-root/mingw/share/gdb/syscalls/arm-linux.xml
/usr/i686-w64-mingw32/sys-root/mingw/share/gdb/syscalls/freebsd.xml
/usr/i686-w64-mingw32/sys-root/mingw/share/gdb/syscalls/gdb-syscalls.dtd
/usr/i686-w64-mingw32/sys-root/mingw/share/gdb/syscalls/i386-linux.xml
/usr/i686-w64-mingw32/sys-root/mingw/share/gdb/syscalls/mips-n32-linux.xml
/usr/i686-w64-mingw32/sys-root/mingw/share/gdb/syscalls/mips-n64-linux.xml
/usr/i686-w64-mingw32/sys-root/mingw/share/gdb/syscalls/mips-o32-linux.xml
/usr/i686-w64-mingw32/sys-root/mingw/share/gdb/syscalls/netbsd.xml
/usr/i686-w64-mingw32/sys-root/mingw/share/gdb/syscalls/ppc-linux.xml
/usr/i686-w64-mingw32/sys-root/mingw/share/gdb/syscalls/ppc64-linux.xml
/usr/i686-w64-mingw32/sys-root/mingw/share/gdb/syscalls/s390-linux.xml
/usr/i686-w64-mingw32/sys-root/mingw/share/gdb/syscalls/s390x-linux.xml
/usr/i686-w64-mingw32/sys-root/mingw/share/gdb/syscalls/sparc-linux.xml
/usr/i686-w64-mingw32/sys-root/mingw/share/gdb/syscalls/sparc64-linux.xml
/usr/i686-w64-mingw32/sys-root/mingw/share/gdb/system-gdbinit
/usr/i686-w64-mingw32/sys-root/mingw/share/gdb/system-gdbinit/elinos.py
/usr/i686-w64-mingw32/sys-root/mingw/share/gdb/system-gdbinit/wrs-linux.py
/usr/share/licenses/mingw32-gdb
/usr/share/licenses/mingw32-gdb/COPYING
/usr/share/licenses/mingw32-gdb/COPYING.LIB
/usr/share/licenses/mingw32-gdb/COPYING3

References

Summary

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