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

Last updated: December 22,2024

1. Install "gcc-mingw-w64" package

Learn how to install gcc-mingw-w64 on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install gcc-mingw-w64

2. Uninstall "gcc-mingw-w64" package

This tutorial shows how to uninstall gcc-mingw-w64 on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove gcc-mingw-w64 $ sudo apt autoclean && sudo apt autoremove

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

Package: gcc-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: gcc-mingw-w64-i686, gcc-mingw-w64-x86-64
Filename: pool/universe/g/gcc-mingw-w64/gcc-mingw-w64_10.3.0-1ubuntu1+24.1build1_all.deb
Size: 185656
MD5sum: 8b3e9e3f12565618df76bda08a1b5048
SHA1: 2af90d47733df239fd1f749aff1aace88046edb2
SHA256: 02a43170a339da23fb8c346cf8df295ecc1ad99639e4bba9375507bcebe85397
SHA512: fdb2b65afceed154ccf77156f8e9ae2269ddf40378708f78850fcf8d9ca84dba7758bc1dcdaad532dfd1420366da34bd6f11bf7650a47a5c713865645d775c99
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: 186a2a61eb56afd112def7e23ba6c0ba