Automic VaultAutomic Vault

brew

Install cgdb with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Curses-based interface to the GNU Debugger. Version 0.8.0 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install cgdb

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install cgdb

MacPorts ports tree · devel/cgdb/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add cgdb

Alpine Linux edge package indexes · cgdb · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install cgdb

Debian stable package indexes · cgdb · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install cgdb

Fedora Rawhide package metadata · cgdb · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#cgdb

nixpkgs package indexes · pkgs/by-name/cg/cgdb/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S cgdb

Arch Linux sync databases · cgdb · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install cgdb

openSUSE Tumbleweed package metadata · cgdb · source: download.opensuse.org

overview

Package summary

Curses-based interface to the GNU Debugger

Commands and aliases

  • cgdb

history

Project history and usage

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

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: red

escape, surveillance, or offensive capability signal.

Risk classifier

red risk · medium confidence · escape-surveillance-offensive

Why

  • escape, surveillance, or offensive capability signal

Signals

  • text:debugger

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 13 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

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

Config paths the tool may read or write during local use.

Unix
$CGDB_DIR/cgdbrc~/.cgdb/cgdbrc

executables

Installed executables

CommandKindExposureNote
cgdbcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.8.0
manager updated2026-06-22
local dataok
upstreamnot checked
latest detectednot detected

https://cgdb.github.io/

install metadata

Package metadata

Package keybrew:cgdb
Version0.8.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/cgdb
Homepagehttps://cgdb.github.io/
Repositoryhttps://github.com/cgdb/cgdb
Upstream docshttps://cgdb.github.io/docs/cgdb.html
LicenseGPL-2.0-or-later
Source archivehttps://cgdb.me/files/cgdb-0.8.0.tar.gz
Last updated2026-06-22T14:03:00-07:00
Pulseupdated
Dependenciesreadline
Build dependencieshelp2man, texinfo
Uses from macOSncurses
Bottleavailable (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecgdb
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

cgdb 0.8.0-3

curses-based interface to the GNU Debugger (GDB)

https://cgdb.github.io/

sudo apt install cgdb
  • Section: devel
  • Architecture: amd64
  • 7 dependencies
  • normalized package name match
  • Matched by: Cgdb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cgdb from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

cgdb

nix profile install nixpkgs#cgdb
  • normalized package name match
  • Matched by: Cgdb
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cg/cgdb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

cgdb 0.8.0-2build2

curses-based interface to the GNU Debugger (GDB)

https://cgdb.github.io/

sudo apt install cgdb
  • Section: universe/devel
  • Architecture: amd64
  • 7 dependencies
  • normalized package name match
  • Matched by: Cgdb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cgdb from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

cgdb 0.8.0-r4

The Curses Debugger

https://cgdb.github.io/

sudo apk add cgdb
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: cgdb
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Cgdb
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cgdb from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

cgdb-doc 0.8.0-r4

The Curses Debugger (documentation)

https://cgdb.github.io/

sudo apk add cgdb-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: cgdb
  • normalized package name match
  • Matched by: Cgdb
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cgdb-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

cgdb 0.8.0-16.fc44

CGDB is a curses-based interface to the GNU Debugger (GDB)

https://cgdb.github.io/

sudo dnf install cgdb
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: cgdb
  • 8 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Cgdb
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: cgdb from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

cgdb 0.8.0-2

Curses-based interface to the GNU Debugger

http://cgdb.github.io/

sudo pacman -S cgdb
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • 3 dependencies
  • normalized package name match
  • Matched by: Cgdb
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: cgdb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

cgdb 0.8.0-2.6

Curses debugger

https://cgdb.github.io/

sudo zypper install cgdb
  • License: GPL-2.0-or-later
  • Category: Development/Tools/Debuggers
  • Architecture: x86_64
  • Source Package: cgdb
  • 8 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Cgdb
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: cgdb from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

cgdb

sudo port install cgdb
  • normalized package name match
  • Matched by: Cgdb
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/cgdb/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment