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

Last updated: September 20,2024

1. Install "gdb-source" package

Please follow the guidance below to install gdb-source on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install gdb-source

2. Uninstall "gdb-source" package

This tutorial shows how to uninstall gdb-source on Ubuntu 21.04 (Hirsute Hippo):

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

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

Package: gdb-source
Architecture: all
Version: 10.1-2ubuntu2
Priority: optional
Section: universe/devel
Source: gdb
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Héctor Orón Martínez
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 30663
Filename: pool/universe/g/gdb/gdb-source_10.1-2ubuntu2_all.deb
Size: 31351148
MD5sum: a8a5f6544e640fb87ed29527c33794fc
SHA1: d9240cb6dbdefb657e8b042189a90f62d9987208
SHA256: 42ee7650103bb0a737215c5a3ae581f9d86a35916ccb734ea19af4655ec6273d
SHA512: 4f346df02996c20eccac9e965969d324899f1c0d712a2bbe375be2259700067b06eff5cd9164f3c34228d9344741027d60f06bfbc2ab094d16abb16beaa54cd7
Homepage: https://www.gnu.org/s/gdb/
Description-en: GNU Debugger (source)
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.
.
This package contains the sources and patches which are needed
to build GDB.
Description-md5: f6e1298a18996d699ccfb824f5342e59