How To Install mingw32-wpcap on Fedora 36

In this tutorial we learn how to install mingw32-wpcap in Fedora 36. mingw32-wpcap is MinGW user-level packet capture

Introduction

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

What is mingw32-wpcap

MinGW Windows pcap library.

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

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

sudo dnf -y install mingw32-wpcap

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

sudo yum -y install mingw32-wpcap

How To Uninstall mingw32-wpcap on Fedora 36

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

sudo dnf remove mingw32-wpcap

mingw32-wpcap Package Contents on Fedora 36

/usr/i686-w64-mingw32/sys-root/mingw/bin/packet.dll
/usr/i686-w64-mingw32/sys-root/mingw/bin/wpcap.dll
/usr/i686-w64-mingw32/sys-root/mingw/include/wpcap
/usr/i686-w64-mingw32/sys-root/mingw/include/wpcap/Gnuc.h
/usr/i686-w64-mingw32/sys-root/mingw/include/wpcap/IP6_misc.h
/usr/i686-w64-mingw32/sys-root/mingw/include/wpcap/Packet32.h
/usr/i686-w64-mingw32/sys-root/mingw/include/wpcap/Win32-Extensions.h
/usr/i686-w64-mingw32/sys-root/mingw/include/wpcap/bittypes.h
/usr/i686-w64-mingw32/sys-root/mingw/include/wpcap/pcap
/usr/i686-w64-mingw32/sys-root/mingw/include/wpcap/pcap-bpf.h
/usr/i686-w64-mingw32/sys-root/mingw/include/wpcap/pcap-int.h
/usr/i686-w64-mingw32/sys-root/mingw/include/wpcap/pcap-namedb.h
/usr/i686-w64-mingw32/sys-root/mingw/include/wpcap/pcap-stdinc.h
/usr/i686-w64-mingw32/sys-root/mingw/include/wpcap/pcap.h
/usr/i686-w64-mingw32/sys-root/mingw/include/wpcap/pcap/bluetooth.h
/usr/i686-w64-mingw32/sys-root/mingw/include/wpcap/pcap/bpf.h
/usr/i686-w64-mingw32/sys-root/mingw/include/wpcap/pcap/namedb.h
/usr/i686-w64-mingw32/sys-root/mingw/include/wpcap/pcap/pcap.h
/usr/i686-w64-mingw32/sys-root/mingw/include/wpcap/pcap/sll.h
/usr/i686-w64-mingw32/sys-root/mingw/include/wpcap/pcap/usb.h
/usr/i686-w64-mingw32/sys-root/mingw/include/wpcap/pcap/vlan.h
/usr/i686-w64-mingw32/sys-root/mingw/include/wpcap/remote-ext.h
/usr/i686-w64-mingw32/sys-root/mingw/lib/libpacket.dll.a
/usr/i686-w64-mingw32/sys-root/mingw/lib/libwpcap.dll.a
/usr/i686-w64-mingw32/sys-root/mingw/lib/packet.def
/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig/wpcap.pc
/usr/i686-w64-mingw32/sys-root/mingw/lib/wpcap.def
/usr/share/doc/mingw32-wpcap
/usr/share/doc/mingw32-wpcap/LICENSE

References

Summary

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