How To Install mingw64-curl on Fedora 36

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

Introduction

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

What is mingw64-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 mingw64-curl on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install mingw64-curl.

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

sudo dnf -y install mingw64-curl

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

sudo yum -y install mingw64-curl

How To Uninstall mingw64-curl on Fedora 36

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

sudo dnf remove mingw64-curl

mingw64-curl Package Contents on Fedora 36

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

References

Summary

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