How to Install and Uninstall gcc-mingw-w64-x86-64 Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 16,2024

1. Install "gcc-mingw-w64-x86-64" package

Please follow the guidance below to install gcc-mingw-w64-x86-64 on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "gcc-mingw-w64-x86-64" package

This guide covers the steps necessary to uninstall gcc-mingw-w64-x86-64 on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the gcc-mingw-w64-x86-64 package on Ubuntu 20.04 LTS (Focal Fossa)

Package: gcc-mingw-w64-x86-64
Architecture: amd64
Version: 9.3.0-7ubuntu1+22~exp1ubuntu4
Built-Using: gcc-9 (= 9.3.0-7ubuntu1)
Priority: extra
Section: universe/devel
Source: gcc-mingw-w64 (22~exp1ubuntu4)
Origin: Ubuntu
Maintainer: Stephen Kitt
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 153139
Depends: binutils-mingw-w64-x86-64 (>= 2.30~), mingw-w64-x86-64-dev, gcc-mingw-w64-base (= 9.3.0-7ubuntu1+22~exp1ubuntu4), libc6 (>= 2.15), libgcc-s1 (>= 4.2), libgmp10, libisl22 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), libstdc++6 (>= 5.2), zlib1g (>= 1:1.1.4)
Suggests: gcc-9-locales (>= 9.3.0)
Conflicts: gcc-mingw-w64-bootstrap
Breaks: gcc-mingw-w64 (<< 4.6.3-1ubuntu5+5ubuntu1)
Replaces: gcc-mingw-w64 (<< 4.6.3-1ubuntu5+5ubuntu1), gcc-mingw-w64-bootstrap
Filename: pool/universe/g/gcc-mingw-w64/gcc-mingw-w64-x86-64_9.3.0-7ubuntu1+22~exp1ubuntu4_amd64.deb
Size: 36996820
MD5sum: 3e9e1d43cfb5c893c025af8477024ba9
SHA1: dc76719874b54cc827a1ed47c2fe0a30016d2438
SHA256: 2ead4dc0732b85bcdc7fe90f75b4a25a00803f9c733af936cdaa88b8f2687d19
Homepage: https://www.gnu.org/software/gcc/
Description: GNU C compiler for MinGW-w64 targeting Win64
Description-md5: 5c2bba92c98e959d558a7f9930287499