# Install graph-tool with Homebrew, apt

Efficient network analysis for Python 3. Version 2.98 via Homebrew; verified 2026-07-18. Also installable with debian: sudo apt install graph-tool-doc.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

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

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

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

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

## Package facts

- **Package key:** brew:graph-tool
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/graph-tool>
- **Version:** 2.98
- **Source summary:** Efficient network analysis for Python 3
- **Homepage:** <https://graph-tool.skewed.de/>
- **Upstream docs:** <https://graph-tool.skewed.de/>
- **License:** LGPL-3.0-or-later
- **Source archive:** <https://downloads.skewed.de/graph-tool/graph-tool-2.98.tar.bz2>
- **Last updated:** 2026-07-18T23:39:17Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Dependencies

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

## Build dependencies

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

## Uses from macOS

- expat

## Install behavior

- Post-install hook: not defined
- Caveats: 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: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 2.98
- Package-manager updated: 2026-07-18
- Local data: ok
- Upstream repository: https://graph-tool.skewed.de/
- info: Release/tag comparison is only available for GitHub repositories.

## Security Notes

No matching local secret-handling manifest was found for graph-tool. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

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

## Other Package-Manager Records

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


## Related links

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

## Sources

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