# cgdb mit Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für cgdb in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:cgdb
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install cgdb
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cgdb
```

  Evidenz: MacPorts ports tree: devel/cgdb/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add cgdb
```

  Evidenz: Alpine Linux edge package indexes: cgdb from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install cgdb
```

  Evidenz: Debian stable package indexes: cgdb from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install cgdb
```

  Evidenz: Fedora Rawhide package metadata: cgdb from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#cgdb
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/cg/cgdb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S cgdb
```

  Evidenz: Arch Linux sync databases: cgdb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install cgdb
```

  Evidenz: openSUSE Tumbleweed package metadata: cgdb from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Paketfakten

- **Paketschlüssel:** brew:cgdb
- **Paketmanager:** Homebrew
- **Version:** 0.8.0
- **Quellzusammenfassung:** Curses-based interface to the GNU Debugger
- **Homepage:** <https://cgdb.github.io/>
- **Repository:** <https://github.com/cgdb/cgdb>
- **Zuletzt aktualisiert:** 2026-06-22T14:03:00-07:00
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- cgdb (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 0.8.0
## Projektgeschichte und Nutzung

CGDB is a lightweight curses-based front end to GDB with a split source/GDB terminal interface modeled after vi.

### Projektgeschichte

CGDB grew as a terminal debugger interface focused on keeping the familiar GDB prompt while adding a source window, syntax highlighting, breakpoints, and vi-like navigation. The manual identifies CGDB 0.8.0 as the GNU ncurses based front end to GDB.

### Adoptionsgeschichte

The project ships official source releases and is packaged broadly in Unix package managers. Its NEWS file shows long-running portability work across Unix variants, macOS, Cygwin, and newer GDB releases.

### Wie es verwendet wird

Users launch cgdb as a GDB front end, pass commands through the GDB window, navigate source in CGDB mode, and configure behavior through cgdbrc files under CGDB_DIR or ~/.cgdb.

### Warum Paket-Nerds sich dafür interessieren

CGDB is a classic terminal-packaging example: small, curses-based, tied to readline/ncurses/GDB behavior, and useful for developers who want source-level debugging without a graphical IDE.

### Zeitleiste

- 2003: NEWS records cgdb-0.4.0.
- 2006: cgdb-0.6.0 added a new manual and tab completion support.
- 2017: cgdb-0.7.0 added vertical/horizontal splitting, assembly support, and Rust syntax highlighting.
- 2022: cgdb-0.8.0 moved to GDB/MI and implemented a virtual terminal in the GDB window.

### Related projects

- CGDB is built around GNU GDB and includes gdbwire for communicating with GDB.

### Quellen

- <https://api.github.com/repos/cgdb/cgdb>
- <https://github.com/cgdb/cgdb>
- <https://cgdb.github.io/>
- <https://cgdb.github.io/docs/cgdb.html>
- <https://cgdb.github.io/docs/cgdb.pdf>
- <https://formulae.brew.sh/api/formula/cgdb.json>
- <https://github.com/cgdb/cgdb/blob/master/NEWS>
- <https://github.com/cgdb/cgdb/blob/master/README.md>


## Sicherheitshinweise

escape, surveillance, or offensive capability signal.

- **Geiger-Risiko:** red / mittel
- escape, surveillance, or offensive capability signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: $CGDB_DIR/cgdbrc, ~/.cgdb/cgdbrc
## Andere Paketmanager-Einträge

- Debian apt - cgdb - 0.8.0-3: normalized package name match | Debian stable package indexes: cgdb from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | curses-based interface to the GNU Debugger (GDB) | https://cgdb.github.io/
- Nix - cgdb: normalized package name match | nixpkgs package indexes: pkgs/by-name/cg/cgdb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - cgdb - 0.8.0-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: cgdb from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | curses-based interface to the GNU Debugger (GDB) | https://cgdb.github.io/
- apk - cgdb - 0.8.0-r4: normalized package name match | Alpine Linux edge package indexes: cgdb from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The Curses Debugger | https://cgdb.github.io/
- apk - cgdb-doc - 0.8.0-r4: normalized package name match | Alpine Linux edge package indexes: cgdb-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The Curses Debugger (documentation) | https://cgdb.github.io/
- dnf - cgdb - 0.8.0-17.fc45: normalized package name match | Fedora Rawhide package metadata: cgdb from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | CGDB is a curses-based interface to the GNU Debugger (GDB) | https://cgdb.github.io/
- pacman - cgdb - 0.8.0-2: normalized package name match | Arch Linux sync databases: cgdb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Curses-based interface to the GNU Debugger | http://cgdb.github.io/
- zypper - cgdb - 0.8.0-2.8: normalized package name match | openSUSE Tumbleweed package metadata: cgdb from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Curses debugger | https://cgdb.github.io/
- MacPorts - cgdb: normalized package name match | MacPorts ports tree: devel/cgdb/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/cgdb.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cgdb.yml)


## Quellen

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
