How to Install and Uninstall gdb Package on Debian 10 (Buster)

Last updated: November 07,2024

1. Install "gdb" package

Please follow the guidance below to install gdb on Debian 10 (Buster)

$ sudo apt update $ sudo apt install gdb

2. Uninstall "gdb" package

Please follow the guidance below to uninstall gdb on Debian 10 (Buster):

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

3. Information about the gdb package on Debian 10 (Buster)

Package: gdb
Source: gdb (8.2.1-2)
Version: 8.2.1-2+b3
Installed-Size: 8989
Maintainer: Héctor Orón Martínez
Architecture: amd64
Replaces: gdb
Depends: libbabeltrace1 (>= 1.5.4), libc6 (>= 2.17), libexpat1 (>= 2.0.1), libipt2 (>= 2.0), liblzma5 (>= 5.1.1alpha+20110809), libncursesw6 (>= 6), libpython3.7 (>= 3.7.0), libreadline7 (>= 6.0), libtinfo6 (>= 6), zlib1g (>= 1:1.2.0)
Recommends: libc-dbg
Suggests: gdb-doc, gdbserver
Conflicts: gdb
Description: GNU Debugger
Description-md5: 4f2b8eb95df2ba7a5b11e0301c48b8e4
Homepage: http://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_8.2.1-2+b3_amd64.deb
Size: 3132652
MD5sum: a20e3aae82663b6922085cf289f57ce4
SHA256: 5eb5332f40abe6d27be16105f4a9519cbc96d8790c06ab4e05105088fedf57f8