# 安装 radare2

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

## 安装

```sh
sudo av install brew:radare2
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install radare2
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install radare2
```

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

### Linux

- apk (92%):

```sh
sudo apk add radare2
```

  证据: Alpine Linux edge package indexes: radare2 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install radare2
```

  证据: Fedora Rawhide package metadata: radare2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#radare2
```

  证据: nixpkgs package indexes: radare2 from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S radare2
```

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

- Ubuntu apt (92%):

```sh
sudo apt install radare2
```

  证据: Ubuntu 24.04 LTS package indexes: radare2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

- zypper (92%):

```sh
sudo zypper install radare2
```

  证据: openSUSE Tumbleweed package metadata: radare2 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/radare2
```

  证据: Scoop official bucket manifest trees: bucket/radare2.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:radare2
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/radare2>
- **版本:** 6.1.4
- **来源摘要:** Reverse engineering framework
- **主页:** <https://radare.org>
- **仓库:** <https://github.com/radareorg/radare2>
- **上游文档:** <https://radare.org>
- **许可证:** LGPL-3.0-only
- **源码归档:** <https://github.com/radareorg/radare2/archive/refs/tags/6.1.4.tar.gz>
- **更新:** 2026-04-12T18:39:20Z
- **生成来源:** 2026-05-26T17:25:59+00:00

## 可执行文件

- clang-format-radare2 (cli)
- r2 (cli)
- r2agent (cli)
- r2p (cli)
- r2pm (cli)
- r2r (cli)
- r2sdb (cli)
- rabin2 (cli)
- radare2 (cli)
- radiff2 (cli)
- rafind2 (cli)
- rafs2 (cli)
- ragg2 (cli)
- rahash2 (cli)
- rapatch2 (cli)
- rarun2 (cli)
- rasign2 (cli)
- rasm2 (cli)
- ravc2 (cli)
- rax2 (cli)
- clang-format-radare2 (别名)
- r2 (别名)
- r2agent (别名)
- r2p (别名)
- r2pm (别名)
- r2r (别名)
- r2sdb (别名)
- rabin2 (别名)
- radare2 (别名)
- radiff2 (别名)
- rafind2 (别名)
- rafs2 (别名)
- ragg2 (别名)
- rahash2 (别名)
- rapatch2 (别名)
- rarun2 (别名)
- rasign2 (别名)
- rasm2 (别名)
- ravc2 (别名)
- rax2 (别名)

## 依赖

- pkgconf

## 安装行为

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

## 新鲜度

- 页面生成时间: 2026-05-26
- 管理器版本: 6.1.4
- 管理器更新时间: 2026-04-12
- 本地数据: ok
- 上游仓库: https://github.com/radareorg/radare2
- 检测到的最新版本: 6.1.4 (current)

## 安全说明

reverse engineering and debugging tool.

- **Geiger 风险:** red / high
- reverse engineering and debugging tool

## 相关链接

- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Runtime dependency declared by Homebrew.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/)

## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
