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

Last updated: May 16,2024

1. Install "gdb-bpf" package

This guide let you learn how to install gdb-bpf on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install gdb-bpf

2. Uninstall "gdb-bpf" package

Please follow the guidance below to uninstall gdb-bpf on Ubuntu 21.04 (Hirsute Hippo):

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

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

Package: gdb-bpf
Architecture: amd64
Version: 10.1-2ubuntu1+4
Built-Using: gdb (= 10.1-2ubuntu1)
Priority: optional
Section: universe/devel
Source: gdb-bpf (4)
Origin: Ubuntu
Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 8457
Depends: gdb (>= 10.1), libbabeltrace1 (>= 1.5.4), libc6 (>= 2.33), libexpat1 (>= 2.0.1), libgcc-s1 (>= 3.4), libipt2 (>= 2.0), liblzma5 (>= 5.1.1alpha+20110809), libmpfr6 (>= 3.1.3), libncursesw6 (>= 6), libpython3.9 (>= 3.9.1), libreadline8 (>= 8), libstdc++6 (>= 7), libtinfo6 (>= 6), zlib1g (>= 1:1.2.0)
Suggests: gdb-doc
Filename: pool/universe/g/gdb-bpf/gdb-bpf_10.1-2ubuntu1+4_amd64.deb
Size: 2691180
MD5sum: 2d05019383b26466562a85688cee6dd4
SHA1: 364a429383adfc047e75842378c8de49b34f6626
SHA256: 67fbef44a6bab1aad06b1eff0c17f653f141a8dcbd236644b018969a8e16b97b
SHA512: 5b5b7f1232bce900077ac70a0e42fac80e13f26c47ca35c877a9fa56126968922c908073a973631837b644a2042aefdeecd215a40c7dfdf6d90a91230c617f43
Homepage: https://www.gnu.org/software/gdb/
Description-en: Cross-debugger for the bpf target
This package has been compiled to target the bpf architecture.
GDB is a source-level debugger, capable of breaking programs at
any specific line, displaying variable values, and determining
where errors occurred.
.
This package is primarily for avr developers and cross-compilers and
is not needed by normal users or developers.
Description-md5: 9edc251a09769a0c772fe24a73a16570