# Installer osmium-tool avec Homebrew, apt, dnf, MacPorts, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de osmium-tool pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install osmium-tool
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install osmium-tool
```

  Preuve: MacPorts ports tree: gis/osmium-tool/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install osmium-tool
```

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

- dnf (92%):

```sh
sudo dnf install osmium-tool
```

  Preuve: Fedora Rawhide package metadata: osmium-tool from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#osmium-tool
```

  Preuve: nixpkgs package indexes: pkgs/by-name/os/osmium-tool/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:osmium-tool
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/osmium-tool>
- **Version:** 1.19.1
- **Résumé source:** Libosmium-based command-line tool for processing OpenStreetMap data
- **Page d'accueil:** <https://osmcode.org/osmium-tool/>
- **Dépôt:** <https://github.com/osmcode/osmium-tool>
- **Docs amont:** <https://osmcode.org/osmium-tool/>
- **Licence:** GPL-3.0-or-later
- **Archive source:** <https://github.com/osmcode/osmium-tool/archive/refs/tags/v1.19.1.tar.gz>
- **Dernière mise à jour:** 2026-06-25T13:38:00+02:00
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- osmium (cli)
- osmium (alias)

## Dépendances

- boost
- lz4

## Dépendances de compilation

- cmake
- libosmium
- nlohmann-json
- pandoc
- protozero

## Bibliothèques fournies par macOS

- bzip2
- expat

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 1.19.1
- gestionnaire mis à jour: 2026-06-25
- données locales: OK
- dépôt amont: https://github.com/osmcode/osmium-tool
- dernière version détectée: v1.19.1 (à jour)
## Historique du projet et usages

osmium-tool is the command-line front end for the Osmium/libosmium ecosystem, providing a single `osmium` executable for inspecting, converting, filtering, extracting, sorting, diffing, and updating OpenStreetMap data files.

### Historique du projet

The tool grew out of Jochen Topf's Osmium work. The Osmium FAQ distinguishes the old Osmium library, developed from 2010 to 2013, from the C++11-based rewrite that began in 2013; osmium-tool is built on that newer libosmium stack. The repository credits Jochen Topf as writer and maintainer and carries copyright years beginning in 2013.

Its architecture follows libosmium's file-format and data-model abstractions. The manual describes the `osmium` command as a Git-like dispatcher with subcommands, while the website emphasizes a broad feature set ranging from file info and format conversion to history-file extraction and changeset filtering.

### Historique d'adoption

osmium-tool became a standard utility for OSM data operators because it covers many routine jobs without requiring custom C++ code. The project site lists packages for Debian/Ubuntu, Fedora, Homebrew, and conda-forge, and the manual notes support and regular testing across Linux, macOS, and Windows.

In the OSM tooling timeline, Osmium also became the recommended alternative for some Osmosis users as Osmosis moved into light maintenance. That adoption pattern reflects a broader shift from Java pipeline tooling toward libosmium-backed C++ tools for high-volume file processing.

### Modes d'utilisation

Operators use osmium-tool to inspect extract metadata, convert between XML, PBF, O5M/O5C, OPL, and debug formats, build geographic extracts from bounding boxes or polygons, verify references in partial extracts, work with OSM history and change files, and chain these tasks inside shell scripts.

Its verbose mode, safety checks against overwriting output, and support for all major OSM file formats make it a pragmatic package for repeatable data jobs: download an extract, inspect headers, filter or cut the data, and feed the result into renderers, importers, or analysis systems.

### Pourquoi les passionnés de paquets s'y intéressent

For package nerds, osmium-tool is the visible CLI layer of a carefully separated stack: protozero for PBF encoding support, libosmium as a header-only C++ OSM library, and osmium-tool as the packaged executable suite. It is a good example of a domain library being exposed through a durable multipurpose command.

### Related projects

- libosmium provides the underlying C++ OSM data handling. PyOsmium exposes parts of that ecosystem to Python. Osmosis, osmfilter, and osrm-backend occupy nearby OSM data-processing and routing roles.

### Sources

- <https://formulae.brew.sh/formula/osmium-tool>
- <https://github.com/osmcode/osmium-tool>
- <https://osmcode.org/faq.html>
- <https://osmcode.org/osmium-tool/>
- <https://osmcode.org/osmium-tool/manual.html>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Détails de la base source

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

## Autres enregistrements de gestionnaires de paquets

- Debian apt - osmium-tool - 1.18.0-1: normalized package name match | Debian stable package indexes: osmium-tool from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Command line tool for working with OpenStreetMap data | https://osmcode.org/osmium-tool/
- Nix - osmium-tool: normalized package name match | nixpkgs package indexes: pkgs/by-name/os/osmium-tool/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - osmium-tool - 1.16.0-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: osmium-tool from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Command line tool for working with OpenStreetMap data | https://osmcode.org/osmium-tool/
- dnf - osmium-tool - 1.19.1-2.fc45: normalized package name match | Fedora Rawhide package metadata: osmium-tool from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Command line tool for working with OpenStreetMap data | http://osmcode.org/osmium-tool/
- MacPorts - osmium-tool: normalized package name match | MacPorts ports tree: gis/osmium-tool/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Nix - osmium: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/os/osmium/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Liens liés

- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/fr/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://pkg.so/fr/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [lz4](https://pkg.so/fr/brew/lz4/) - Runtime dependency declared by Homebrew.
- [cmake](https://pkg.so/fr/brew/cmake/) - Build dependency declared by Homebrew.
- [pandoc](https://pkg.so/fr/brew/pandoc/) - Build dependency declared by Homebrew.
- [osmosis](https://pkg.so/fr/brew/osmosis/) - Shares pkgdb curated category or tags: cli, data, data-processing, geospatial, openstreetmap.
- [pdal](https://pkg.so/fr/brew/pdal/) - Shares pkgdb curated category or tags: cli, data, data-processing, geospatial.
- [osmcoastline](https://pkg.so/fr/brew/osmcoastline/) - Shares pkgdb curated category or tags: cli, data, geospatial, openstreetmap.
- [osmfilter](https://pkg.so/fr/brew/osmfilter/) - Shares pkgdb curated category or tags: cli, data, geospatial, openstreetmap.
- [libgeotiff](https://pkg.so/fr/brew/libgeotiff/) - Shares pkgdb curated category or tags: cli, data, geospatial.
- [postgis](https://pkg.so/fr/brew/postgis/) - Shares pkgdb curated category or tags: cli, data, geospatial.
- [pmtiles](https://pkg.so/fr/brew/pmtiles/) - Shares pkgdb curated category or tags: cli, data, geospatial.
- [mapnik](https://pkg.so/fr/brew/mapnik/) - Shares pkgdb curated category or tags: cli, data, geospatial.

## Combined YAML source

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


## Sources

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