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

Last updated: May 05,2024

1. Install "gcc-mingw-w64" package

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

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

2. Uninstall "gcc-mingw-w64" package

Please follow the step by step instructions below to uninstall gcc-mingw-w64 on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: gcc-mingw-w64
Architecture: all
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: 206
Depends: gcc-mingw-w64-i686, gcc-mingw-w64-x86-64
Filename: pool/universe/g/gcc-mingw-w64/gcc-mingw-w64_9.3.0-7ubuntu1+22~exp1ubuntu4_all.deb
Size: 178100
MD5sum: ea107e6b8c5ef0e3751b517fc830379f
SHA1: b817ee83186eed0d8171f7ef39b7e87b229ff870
SHA256: 26c7e4506030fcefd0b8c526e545dd40604166224e815f0523d87f7ca230eb6f
Homepage: https://www.gnu.org/software/gcc/
Description: GNU C compiler for MinGW-w64
Description-md5: 186a2a61eb56afd112def7e23ba6c0ba