Install latest/stable of gdb-static

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.


Install using the command line

sudo snap install gdb-static

Don't have snapd? Get set up for snaps.

Channel Version Published

Details for gdb-static

Package name

  • gdb-static

License

  • GPL-3.0-or-later

Last updated

  • 11 July 2026 - latest/stable
  • 11 July 2026 - latest/edge

Websites


Source code


Report a bug


Report a Snap Store violation

Share this snap

Generate an embeddable card to be shared on external websites.

gdb and server as a static binary

gdb & gdbserver, the go-to debugging tools for GNU/Linux and *BSD systems. This provides a minimalized and static build for all supported systems.

Note: To use this debugger, please start it outside of confinement, ie execute it directly:

/snap/gdb-static/current/usr/bin/gdb

/snap/gdb-static/current/usr/bin/gdbserver

You can also add them to your PATH for easy access:

export PATH="$PATH:/snap/gdb-static/current/usr/bin"


Install gdb-static on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.


Where people are using gdb-static