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

Last updated: May 15,2024

1. Install "gdb-mingw-w64" package

This is a short guide on how to install gdb-mingw-w64 on Ubuntu 21.04 (Hirsute Hippo)

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

2. Uninstall "gdb-mingw-w64" package

Learn how to uninstall gdb-mingw-w64 on Ubuntu 21.04 (Hirsute Hippo):

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

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

Package: gdb-mingw-w64
Architecture: amd64
Version: 10.1-0ubuntu2+11
Built-Using: gdb (= 10.1-0ubuntu2)
Priority: extra
Section: universe/devel
Source: gdb-mingw-w64 (11)
Origin: Ubuntu
Maintainer: Stephen Kitt
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 16340
Depends: gdb (>= 10.1), libbabeltrace1 (>= 1.5.4), libc6 (>= 2.32), libexpat1 (>= 2.0.1), libgcc-s1 (>= 3.4), libipt2 (>= 2.0), liblzma5 (>= 5.1.1alpha+20110809), libmpfr6 (>= 3.1.3), libncursesw6 (>= 6), libpython3.9 (>= 3.9.0~b4), libreadline8 (>= 8), libstdc++6 (>= 7), libtinfo6 (>= 6), zlib1g (>= 1:1.2.0)
Recommends: gdb-mingw-w64-target
Suggests: gdb-doc
Filename: pool/universe/g/gdb-mingw-w64/gdb-mingw-w64_10.1-0ubuntu2+11_amd64.deb
Size: 3431556
MD5sum: ac96da8e15f4aeda77c914049760a9b6
SHA1: 692e920fd9d18010b6ef30a5608d0121af45a82c
SHA256: 760a3aa6698052f471cea2405be65b2a1e5ccd138130bdc21e184bec018b0000
SHA512: e987c1279ebc29d98fd27c3ea70c11aeef073e419bbb7a177ff4cabe35c3dd08d6d27ff8d295682e970c3b62975a65bc542205ac40071e4fb946399a359a8679
Homepage: https://www.gnu.org/software/gdb/
Description-en: Cross-debugger for Win32 and Win64 using MinGW-w64
MinGW-w64 provides a development and runtime environment for 32- and
64-bit Windows applications using the GNU Compiler Collection (gcc).
.
This package contains the gdb debugger which can be used with a
Windows-hosted gdbserver to debug programs running on Windows hosts.
.
The gdb-mingw-w64-target package contains gdbserver and gdbreplay for
32- and 64-bit Windows.
.
The non-free gdb-doc package contains the manual pages for gdb.
Description-md5: 6a3066f4bdac9f68da5abaa309ac29cd