How to Install and Uninstall gdb Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 26,2024

1. Install "gdb" package

Please follow the step by step instructions below to install gdb on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install gdb

2. Uninstall "gdb" package

In this section, we are going to explain the necessary steps to uninstall gdb on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the gdb package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: gdb
Architecture: amd64
Version: 7.11.1-0ubuntu1~16.5
Multi-Arch: allowed
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: 7316
Depends: libbabeltrace-ctf1 (>= 1.2.1), libbabeltrace1 (>= 1.2.1), libc6 (>= 2.15), libexpat1 (>= 2.0.1), liblzma5 (>= 5.1.1alpha+20110809), libncurses5 (>= 6), libpython3.5 (>= 3.5.0~b1), libreadline6 (>= 6.0), libtinfo5 (>= 6), zlib1g (>= 1:1.2.0)
Recommends: libc-dbg, libcc1-0, gdbserver
Suggests: gdb-doc
Conflicts: gdb
Replaces: gdb, gdb-doc (<< 7.8-1~)
Filename: pool/main/g/gdb/gdb_7.11.1-0ubuntu1~16.5_amd64.deb
Size: 2526272
MD5sum: c7e643b81b9a27c8606f21445ffdbcd3
SHA1: d7934e5e69669313af720566afefa65cb541bced
SHA256: c5c6c91dfed2cc879e294973ec5a522d39bb85628260f330bcd0fab56eb93715
SHA512: e2723583502d99fe436e54c052d5421d84e0c45e2ec506816e6f219f7485668c434a0a3c8868bbe180a65f4086a6c8e508883ff92d87bb1755031d52f40a6ba0
Homepage: http://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, ubuntu-usb, kubuntu-desktop, kubuntu-full, edubuntu-desktop, edubuntu-usb, xubuntu-desktop, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-master, mythbuntu-backend-master, ubuntustudio-desktop, ubuntu-gnome-desktop, ubuntu-touch-core, ubuntu-touch, ubuntu-sdk, ubuntukylin-desktop, ubuntu-mate-desktop
Supported: 5y

Package: gdb
Priority: optional
Section: devel
Installed-Size: 7310
Maintainer: Ubuntu Developers
Original-Maintainer: Héctor Orón Martínez
Architecture: amd64
Version: 7.11-0ubuntu1
Replaces: gdb, gdb-doc (<< 7.8-1~)
Depends: libbabeltrace-ctf1 (>= 1.2.1), libbabeltrace1 (>= 1.2.1), libc6 (>= 2.15), libexpat1 (>= 2.0.1), liblzma5 (>= 5.1.1alpha+20110809), libncurses5 (>= 6), libpython3.5 (>= 3.5.0~b1), libreadline6 (>= 6.0), libtinfo5 (>= 6), zlib1g (>= 1:1.2.0)
Recommends: libc-dbg, libcc1-0, gdbserver
Suggests: gdb-doc
Conflicts: gdb
Filename: pool/main/g/gdb/gdb_7.11-0ubuntu1_amd64.deb
Size: 2524710
MD5sum: e98206a0c477d7463012fd08f14c9d16
SHA1: 99f09cfa44174f650a0b4e350155e37a6aa7516e
SHA256: e82224e941c1e02e054a16c3a2c9ad5bd2543459a0d1f50d598457972e759325
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
Multi-Arch: allowed
Homepage: http://www.gnu.org/s/gdb/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: ubuntu-desktop, ubuntu-usb, kubuntu-desktop, kubuntu-full, edubuntu-desktop, edubuntu-usb, xubuntu-desktop, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-master, mythbuntu-backend-master, ubuntustudio-desktop, ubuntu-gnome-desktop, ubuntu-touch-core, ubuntu-touch, ubuntu-sdk, ubuntukylin-desktop, ubuntu-mate-desktop