How to Install and Uninstall gdb Package on Debian 11 (Bullseye)

Last updated: November 26,2024

1. Install "gdb" package

Learn how to install gdb on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install gdb

2. Uninstall "gdb" package

Please follow the steps below to uninstall gdb on Debian 11 (Bullseye):

$ sudo apt remove gdb $ sudo apt autoclean && sudo apt autoremove

3. Information about the gdb package on Debian 11 (Bullseye)

Package: gdb
Version: 10.1-1.7
Installed-Size: 9789
Maintainer: Héctor Orón Martínez
Architecture: amd64
Replaces: gdb
Depends: libbabeltrace1 (>= 1.5.4), libc6 (>= 2.29), libdebuginfod1 (>= 0.180), 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), libsource-highlight4v5 (>= 3.1.9), libstdc++6 (>= 7), libtinfo6 (>= 6), libxxhash0 (>= 0.6.5), zlib1g (>= 1:1.2.0)
Recommends: libc-dbg
Suggests: gdb-doc, gdbserver
Conflicts: gdb
Description: GNU Debugger
Description-md5: 4f2b8eb95df2ba7a5b11e0301c48b8e4
Homepage: https://www.gnu.org/s/gdb/
Tag: devel::debugger, devel::lang:c, devel::lang:c++, devel::lang:fortran,
devel::lang:java, devel::library, implemented-in::c,
implemented-in::java, interface::commandline, interface::text-mode,
role::devel-lib, role::program, scope::utility, suite::gnu,
uitoolkit::ncurses, works-with::software:running
Section: devel
Priority: optional
Filename: pool/main/g/gdb/gdb_10.1-1.7_amd64.deb
Size: 3395040
MD5sum: c5962116e5cad953156bb7ece7d2397c
SHA256: dbd398f477650025726f80b25c1bd6b94728fa10b8fa9ad54541b57349ef46b2