How To Install mingw32-curl on Fedora 36

In this tutorial we learn how to install mingw32-curl in Fedora 36. mingw32-curl is MinGW Windows port of curl and libcurl

Introduction

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

What is mingw32-curl

cURL is a tool for getting files from HTTP, FTP, FILE, LDAP, LDAPS, DICT, TELNET and TFTP servers, using any of the supported protocols. cURL is designed to work without user interaction or any kind of interactivity. cURL offers many useful capabilities, like proxy support, user authentication, FTP upload, HTTP post, and file transfer resume. This is the MinGW cross-compiled Windows library.

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

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

sudo dnf -y install mingw32-curl

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

sudo yum -y install mingw32-curl

How To Uninstall mingw32-curl on Fedora 36

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

sudo dnf remove mingw32-curl

mingw32-curl Package Contents on Fedora 36

/usr/i686-w64-mingw32/sys-root/mingw/bin/curl-config
/usr/i686-w64-mingw32/sys-root/mingw/bin/curl.exe
/usr/i686-w64-mingw32/sys-root/mingw/bin/libcurl-4.dll
/usr/i686-w64-mingw32/sys-root/mingw/include/curl
/usr/i686-w64-mingw32/sys-root/mingw/include/curl/curl.h
/usr/i686-w64-mingw32/sys-root/mingw/include/curl/curlver.h
/usr/i686-w64-mingw32/sys-root/mingw/include/curl/easy.h
/usr/i686-w64-mingw32/sys-root/mingw/include/curl/mprintf.h
/usr/i686-w64-mingw32/sys-root/mingw/include/curl/multi.h
/usr/i686-w64-mingw32/sys-root/mingw/include/curl/options.h
/usr/i686-w64-mingw32/sys-root/mingw/include/curl/stdcheaders.h
/usr/i686-w64-mingw32/sys-root/mingw/include/curl/system.h
/usr/i686-w64-mingw32/sys-root/mingw/include/curl/typecheck-gcc.h
/usr/i686-w64-mingw32/sys-root/mingw/include/curl/urlapi.h
/usr/i686-w64-mingw32/sys-root/mingw/lib/libcurl.dll.a
/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig/libcurl.pc
/usr/share/licenses/mingw32-curl
/usr/share/licenses/mingw32-curl/COPYING

References

Summary

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