How to Install and Uninstall g++-mingw-w64 Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: July 06,2024

1. Install "g++-mingw-w64" package

Please follow the guidance below to install g++-mingw-w64 on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install g++-mingw-w64

2. Uninstall "g++-mingw-w64" package

Here is a brief guide to show you how to uninstall g++-mingw-w64 on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove g++-mingw-w64 $ sudo apt autoclean && sudo apt autoremove

3. Information about the g++-mingw-w64 package on Ubuntu 21.04 (Hirsute Hippo)

Package: g++-mingw-w64
Architecture: all
Version: 10.3.0-1ubuntu1+24.1build1
Built-Using: gcc-10 (= 10.3.0-1ubuntu1)
Priority: extra
Section: universe/devel
Source: gcc-mingw-w64 (24.1build1)
Origin: Ubuntu
Maintainer: Stephen Kitt
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 252
Depends: g++-mingw-w64-i686, g++-mingw-w64-x86-64
Filename: pool/universe/g/gcc-mingw-w64/g++-mingw-w64_10.3.0-1ubuntu1+24.1build1_all.deb
Size: 185636
MD5sum: bf1d2b0809a03cb116181fc121906340
SHA1: b71a4b1b40f47af17e0ab17ed348e19d9e37bb20
SHA256: 411b7ead4806a3626983b925c14fdbaa7e52da306bba6c07db078a1b3ee4edd5
SHA512: edd24f89d70055fa63f7a863eec64d7860f4d1b7c546d84f3582d61bfe08932a0f910b02dc05d152a614ef817e315d744f53076fdb0e30d9763003d8d440c7aa
Homepage: https://www.gnu.org/software/gcc/
Description-en: GNU C++ compiler for MinGW-w64
MinGW-w64 provides a development and runtime environment for 32- and
64-bit (x86 and x64) Windows applications using the Windows API and
the GNU Compiler Collection (gcc).
.
This metapackage provides the C++ compiler, supporting
cross-compiling to 32- and 64-bit MinGW-w64 targets.
Description-md5: be80ce4b74c17089adf52fd4e6f4d519