# 使用 Homebrew, apt 安装 graph-tool

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

## 安装

```sh
sudo av install brew:graph-tool
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install graph-tool
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install graph-tool-doc
```

  证据: Debian stable package indexes: graph-tool-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## 软件包事实

- **软件包键:** brew:graph-tool
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/graph-tool>
- **版本:** 2.98
- **来源摘要:** Efficient network analysis for Python 3
- **主页:** <https://graph-tool.skewed.de/>
- **上游文档:** <https://graph-tool.skewed.de/>
- **许可证:** LGPL-3.0-or-later
- **源码归档:** <https://downloads.skewed.de/graph-tool/graph-tool-2.98.tar.bz2>
- **最后更新:** 2026-07-18T23:39:17Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 依赖

- boost
- boost-python3
- cairo
- cairomm
- gmp
- libomp
- libsigc++
- numpy
- python@3.14
- scipy
- zstd

## 构建依赖

- cgal
- google-sparsehash
- pkgconf
- py3cairo
- python-setuptools

## macOS 提供的库

- expat

## 安装行为

- post-install 钩子: 未定义
- 注意事项: If you want graph drawing, you will need to install additional formulae: brew install gtk+3 py3cairo pygobject3 python-matplotlib If you want zstd decompression, you can use the bundled Python package, e.g. export PYTHONPATH="$HOMEBREW_PREFIX/opt/graph-tool/libexec/lib/python3.14/site-packages"
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.98
- 管理器更新时间: 2026-07-18
- 本地数据: OK
- 上游仓库: https://graph-tool.skewed.de/
- 信息: Release/tag comparison is only available for GitHub repositories.

## 安全说明

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


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** graph-tool
- **Version Scheme:** 0
- **Revision:** 4
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Debian apt - graph-tool-doc - 2.91+ds-5: normalized package name match | Debian stable package indexes: graph-tool-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Efficient network analysis -- doc | https://graph-tool.skewed.de/
- Debian apt - python3-graph-tool - 2.91+ds-5: normalized package name match | Debian stable package indexes: python3-graph-tool from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Efficient network analysis -- Python | https://graph-tool.skewed.de/
- Ubuntu apt - graph-tool-doc - 2.59+ds-4ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: graph-tool-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Efficient network analysis -- doc | https://graph-tool.skewed.de/
- Ubuntu apt - python3-graph-tool - 2.59+ds-4ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-graph-tool from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Efficient network analysis -- Python | https://graph-tool.skewed.de/


## 相关链接

- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Archive and compression packages](https://pkg.so/zh-hans/archive-compression-tools/) - Matched curated package taxonomy and local package facts.
- [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.
- [cairo](https://pkg.so/zh-hans/brew/cairo/) - Runtime dependency declared by Homebrew.
- [numpy](https://pkg.so/zh-hans/brew/numpy/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cgal](https://pkg.so/zh-hans/brew/cgal/) - Build dependency declared by Homebrew.
- [rdkit](https://pkg.so/zh-hans/brew/rdkit/) - Both packages touch the same language runtime or ecosystem. Shared terms: boost, boost-python3, cairo, numpy, python.
- [esbmc](https://pkg.so/zh-hans/brew/esbmc/) - Both packages touch the same language runtime or ecosystem. Shared terms: analysis, boost, efficient, gmp, python.
- [stp](https://pkg.so/zh-hans/brew/stp/) - Both packages touch the same language runtime or ecosystem. Shared terms: analysis, boost, efficient, gmp, python.

## 来源

- pkg.so package database
- package-page enrichment
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
