How To Install mingw64-binutils on Fedora 36

In this tutorial we learn how to install mingw64-binutils in Fedora 36. mingw64-binutils is Cross-compiled version of binutils for the Win64 environment

Introduction

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

What is mingw64-binutils

Cross compiled binutils (utilities like ‘strip’, ‘as’, ’ld’) which understand Windows executables and DLLs.

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

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

sudo dnf -y install mingw64-binutils

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

sudo yum -y install mingw64-binutils

How To Uninstall mingw64-binutils on Fedora 36

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

sudo dnf remove mingw64-binutils

mingw64-binutils Package Contents on Fedora 36

/usr/bin/x86_64-w64-mingw32-addr2line
/usr/bin/x86_64-w64-mingw32-ar
/usr/bin/x86_64-w64-mingw32-as
/usr/bin/x86_64-w64-mingw32-c++filt
/usr/bin/x86_64-w64-mingw32-dlltool
/usr/bin/x86_64-w64-mingw32-dllwrap
/usr/bin/x86_64-w64-mingw32-elfedit
/usr/bin/x86_64-w64-mingw32-gprof
/usr/bin/x86_64-w64-mingw32-ld
/usr/bin/x86_64-w64-mingw32-ld.bfd
/usr/bin/x86_64-w64-mingw32-nm
/usr/bin/x86_64-w64-mingw32-objcopy
/usr/bin/x86_64-w64-mingw32-objdump
/usr/bin/x86_64-w64-mingw32-ranlib
/usr/bin/x86_64-w64-mingw32-readelf
/usr/bin/x86_64-w64-mingw32-size
/usr/bin/x86_64-w64-mingw32-strings
/usr/bin/x86_64-w64-mingw32-strip
/usr/bin/x86_64-w64-mingw32-windmc
/usr/bin/x86_64-w64-mingw32-windres
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/ddf1ded191ffcddb1610645574d395ca5861fe
/usr/lib/.build-id/00/ddf1ded191ffcddb1610645574d395ca5861fe.1
/usr/lib/.build-id/04
/usr/lib/.build-id/04/06df30acdd1cdb6387a622bd3a60e7997910fb
/usr/lib/.build-id/04/3fd12c00e881bf0bdec2c70bdb644953f51051
/usr/lib/.build-id/07
/usr/lib/.build-id/07/39f6454c7934912ddbd006ef8566a0219e364e
/usr/lib/.build-id/07/39f6454c7934912ddbd006ef8566a0219e364e.1
/usr/lib/.build-id/12
/usr/lib/.build-id/12/f71625b226a024626b212167009ed69b4d265a
/usr/lib/.build-id/12/f71625b226a024626b212167009ed69b4d265a.1
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/88de4511ea4b741878daa8ea9f5bf2f9110185
/usr/lib/.build-id/1c/88de4511ea4b741878daa8ea9f5bf2f9110185.1
/usr/lib/.build-id/20
/usr/lib/.build-id/20/c49bc7d8620f61fde60947db619134d57d7dad
/usr/lib/.build-id/20/c49bc7d8620f61fde60947db619134d57d7dad.1
/usr/lib/.build-id/20/c49bc7d8620f61fde60947db619134d57d7dad.2
/usr/lib/.build-id/20/c49bc7d8620f61fde60947db619134d57d7dad.3
/usr/lib/.build-id/39
/usr/lib/.build-id/39/3caea3614ebecf70f82c26e8ae510177913719
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/4a6f1a172c50ccebd9731de2b29ce7aeefb048
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/69d8c3a17315ec192d55bd00c2dd00a3465713
/usr/lib/.build-id/89
/usr/lib/.build-id/89/217cafa310a84c8c72150589d0d581ebbb7df8
/usr/lib/.build-id/98
/usr/lib/.build-id/98/19740c9c6e6fc48c0a715d8fbcbb328a0b4f42
/usr/lib/.build-id/98/19740c9c6e6fc48c0a715d8fbcbb328a0b4f42.1
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/3473375a5800fc4b5d8aa5bb4e385361d755b0
/usr/lib/.build-id/a2/3473375a5800fc4b5d8aa5bb4e385361d755b0.1
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/ab8629abed9cc4a2707de02d564c6de44ac791
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/6659241f5ddaaddbc5c6b4a610367d863c7ce3
/usr/lib/.build-id/cd/0284d566667632aedb38e98f3950209052951e
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/25786d5529c2c92e03229aaa17737ded192dc7
/usr/lib/.build-id/d8/25786d5529c2c92e03229aaa17737ded192dc7.1
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/7e84df9d0f8011305b17fea5bbfadbcc0c5367
/usr/lib/.build-id/ee/7e84df9d0f8011305b17fea5bbfadbcc0c5367.1
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/c2eebb9b3f53b39ab12df4c92175a8558e2c29
/usr/lib/.build-id/fb/c2eebb9b3f53b39ab12df4c92175a8558e2c29.1
/usr/x86_64-w64-mingw32/bin/ar
/usr/x86_64-w64-mingw32/bin/as
/usr/x86_64-w64-mingw32/bin/dlltool
/usr/x86_64-w64-mingw32/bin/ld
/usr/x86_64-w64-mingw32/bin/ld.bfd
/usr/x86_64-w64-mingw32/bin/nm
/usr/x86_64-w64-mingw32/bin/objcopy
/usr/x86_64-w64-mingw32/bin/objdump
/usr/x86_64-w64-mingw32/bin/ranlib
/usr/x86_64-w64-mingw32/bin/readelf
/usr/x86_64-w64-mingw32/bin/strip
/usr/x86_64-w64-mingw32/lib/ldscripts
/usr/x86_64-w64-mingw32/lib/ldscripts/i386pe.x
/usr/x86_64-w64-mingw32/lib/ldscripts/i386pe.xa
/usr/x86_64-w64-mingw32/lib/ldscripts/i386pe.xbn
/usr/x86_64-w64-mingw32/lib/ldscripts/i386pe.xe
/usr/x86_64-w64-mingw32/lib/ldscripts/i386pe.xn
/usr/x86_64-w64-mingw32/lib/ldscripts/i386pe.xr
/usr/x86_64-w64-mingw32/lib/ldscripts/i386pe.xu
/usr/x86_64-w64-mingw32/lib/ldscripts/i386pep.x
/usr/x86_64-w64-mingw32/lib/ldscripts/i386pep.xa
/usr/x86_64-w64-mingw32/lib/ldscripts/i386pep.xbn
/usr/x86_64-w64-mingw32/lib/ldscripts/i386pep.xe
/usr/x86_64-w64-mingw32/lib/ldscripts/i386pep.xn
/usr/x86_64-w64-mingw32/lib/ldscripts/i386pep.xr
/usr/x86_64-w64-mingw32/lib/ldscripts/i386pep.xu

References

Summary

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