Automic VaultAutomic Vault

brew

Install osmium-tool with Homebrew, apt, dnf, MacPorts, Nix

Libosmium-based command-line tool for processing OpenStreetMap data. Version 1.19.1 via Homebrew; verified 2026-06-25.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install osmium-tool

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install osmium-tool

MacPorts ports tree · gis/osmium-tool/Portfile · source: api.github.com

Linux

Debian aptverified · 92%
sudo apt install osmium-tool

Debian stable package indexes · osmium-tool · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install osmium-tool

Fedora Rawhide package metadata · osmium-tool · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#osmium-tool

nixpkgs package indexes · pkgs/by-name/os/osmium-tool/package.nix · source: api.github.com

overview

Package summary

Libosmium-based command-line tool for processing OpenStreetMap data

Commands and aliases

  • osmium

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 2 runtime dependencies.
  • Build metadata lists 5 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
osmiumcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.19.1
manager updated2026-06-25
local dataok
upstreamcurrent
latest detectedv1.19.1

https://github.com/osmcode/osmium-tool

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:osmium-tool
Version1.19.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/osmium-tool
Homepagehttps://osmcode.org/osmium-tool/
Repositoryhttps://github.com/osmcode/osmium-tool
Upstream docshttps://docs.osmcode.org/osmium/latest/osmium.html
LicenseGPL-3.0-or-later
Source archivehttps://github.com/osmcode/osmium-tool/archive/refs/tags/v1.19.1.tar.gz
Last updated2026-06-25T13:38:00+02:00
Pulseupdated
Dependenciesboost, lz4
Build dependenciescmake, libosmium, nlohmann-json, pandoc, protozero
Uses from macOSbzip2, expat
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameosmium-tool
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

osmium-tool 1.18.0-1

Command line tool for working with OpenStreetMap data

https://osmcode.org/osmium-tool/

sudo apt install osmium-tool
  • Section: utils
  • Architecture: amd64
  • 8 dependencies
  • normalized package name match
  • Matched by: Osmium Tool
Debian stable package indexes · deb.debian.org · Debian stable package indexes: osmium-tool from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

osmium-tool

nix profile install nixpkgs#osmium-tool
  • normalized package name match
  • Matched by: Osmium Tool
nixpkgs package indexes · api.github.com · 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 apt95%

osmium-tool 1.16.0-1build1

Command line tool for working with OpenStreetMap data

https://osmcode.org/osmium-tool/

sudo apt install osmium-tool
  • Section: universe/utils
  • Architecture: amd64
  • 8 dependencies
  • normalized package name match
  • Matched by: Osmium Tool
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: osmium-tool from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

osmium-tool 1.19.1-1.fc45

Command line tool for working with OpenStreetMap data

http://osmcode.org/osmium-tool/

sudo dnf install osmium-tool
  • License: GPL-3.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: osmium-tool
  • 10 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Osmium Tool
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: osmium-tool from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
MacPorts95%

osmium-tool

sudo port install osmium-tool
  • normalized package name match
  • Matched by: Osmium Tool
MacPorts ports tree · api.github.com · MacPorts ports tree: gis/osmium-tool/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Nix92%

osmium

nix profile install nixpkgs#osmium
  • installed executable or alias match
  • Matched by: Osmium
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/os/osmium/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment