# osrm-backend を Homebrew, Nix でインストール

osrm-backend のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:osrm-backend
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install osrm-backend
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#osrm-backend
```

  証拠: nixpkgs package indexes: pkgs/by-name/os/osrm-backend/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:osrm-backend
- **パッケージマネージャ:** Homebrew
- **バージョン:** 26.8.0
- **ソース概要:** High performance routing engine
- **ホームページ:** <https://project-osrm.org/>
- **リポジトリ:** <https://github.com/Project-OSRM/osrm-backend>
- **最終更新:** 2026-08-01T10:39:14Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- osrm-components (エイリアス)
- osrm-contract (エイリアス)
- osrm-customize (エイリアス)
- osrm-datastore (エイリアス)
- osrm-extract (エイリアス)
- osrm-io-benchmark (エイリアス)
- osrm-partition (エイリアス)
- osrm-routed (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 26.8.0
## プロジェクトの歴史と使われ方

OSRM Backend is the C++ routing engine behind the Open Source Routing Machine project. It consumes OpenStreetMap road data, preprocesses it into routing graph files, and serves route, nearest, table, match, trip, and tile services over an HTTP API, a C++ interface, and Node.js bindings.

### プロジェクトの歴史

OSRM began as Dennis Luxen's attempt to bring high-performance academic route-planning algorithms to OpenStreetMap data. Wired reported in November 2013 that Luxen started OSRM around 2010 while working as a PhD candidate at Karlsruhe Institute of Technology, after a discussion with OpenStreetMap contributor Frederik Ramm led him to apply his routing research to OSM.

The OpenStreetMap wiki records the initial public release on July 9, 2010, and an ACM GIS 2011 presentation by Dennis Luxen and Christian Vetter. The same history notes later project phases involving Mapbox's Directions team and a period of slower maintenance after Mapbox shifted routing investment toward Valhalla.

### 採用の歴史

OSRM's adoption came from its speed and self-hostability. The official site advertises continental-sized road networks served within milliseconds, while the README documents a Docker-first quick start for turning an OSM extract into a running HTTP routing server.

The OpenStreetMap wiki lists services and applications powered by OSRM, including FOSSGIS routing, Cycle.travel, Maps.Me, Mapbox Directions components, Geofabrik-hosted routing, and commercial hosted OSRM APIs. That makes osrm-backend one of the most visible OSM packages outside the data-processing niche because it sits directly behind user-facing routing applications.

### 使われ方

Operators typically download an OSM PBF extract, run `osrm-extract` with a Lua profile such as car, bicycle, or foot, preprocess with the MLD pipeline using `osrm-partition` and `osrm-customize` or the CH pipeline using `osrm-contract`, then run `osrm-routed` to expose the API.

Application developers call OSRM for fastest-route geometry, nearest-road snapping, many-to-many duration or distance tables, noisy GPS trace matching, heuristic trip ordering, and vector tiles containing routing metadata. Profile customization is a key operational feature because it lets a deployment encode vehicle, bicycle, pedestrian, or custom routing rules.

### パッケージ好きにとっての重要性

osrm-backend is package-nerd catnip because it is both a research-to-production story and a packaging stress test: modern C++, heavy preprocessing, Lua profiles, Docker images, Node bindings, and a public HTTP API wrapped around graph algorithms such as contraction hierarchies and multi-level Dijkstra.

### タイムライン

- July 9, 2010: Dennis Luxen announced the initial public release on the OSM-dev mailing list. November 2011: Luxen and Christian Vetter presented real-time routing with OpenStreetMap data at ACM GIS. November 2013: Wired profiled OSRM as a self-hostable alternative routing stack. 2015 onward: project leadership and maintenance became more community and Mapbox influenced, with later maintenance transitions documented by the OSM wiki.

### Related projects

- The Project-OSRM organization also maintains osrm-frontend for the demo map, osrm-text-instructions for turn instructions, and Docker images for backend deployment. Valhalla is the other major open routing engine named in OSRM's maintenance history.

### ソース

- <https://formulae.brew.sh/formula/osrm-backend>
- <https://github.com/Project-OSRM/osrm-backend>
- <https://project-osrm.org/>
- <https://project-osrm.org/docs/v5.24.0/api/>
- <https://wiki.openstreetmap.org/wiki/Open_Source_Routing_Machine>
- <https://www.wired.com/2013/11/osrm/>


## セキュリティノート

osrm-backend に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。


## 他のパッケージマネージャ記録

- Nix - osrm-backend: normalized package name match | nixpkgs package indexes: pkgs/by-name/os/osrm-backend/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/osrm-backend.yml](https://github.com/mxcl/pkgdb/blob/main/combined/osrm-backend.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
