How To Install mingw64-cpp on Rocky Linux 8
Introduction
In this tutorial we learn how to install mingw64-cpp
on Rocky Linux 8.
What is mingw64-cpp
MinGW Windows cross-C Preprocessor for the win64 target
We can use yum
or dnf
to install mingw64-cpp
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install mingw64-cpp.
Install mingw64-cpp on Rocky Linux 8 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 Rocky Linux 8 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 Rocky Linux 8
To uninstall only the mingw64-cpp
package we can use the following command:
sudo dnf remove mingw64-cpp
mingw64-cpp Package Contents on Rocky Linux 8
/usr/bin/x86_64-w64-mingw32-cpp
/usr/lib/.build-id
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/0e586022fa23fe9870b8f1863a9de84ef16736
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/07b2d44754d84dc711c6de6eb819e9ae43b9ce
/usr/lib/gcc/x86_64-w64-mingw32
/usr/lib/gcc/x86_64-w64-mingw32/7.2.0
/usr/libexec/gcc/x86_64-w64-mingw32
/usr/libexec/gcc/x86_64-w64-mingw32/7.2.0
/usr/libexec/gcc/x86_64-w64-mingw32/7.2.0/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 Rocky Linux 8 using yum and dnf.