# 使用 Homebrew, pacman 安装 riscv64-elf-gdb

查看 riscv64-elf-gdb 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:riscv64-elf-gdb
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install riscv64-elf-gdb
```

  证据: local Homebrew formula metadata

### Linux

- pacman (92%):

```sh
sudo pacman -S riscv64-elf-gdb
```

  证据: Arch Linux sync databases: riscv64-elf-gdb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:riscv64-elf-gdb
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/riscv64-elf-gdb>
- **版本:** 17.2
- **来源摘要:** GNU debugger for riscv64-elf cross development
- **主页:** <https://www.gnu.org/software/gdb/>
- **上游文档:** <https://www.gnu.org/software/gdb/>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://ftpmirror.gnu.org/gnu/gdb/gdb-17.2.tar.xz>
- **最后更新:** 2026-05-10T20:39:27Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- riscv64-elf-gdb (cli)
- riscv64-elf-gdb-add-index (cli)
- riscv64-elf-gstack (cli)
- riscv64-elf-gdb (别名)
- riscv64-elf-gdb-add-index (别名)
- riscv64-elf-gstack (别名)

## 依赖

- gmp
- mpfr
- ncurses
- python@3.14
- readline
- xz
- zstd

## 构建依赖

- pkgconf
- texinfo

## macOS 提供的库

- expat

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 17.2
- 管理器更新时间: 2026-05-10
- 本地数据: OK
- 上游仓库: https://www.gnu.org/software/gdb/
- 信息: Release/tag comparison is only available for GitHub repositories.

## 安全说明

没有找到 riscv64-elf-gdb 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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

- Linux: $XDG_CONFIG_HOME/gdb/gdbinit, ~/.config/gdb/gdbinit, ~/.gdbinit
- macOS: ~/Library/Preferences/gdb/gdbinit, ~/.gdbinit
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** riscv64-elf-gdb
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- pacman - riscv64-elf-gdb - 17.1-2: normalized package name match | Arch Linux sync databases: riscv64-elf-gdb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | The GNU Debugger for the RISCV64 (bare-metal) target | https://www.gnu.org/software/gdb/


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [xz](https://pkg.so/zh-hans/brew/xz/) - Runtime dependency declared by Homebrew.
- [zstd](https://pkg.so/zh-hans/brew/zstd/) - Runtime dependency declared by Homebrew.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [ncurses](https://pkg.so/zh-hans/brew/ncurses/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [texinfo](https://pkg.so/zh-hans/brew/texinfo/) - Build dependency declared by Homebrew.
- [gdb](https://pkg.so/zh-hans/brew/gdb/) - Shares the same upstream homepage.
- [arm-none-eabi-gdb](https://pkg.so/zh-hans/brew/arm-none-eabi-gdb/) - Shares the same upstream homepage.
- [aarch64-elf-gdb](https://pkg.so/zh-hans/brew/aarch64-elf-gdb/) - Shares the same upstream homepage.
- [x86_64-elf-gdb](https://pkg.so/zh-hans/brew/x86-64-elf-gdb/) - Shares the same upstream homepage.
- [i386-elf-gdb](https://pkg.so/zh-hans/brew/i386-elf-gdb/) - Shares the same upstream homepage.
- [riscv64-elf-gcc](https://pkg.so/zh-hans/brew/riscv64-elf-gcc/) - Shares pkgdb curated category or tags: cli, developer-tools, gnu, riscv, toolchain.
- [riscv64-elf-binutils](https://pkg.so/zh-hans/brew/riscv64-elf-binutils/) - Shares pkgdb curated category or tags: cli, developer-tools, gnu, riscv, toolchain.
- [ddd](https://pkg.so/zh-hans/brew/ddd/) - Shares pkgdb curated category or tags: cli, debugger, developer-tools, gdb, gnu.
- [arm-linux-gnueabihf-binutils](https://pkg.so/zh-hans/brew/arm-linux-gnueabihf-binutils/) - Shares pkgdb curated category or tags: cli, developer-tools, gnu, toolchain.

## Combined YAML source

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


## 来源

- pkg.so package database
- package-page enrichment
- curated configuration and credential file locations
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
