How to Install and Uninstall gdb Package on Ubuntu 21.10 (Impish Indri)
Last updated: December 25,2024
1. Install "gdb" package
In this section, we are going to explain the necessary steps to install gdb on Ubuntu 21.10 (Impish Indri)
$
sudo apt update
Copied
$
sudo apt install
gdb
Copied
2. Uninstall "gdb" package
Please follow the guidelines below to uninstall gdb on Ubuntu 21.10 (Impish Indri):
$
sudo apt remove
gdb
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the gdb package on Ubuntu 21.10 (Impish Indri)
Package: gdb
Architecture: amd64
Version: 11.1-0ubuntu2
Priority: optional
Section: devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Héctor Orón Martínez
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 11029
Provides: gdb-minimal (= 11.1-0ubuntu2)
Depends: libbabeltrace1 (>= 1.5.4), libc6 (>= 2.34), libdebuginfod1 (>= 0.180), libexpat1 (>= 2.0.1), libgcc-s1 (>= 3.4), libgmp10, libipt2 (>= 2.0), liblzma5 (>= 5.1.1alpha+20110809), libmpfr6 (>= 3.1.3), libncursesw6 (>= 6), libpython3.9 (>= 3.9.1), libreadline8 (>= 8), libsource-highlight4v5 (>= 3.1.9), libstdc++6 (>= 11), libtinfo6 (>= 6), libxxhash0 (>= 0.6.5), zlib1g (>= 1:1.2.0)
Recommends: libc-dbg
Suggests: gdb-doc, gdbserver
Conflicts: gdb
Replaces: gdb
Filename: pool/main/g/gdb/gdb_11.1-0ubuntu2_amd64.deb
Size: 3812360
MD5sum: f4c52050432238d3124a474ae9cc8cf2
SHA1: bbef8521bbdf45eef5d7f53617745932e8844aa7
SHA256: fe934a0d4e8d377a8ad113a2801c392d8d3fd8484bd8986b8c9bd32dc0bf8bc6
SHA512: 3806566d2ad1e2bd5347a5d5e1faca3de0db28009ab5e9410eb285d064f60ec666a4b39d37e5716850e53fccb39ed1aefcf53adc1a951e0c4d7cf8f643c8f5cb
Homepage: https://www.gnu.org/s/gdb/
Description-en: GNU Debugger
GDB is a source-level debugger, capable of breaking programs at
any specific line, displaying variable values, and determining
where errors occurred. Currently, gdb supports C, C++, D,
Objective-C, Fortran, Java, OpenCL C, Pascal, assembly, Modula-2,
Go, and Ada. A must-have for any serious programmer.
Description-md5: 4f2b8eb95df2ba7a5b11e0301c48b8e4
Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop, ubuntu-budgie-desktop-raspi
Architecture: amd64
Version: 11.1-0ubuntu2
Priority: optional
Section: devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Héctor Orón Martínez
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 11029
Provides: gdb-minimal (= 11.1-0ubuntu2)
Depends: libbabeltrace1 (>= 1.5.4), libc6 (>= 2.34), libdebuginfod1 (>= 0.180), libexpat1 (>= 2.0.1), libgcc-s1 (>= 3.4), libgmp10, libipt2 (>= 2.0), liblzma5 (>= 5.1.1alpha+20110809), libmpfr6 (>= 3.1.3), libncursesw6 (>= 6), libpython3.9 (>= 3.9.1), libreadline8 (>= 8), libsource-highlight4v5 (>= 3.1.9), libstdc++6 (>= 11), libtinfo6 (>= 6), libxxhash0 (>= 0.6.5), zlib1g (>= 1:1.2.0)
Recommends: libc-dbg
Suggests: gdb-doc, gdbserver
Conflicts: gdb
Replaces: gdb
Filename: pool/main/g/gdb/gdb_11.1-0ubuntu2_amd64.deb
Size: 3812360
MD5sum: f4c52050432238d3124a474ae9cc8cf2
SHA1: bbef8521bbdf45eef5d7f53617745932e8844aa7
SHA256: fe934a0d4e8d377a8ad113a2801c392d8d3fd8484bd8986b8c9bd32dc0bf8bc6
SHA512: 3806566d2ad1e2bd5347a5d5e1faca3de0db28009ab5e9410eb285d064f60ec666a4b39d37e5716850e53fccb39ed1aefcf53adc1a951e0c4d7cf8f643c8f5cb
Homepage: https://www.gnu.org/s/gdb/
Description-en: GNU Debugger
GDB is a source-level debugger, capable of breaking programs at
any specific line, displaying variable values, and determining
where errors occurred. Currently, gdb supports C, C++, D,
Objective-C, Fortran, Java, OpenCL C, Pascal, assembly, Modula-2,
Go, and Ada. A must-have for any serious programmer.
Description-md5: 4f2b8eb95df2ba7a5b11e0301c48b8e4
Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop, ubuntu-budgie-desktop-raspi