Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, apt, scoop 安装 capstone

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install capstone

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install capstone

MacPorts ports tree · devel/capstone/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add capstone

Alpine Linux edge package indexes · capstone · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install capstone

Fedora Rawhide package metadata · capstone · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#capstone

nixpkgs package indexes · pkgs/by-name/ca/capstone/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S capstone

Arch Linux sync databases · capstone · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install capstone

openSUSE Tumbleweed package metadata · capstone · 来源: download.opensuse.org

Debian apt已验证 · 92%
sudo apt install capstone-tool

Debian stable package indexes · capstone-tool · 来源: deb.debian.org

Windows

Scoop已验证 · 92%
scoop install main/capstone

Scoop official bucket manifest trees · bucket/capstone.json · 来源: api.github.com

概览

软件包摘要

Multi-platform, multi-architecture disassembly framework

命令和别名

  • cstool

历史

项目历史与用法

Capstone is a lightweight, multi-platform, multi-architecture disassembly framework used in binary analysis, malware analysis, reverse engineering, and security tooling.

项目历史

The official README says Capstone was created by Nguyen Anh Quynh and then developed and maintained by a small community. Its goal is to be an architecture-neutral disassembly engine for binary analysis and reversing in the security community.

Capstone's official site emphasizes a pure-C core, a simple API, detailed instruction decomposition, implicit register semantics, thread safety, embedding support for firmware or kernels, and native support across Windows, macOS, iOS, Android, Linux, BSD, Solaris, and other Unix-like systems.

The project appeared publicly on GitHub in 2013 and was presented in technical form at Black Hat USA 2014. By 2026 the official download page listed 6.0.0-Alpha9 as the current version, while GitHub releases showed active 5.x maintenance and 6.x alpha development.

采用历史

Capstone became widely adopted because reverse-engineering tools needed a reusable disassembler library rather than every project owning architecture-specific decode code. The official site collects testimonials from reverse engineers and tool authors calling it a standard or gold standard disassembly engine.

The official documentation documents repository installation across Homebrew, MacPorts, Debian, Ubuntu, FreeBSD, OpenBSD, NetBSD, and Python packaging. The batch package metadata adds Alpine, Fedora, Nix, Arch, Scoop, and openSUSE, which reflects broad cross-platform packaging.

使用方式

Developers embed Capstone as a library to disassemble bytes for many CPU architectures and retrieve instruction details. The Homebrew package also provides cstool, a command-line utility for quick disassembly tasks.

Capstone is used in reverse-engineering frameworks, malware-analysis tools, debuggers, firmware analysis, exploit research, and educational tooling. Bindings listed by the official site and README cover many languages, making the C engine available beyond C and C++ applications.

为什么软件包爱好者会关心

Capstone is package-nerd significant because it is a foundational native library with many downstream language bindings. A system package can satisfy C/C++ consumers, Python users, command-line users, and reverse-engineering tools that dynamically link against the same engine.

It also illustrates a common packaging headache: a security-oriented C library with fast-moving architecture support, multiple major branches, Python wheels, bindings outside the main tree, and tools that expect the CLI, headers, and shared library to line up.

时间线

  • 2013: capstone-engine/capstone repository is created on GitHub.
  • 2014: Capstone technical details are presented in Black Hat USA slides linked from the official site.
  • 2015: Official docs record Capstone availability in several Unix package repositories.
  • 2025: Capstone 6.0.0 alpha releases begin appearing in the GitHub release feed.
  • 2026-05-29: Official download page lists Capstone 6.0.0-Alpha9 as the current release.

Related projects

  • Keystone is a related assembler framework from the same authorial ecosystem, often paired conceptually with Capstone for assembly and disassembly workflows.
  • Unicorn is a related CPU emulator framework commonly used with Capstone in binary-analysis stacks.
  • Rizin and radare2 are reverse-engineering frameworks in Capstone's wider ecosystem; Rizin is also shown as a release sponsor on the official site.
  • Language bindings such as capstone-rs, Node-Capstone, LuaCapstone, Capstone.NET, and Java bindings are listed by the official download page.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
cstoolcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本5.0.9
管理器更新时间2026-05-28
本地数据OK
上游当前
检测到的最新版本5.0.9

https://github.com/capstone-engine/capstone

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:capstone
版本5.0.9
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/capstone
主页https://www.capstone-engine.org/
仓库https://github.com/capstone-engine/capstone
上游文档https://www.capstone-engine.org/documentation.html
许可证BSD-3-Clause
源码归档https://github.com/capstone-engine/capstone/archive/refs/tags/5.0.9.tar.gz
最后更新2026-05-28T18:49:05Z
Pulseupdated
依赖gettext
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

capstone-tool 5.0.7-1~deb13u1

lightweight multi-architecture disassembly framework - command line tool

https://www.capstone-engine.org/

sudo apt install capstone-tool
  • Section: libs
  • Architecture: amd64
  • Source Package: capstone
  • 1 依赖
  • normalized package name match
  • 匹配方式:Capstone
Debian stable package indexes · deb.debian.org · Debian stable package indexes: capstone-tool from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libcapstone-dev 5.0.7-1~deb13u1

lightweight multi-architecture disassembly framework - devel files

https://www.capstone-engine.org/

sudo apt install libcapstone-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: capstone
  • 1 依赖
  • normalized package name match
  • 匹配方式:Capstone
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcapstone-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libcapstone5 5.0.7-1~deb13u1

lightweight multi-architecture disassembly framework - library

https://www.capstone-engine.org/

sudo apt install libcapstone5
  • Section: libs
  • Architecture: amd64
  • Source Package: capstone
  • 1 依赖
  • normalized package name match
  • 匹配方式:Capstone
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcapstone5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-capstone 5.0.7-1~deb13u1

lightweight multi-architecture disassembly framework - Python bindings

https://www.capstone-engine.org/

sudo apt install python3-capstone
  • Section: python
  • Architecture: amd64
  • Source Package: capstone
  • 2 依赖
  • normalized package name match
  • 匹配方式:Capstone
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-capstone from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

capstone

nix profile install nixpkgs#capstone
  • normalized package name match
  • 匹配方式:Capstone
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ca/capstone/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

capstone-tool 4.0.2-5.1build1

lightweight multi-architecture disassembly framework - command line tool

https://www.capstone-engine.org/

sudo apt install capstone-tool
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: capstone
  • 1 依赖
  • normalized package name match
  • 匹配方式:Capstone
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: capstone-tool from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libcapstone-dev 4.0.2-5.1build1

lightweight multi-architecture disassembly framework - devel files

https://www.capstone-engine.org/

sudo apt install libcapstone-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: capstone
  • 1 依赖
  • normalized package name match
  • 匹配方式:Capstone
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcapstone-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libcapstone4 4.0.2-5.1build1

lightweight multi-architecture disassembly framework - library

https://www.capstone-engine.org/

sudo apt install libcapstone4
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: capstone
  • 1 依赖
  • normalized package name match
  • 匹配方式:Capstone
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcapstone4 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

python3-capstone 4.0.2-5.1build1

lightweight multi-architecture disassembly framework - Python bindings

https://www.capstone-engine.org/

sudo apt install python3-capstone
  • Section: universe/python
  • Architecture: amd64
  • Source Package: capstone
  • 2 依赖
  • normalized package name match
  • 匹配方式:Capstone
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-capstone from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

capstone 5.0.9-r0

The Ultimate Disassembler

https://www.capstone-engine.org

sudo apk add capstone
  • License: BSD-3-Clause-Clear
  • Architecture: x86_64
  • Source Package: capstone
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Capstone
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: capstone from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

capstone-dev 5.0.9-r0

The Ultimate Disassembler (development files)

https://www.capstone-engine.org

sudo apk add capstone-dev
  • License: BSD-3-Clause-Clear
  • Architecture: x86_64
  • Source Package: capstone
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Capstone
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: capstone-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

capstone-static 5.0.9-r0

The Ultimate Disassembler (static library)

https://www.capstone-engine.org

sudo apk add capstone-static
  • License: BSD-3-Clause-Clear
  • Architecture: x86_64
  • Source Package: capstone
  • 1 依赖
  • normalized package name match
  • 匹配方式:Capstone
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: capstone-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

cstool 5.0.9-r0

cstool for capstone disassembler

https://www.capstone-engine.org

sudo apk add cstool
  • License: BSD-3-Clause-Clear
  • Architecture: x86_64
  • Source Package: capstone
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Capstone
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cstool from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

py3-capstone 5.0.9-r0

The Ultimate Disassembler (for python3)

https://www.capstone-engine.org

sudo apk add py3-capstone
  • License: BSD-3-Clause-Clear
  • Architecture: x86_64
  • Source Package: capstone
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Capstone
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: py3-capstone from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

py3-capstone-pyc 5.0.9-r0

Precompiled Python bytecode for py3-capstone

https://www.capstone-engine.org

sudo apk add py3-capstone-pyc
  • License: BSD-3-Clause-Clear
  • Architecture: x86_64
  • Source Package: capstone
  • 1 依赖
  • normalized package name match
  • 匹配方式:Capstone
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: py3-capstone-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

capstone 5.0.6-5.fc45

A lightweight multi-platform, multi-architecture disassembly framework

http://www.capstone-engine.org/

sudo dnf install capstone
  • License: BSD-3-Clause AND BSD-4-Clause AND APSL-2.0 AND NCSA AND MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: capstone
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Capstone
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: capstone from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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