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

Last updated: November 26,2024

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

Please follow the step by step instructions below to install g++-mingw-w64-x86-64 on Ubuntu 20.04 LTS (Focal Fossa)

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

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

Please follow the guidelines below to uninstall g++-mingw-w64-x86-64 on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: g++-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: 155993
Depends: gcc-mingw-w64-x86-64 (= 9.3.0-7ubuntu1+22~exp1ubuntu4), gcc-mingw-w64-base (= 9.3.0-7ubuntu1+22~exp1ubuntu4), libc6 (>= 2.14), libgcc-s1 (>= 4.2), libgmp10, libisl22 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), libstdc++6 (>= 5), zlib1g (>= 1:1.1.4)
Suggests: gcc-9-locales (>= 9.3.0)
Breaks: gcc-mingw-w64 (<< 4.6.3-1ubuntu5+5ubuntu1)
Replaces: gcc-mingw-w64 (<< 4.6.3-1ubuntu5+5ubuntu1)
Filename: pool/universe/g/gcc-mingw-w64/g++-mingw-w64-x86-64_9.3.0-7ubuntu1+22~exp1ubuntu4_amd64.deb
Size: 29113724
MD5sum: e0968e91aba0ae31205d75534b670378
SHA1: 2ed025425d2941031d9d73278cc442ba04c0fdb4
SHA256: 1e88adf5322849023200f139568189f9a00c3888285329a021e5f93bc0dafeba
Homepage: https://www.gnu.org/software/gcc/
Description: GNU C++ compiler for MinGW-w64 targeting Win64
Description-md5: b62105f997aea79d5d50938d6865911c