---
title: Install gdb-static on Linux | Snap Store
description: Get the latest version of gdb-static for Linux - gdb and gdbserver as
  static binaries
url: https://snapcraft.io/gdb-static
---

# gdb-static

[Alfred E. Neumayer (fredldotme)](https://snapcraft.io/publisher/fredldotme "View all snaps from Alfred E. Neumayer (fredldotme)")

* [Alfred E. Neumayer (fredldotme)](https://snapcraft.io/publisher/fredldotme "View all snaps from Alfred E. Neumayer (fredldotme)")
* [Development](https://snapcraft.io/search?categories=development)

latest/stable 17.1

Install latest/stable of gdb-static

---

**Install using the command line**

```
sudo snap install gdb-static
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

### Package name

* gdb-static

---

### License

* GPL-3.0-or-later

---

### Last updated

* 22 September 2026 - latest/stable
* 11 July 2026 - latest/edge

---

### Websites

* [sourceware.org](https://sourceware.org/gdb/current/ "https://sourceware.org/gdb/current/")

---

### Source code

* [github.com/fredldotme/binutils-gdb-static](https://github.com/fredldotme/binutils-gdb-static "https://github.com/fredldotme/binutils-gdb-static")

---

### Report a bug

* [github.com/fredldotme/gdb-static-snap/issues](https://github.com/fredldotme/gdb-static-snap/issues "https://github.com/fredldotme/gdb-static-snap/issues")

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/gdb-static#report-snap-modal)

---

* [Description](https://snapcraft.io/gdb-static#tab-description)
* [Security](https://snapcraft.io/gdb-static#tab-security)

#### gdb and gdbserver as static binaries

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`

Or:

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

Or add them to your `PATH` for easy access:

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

---

## 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](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/gdb-static/arch)

[### CentOS](https://snapcraft.io/install/gdb-static/centos)

[### Debian](https://snapcraft.io/install/gdb-static/debian)

[### elementary OS](https://snapcraft.io/install/gdb-static/elementary)

[### Fedora](https://snapcraft.io/install/gdb-static/fedora)

[### KDE Neon](https://snapcraft.io/install/gdb-static/kde-neon)

[### Kubuntu](https://snapcraft.io/install/gdb-static/kubuntu)

[### Manjaro](https://snapcraft.io/install/gdb-static/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/gdb-static/pop)

[### openSUSE](https://snapcraft.io/install/gdb-static/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/gdb-static/rhel)

[### Ubuntu](https://snapcraft.io/install/gdb-static/ubuntu)

[### Raspberry Pi](https://snapcraft.io/install/gdb-static/raspbian)
