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