Automic VaultAutomic Vault

brew

Install open-ocd with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, scoop, zypper

On-chip debugging, in-system programming and boundary-scan testing. Version 0.12.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install open-ocd

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install openocd

MacPorts ports tree · cross/openocd/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add openocd

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

Debian aptverified · 92%
sudo apt install openocd

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

Fedora dnfverified · 92%
sudo dnf install openocd

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

Nixverified · 92%
nix profile install nixpkgs#openocd

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

Arch Linux pacmanverified · 92%
sudo pacman -S openocd

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

openSUSE zypperverified · 92%
sudo zypper install openocd

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

Windows

Scoopverified · 92%
scoop install main/openocd

Scoop official bucket manifest trees · bucket/openocd.json · source: api.github.com

overview

Package summary

On-chip debugging, in-system programming and boundary-scan testing

Commands and aliases

  • openocd

history

Project history and usage

OpenOCD, the Open On-Chip Debugger, is a command-line server and toolset for embedded debugging, in-system flash programming, and boundary-scan work. It sits between host debuggers such as GDB and hardware debug adapters that speak transports such as JTAG or SWD.

Project history

OpenOCD was created by Dominic Rath as part of a 2005 diploma thesis at the University of Applied Sciences Augsburg. Its documentation describes the project as having grown from that thesis into an open-source project supported by software and hardware developers around the world.

The project's scope expanded from JTAG-centered on-chip debugging into a practical embedded bring-up tool: it handles debug adapters, target configuration scripts, CPU cores, flash chips, FPGA/PLD loading paths, and server interfaces for GDB, Telnet, and RPC clients.

Adoption history

OpenOCD became a common tool in embedded development because it gives open tooling a shared place to encode adapter and board knowledge. The user guide documents bundled script libraries for interfaces, boards, targets, and site-specific configuration, which is why many vendor and community board workflows invoke openocd with one or two -f script arguments.

Distribution packaging spread it broadly across embedded Linux and desktop development environments. Homebrew, Debian, Fedora, Arch, Nix, Scoop, and other package managers expose the same openocd executable, making it a portable default for projects that want to document one debugger command.

How it is used

A typical OpenOCD session names an adapter script and a board or target script, starts the OpenOCD server, waits for a JTAG or SWD target to be detected, and then connects GDB to the server for breakpoints, stepping, register access, and memory inspection.

For production and lab work, OpenOCD is also used for flash programming and boundary-scan tasks. The documentation covers NOR and NAND flash support, PLD/FPGA loading commands, and SVF/XSVF execution for JTAG test patterns.

Why package nerds care

OpenOCD is package-nerd significant because its executable is only half the package. The script library, USB permissions, adapter driver choices, Tcl integration, and packaged target definitions are what turn the binary into a usable hardware tool.

It also shows why embedded packages are unusually sensitive to version and build options: support for a specific probe, chip, flash driver, or board script can decide whether a firmware workflow works at all.

Timeline

  • 2005: Dominic Rath created OpenOCD as part of a diploma thesis at the University of Applied Sciences Augsburg.
  • 2008-2025: the user guide credits the OpenOCD Project across this span, with earlier named contributors credited for 2007-2010 documentation work.
  • 2026-06-29: the OpenOCD user guide snapshot used for this enrichment documents release 0.12.0+dev.

Related projects

  • GDB is the debugger most commonly paired with OpenOCD for source-level debugging.
  • JTAG, SWD, SVF, XSVF, and IEEE 1149.1 are the hardware and test-procedure ecosystems that explain much of OpenOCD's command surface.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 12 platform targets.
  • Installs with 4 runtime dependencies.
  • Build metadata lists 1 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
openocd.cfg$(INSTALLDIR)/scripts

executables

Installed executables

CommandKindExposureNote
openocdcliglobal 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.12.0
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://openocd.org/

  • infoNo package-manager update timestamp was available.low confidence
  • infoRelease/tag comparison is only available for GitHub repositories.https://openocd.org/none confidence

install metadata

Package metadata

Package keybrew:open-ocd
Version0.12.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/open-ocd
Homepagehttps://openocd.org/
Repositoryhttps://github.com/openocd-org/openocd
Upstream docshttps://openocd.org/doc/html/index.html
LicenseGPL-2.0-or-later
Source archivehttps://downloads.sourceforge.net/project/openocd/openocd/0.12.0/openocd-0.12.0.tar.bz2
Dependenciescapstone, hidapi, libftdi, libusb
Build dependenciespkgconf
Bottleavailable (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameopen-ocd
Aliases
  • openocd
Version Scheme0
Revision1
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.

MacPorts94%

openocd

sudo port install openocd
  • installed executable or alias match
  • Matched by: Openocd
MacPorts ports tree · api.github.com · MacPorts ports tree: cross/openocd/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Debian apt92%

openocd 0.12.0-3+b2

Open on-chip JTAG/SWD debug solution for embedded target devices

http://openocd.sourceforge.net/

sudo apt install openocd
  • Section: embedded
  • Architecture: amd64
  • Source Package: openocd
  • 7 dependencies
  • installed executable or alias match
  • Matched by: Openocd
Debian stable package indexes · deb.debian.org · Debian stable package indexes: openocd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix92%

openocd

nix profile install nixpkgs#openocd
  • installed executable or alias match
  • Matched by: Openocd
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/op/openocd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt92%

openocd 0.12.0-1build2

Open on-chip JTAG/SWD debug solution for embedded target devices

http://openocd.sourceforge.net/

sudo apt install openocd
  • Section: universe/embedded
  • Architecture: amd64
  • 8 dependencies
  • installed executable or alias match
  • Matched by: Openocd
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: openocd from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk92%

openocd 0.12.0-r7

Free and Open On-Chip Debugging, In-System Programming and Boundary-Scan Testing

https://openocd.org/

sudo apk add openocd
  • License: GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only
  • Architecture: x86_64
  • Source Package: openocd
  • 1 dependencies
  • 1 provides
  • installed executable or alias match
  • Matched by: Openocd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: openocd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

openocd-dev 0.12.0-r7

Free and Open On-Chip Debugging, In-System Programming and Boundary-Scan Testing (development files)

https://openocd.org/

sudo apk add openocd-dev
  • License: GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only
  • Architecture: x86_64
  • Source Package: openocd
  • installed executable or alias match
  • Matched by: Openocd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: openocd-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

openocd-doc 0.12.0-r7

Free and Open On-Chip Debugging, In-System Programming and Boundary-Scan Testing (documentation)

https://openocd.org/

sudo apk add openocd-doc
  • License: GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only
  • Architecture: x86_64
  • Source Package: openocd
  • installed executable or alias match
  • Matched by: Openocd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: openocd-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

openocd-udev 0.12.0-r7

udev rules for openocd

https://openocd.org/

sudo apk add openocd-udev
  • License: GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only
  • Architecture: x86_64
  • Source Package: openocd
  • 1 provides
  • installed executable or alias match
  • Matched by: Openocd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: openocd-udev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf92%

openocd 0.12.0-3.fc42.5

Debugging, in-system programming and boundary-scan testing for embedded devices

https://sourceforge.net/projects/openocd

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

openocd 1:0.12.0-5

Debugging, in-system programming and boundary-scan testing for embedded target devices

https://openocd.org

sudo pacman -S openocd
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • 7 dependencies
  • installed executable or alias match
  • Matched by: Openocd
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: openocd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper92%

openocd 0.12.0-2.11

Debugging, in-system programming and boundary-scan testing for embedded devices

http://openocd.sourceforge.net/

sudo zypper install openocd
  • License: GPL-2.0-only
  • Category: Development/Tools/Debuggers
  • Architecture: x86_64
  • Source Package: openocd
  • 10 dependencies
  • 1 provides
  • installed executable or alias match
  • Matched by: Openocd
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: openocd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

openocd-data 0.12.0-2.11

Hardware Scripts for OpenOCD

http://openocd.sourceforge.net/

sudo zypper install openocd-data
  • License: GPL-2.0-only
  • Category: Development/Tools/Debuggers
  • Architecture: noarch
  • Source Package: openocd
  • 1 dependencies
  • 1 provides
  • installed executable or alias match
  • Matched by: Openocd
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: openocd-data from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
Scoop92%

main/openocd

scoop install main/openocd
  • installed executable or alias match
  • Matched by: Openocd
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/openocd.json from https://api.github.com/repos/ScoopInstaller/Main/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