# osmosis を Homebrew, apt, MacPorts でインストール

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

## インストール

```sh
sudo av install brew:osmosis
```

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

### macOS

- Homebrew (100%):

```sh
brew install osmosis
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install osmosis
```

  証拠: MacPorts ports tree: java/osmosis/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install osmosis
```

  証拠: Debian stable package indexes: osmosis from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## パッケージ情報

- **パッケージキー:** brew:osmosis
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.49.2
- **ソース概要:** Command-line OpenStreetMap data processor
- **ホームページ:** <https://wiki.openstreetmap.org/wiki/Osmosis>
- **リポジトリ:** <https://github.com/openstreetmap/osmosis>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- osmosis (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

Osmosis is a Java command-line application for processing OpenStreetMap data through pluggable pipeline components. It can read and write files and databases, derive and apply changesets, sort datasets, and extract geographic subsets.

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

Osmosis was built around a component pipeline model: tasks for reading, writing, filtering, sorting, database access, replication, and change handling can be chained to form larger data flows. The repository and wiki both describe this as the core design choice, allowing new tasks to be added without rewriting common file and database handling.

The project is closely associated with Brett Henderson in the OSM community. The build metadata lists Brett Henderson as a developer, and a 2020 osmosis-dev message from Michal Migurski describes picking up light Osmosis maintenance from Brett Henderson.

### 採用の歴史

Osmosis was a central OSM data plumbing tool during the period when planet dumps, database snapshots, replication streams, and regional extracts needed a common Java-based processor. The OpenStreetMap wiki lists workflows such as generating planet dumps from a database, loading dumps into a database, producing changesets from history tables, applying changesets, comparing planet files, sorting dumps, and extracting data by bounding box or polygon.

Development later shifted into light maintenance. The GitHub README says active development stopped in 2018 and describes periodic pull-request acceptance and minor releases; the OpenStreetMap wiki likewise points users toward Osmium as a recommended alternative while preserving Osmosis documentation for workflows that still depend on it.

### 使われ方

Developers use Osmosis by composing ordered command-line tasks, such as reading a PBF or XML file, applying a tag filter, adding referenced nodes, and writing the result. Its detailed usage documentation is large because each task exposes its own options, and argument order is part of the pipeline semantics.

Osmosis is also used in replication and database workflows where OSM change files and API database schemas matter. The 2020 maintenance note specifically mentions a release motivated by an API database schema change, which illustrates its role at the boundary between OSM files and OSM infrastructure.

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

Osmosis matters as a long-lived Java package in a tooling ecosystem that also contains small C utilities and modern C++ libraries. It shows how early OSM infrastructure favored chainable, extensible data processors before lighter compiled tools absorbed many routine file-processing jobs.

### タイムライン

- The 0.35 release was the last release to support OSM API 0.5 data. The project README records the 2018 move away from active development. In March 2020, Michal Migurski announced light maintenance work beginning with a 0.47.1 release. GitHub lists 0.49.2 as a December 3, 2023 release.

### Related projects

- Osmium is the recommended alternative named by the OSM wiki for many workflows. osmfilter and osmconvert provide smaller compiled alternatives for filtering and conversion. OSMembrane is documented as a frontend for Osmosis usage.

### ソース

- <https://formulae.brew.sh/formula/osmosis>
- <https://github.com/openstreetmap/osmosis>
- <https://lists.openstreetmap.org/pipermail/osmosis-dev/2020-March/001861.html>
- <https://wiki.openstreetmap.org/wiki/Osmosis>
- <https://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

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

- Debian apt - osmosis - 0.49.2-2: normalized package name match | Debian stable package indexes: osmosis from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Command line OpenStreetMap data processor | https://wiki.openstreetmap.org/wiki/Osmosis
- Ubuntu apt - osmosis - 0.49.2-2: normalized package name match | Ubuntu 24.04 LTS package indexes: osmosis from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Command line OpenStreetMap data processor | https://wiki.openstreetmap.org/wiki/Osmosis
- MacPorts - osmosis: normalized package name match | MacPorts ports tree: java/osmosis/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/osmosis.yml](https://github.com/mxcl/pkgdb/blob/main/combined/osmosis.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
