How To Install mingw32-cpp on Fedora 36
Introduction
In this tutorial we learn how to install mingw32-cpp
on Fedora 36.
What is mingw32-cpp
MinGW Windows cross-C Preprocessor for the win32 target.
We can use yum
or dnf
to install mingw32-cpp
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install mingw32-cpp.
Install mingw32-cpp 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-cpp
using dnf
by running the following command:
sudo dnf -y install mingw32-cpp
Install mingw32-cpp 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-cpp
using yum
by running the following command:
sudo yum -y install mingw32-cpp
How To Uninstall mingw32-cpp on Fedora 36
To uninstall only the mingw32-cpp
package we can use the following command:
sudo dnf remove mingw32-cpp
mingw32-cpp Package Contents on Fedora 36
/usr/bin/i686-w64-mingw32-cpp
/usr/lib/.build-id
/usr/lib/.build-id/40
/usr/lib/.build-id/40/e9578802212e5ea057473503f1bfc01ee8c3f0
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/25ccf0e6d5296f7c0c6955dae2ca1ed88bdd29
/usr/lib/gcc/i686-w64-mingw32
/usr/lib/gcc/i686-w64-mingw32/11.2.1
/usr/libexec/gcc/i686-w64-mingw32
/usr/libexec/gcc/i686-w64-mingw32/11.2.1
/usr/libexec/gcc/i686-w64-mingw32/11.2.1/cc1
/usr/share/man/man1/i686-w64-mingw32-cpp.1.gz
References
Summary
In this tutorial we learn how to install mingw32-cpp
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).