# 安装 osm2pgrouting

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

## 安装

```sh
sudo av install brew:osm2pgrouting
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install osm2pgrouting
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install osm2pgrouting
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install osm2pgrouting
```

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

## 软件包事实

- **软件包键:** brew:osm2pgrouting
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/osm2pgrouting>
- **版本:** 3.0.0
- **来源摘要:** Import OSM data into pgRouting database
- **主页:** <https://pgrouting.org/docs/tools/osm2pgrouting.html>
- **仓库:** <https://github.com/pgRouting/osm2pgrouting>
- **上游文档:** <https://pgrouting.org/docs/tools/osm2pgrouting.html>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://github.com/pgRouting/osm2pgrouting/archive/refs/tags/v3.0.0.tar.gz>
- **更新:** 2025-12-15T00:11:38Z
- **生成来源:** 2026-05-26T17:25:59+00:00

## 可执行文件

- osm2pgrouting (cli)
- osm2pgrouting (别名)

## 依赖

- boost
- libpq
- libpqxx
- pgrouting
- postgis

## 构建依赖

- cmake

## macOS 提供的库

- expat

## 安装行为

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

## 新鲜度

- 页面生成时间: 2026-05-26
- 管理器版本: 3.0.0
- 管理器更新时间: 2025-12-15
- 本地数据: ok
- 上游仓库: https://github.com/pgRouting/osm2pgrouting
- 检测到的最新版本: v3.0.0 (current)

## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / medium
- broad file, network, media, or database tool signal

## 相关链接

- [libpq](https://www.automicvault.com/pkg/brew/libpq/) - Runtime dependency declared by Homebrew.
- [boost](https://www.automicvault.com/pkg/brew/boost/) - Runtime dependency declared by Homebrew.
- [postgis](https://www.automicvault.com/pkg/brew/postgis/) - Runtime dependency declared by Homebrew.
- [libpqxx](https://www.automicvault.com/pkg/brew/libpqxx/) - Runtime dependency declared by Homebrew.
- [pgrouting](https://www.automicvault.com/pkg/brew/pgrouting/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build 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
