How to Install and Uninstall gdbserver Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: November 05,2024

1. Install "gdbserver" package

Please follow the steps below to install gdbserver on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install gdbserver

2. Uninstall "gdbserver" package

Please follow the guidance below to uninstall gdbserver on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove gdbserver $ sudo apt autoclean && sudo apt autoremove

3. Information about the gdbserver package on Ubuntu 21.04 (Hirsute Hippo)

Package: gdbserver
Architecture: amd64
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: 877
Depends: libc6 (>= 2.33), libgcc-s1 (>= 3.0), libstdc++6 (>= 5.2)
Replaces: gdb (<< 7.0.1-1)
Filename: pool/universe/g/gdb/gdbserver_10.1-2ubuntu2_amd64.deb
Size: 232320
MD5sum: 330860db77efd87795d93097abbb57ce
SHA1: f8538b044cf7cc757b9227a0fd2013705ac9b937
SHA256: 19ac8c9363dc6c3aa62ced3e4a5c1ccaea3036f04418c5ed09b024b0ac729f48
SHA512: 261b07f9af91869cf80107f9b4c03a4755b31d2dff258a1527f597ed3fa7b672d259a4bec2ef68d4af4d70dce472a9f810790fc89145b026cc464fcbb21a4716
Homepage: https://www.gnu.org/s/gdb/
Description-en: GNU Debugger (remote server)
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 gdbserver. Install this to debug remotely
from another system where GDB is installed.
Description-md5: 883ab8a4c88e4e7893ca5e20099104e3