Skip to main content

Installation

Osm2pgsql works on Linux, Windows, macOS, and other systems. We recommend you always use the latest released version, currently 2.0.0.

Packaging status latest packaged version(s)

Installing on Linux Installing on Windows Installing on macOS Installing on FreeBSD Installing with Docker Installing from Source

Upgrading an Existing Installation

Usually you can upgrade an existing installation of osm2pgsql to a new version without worries. But sometimes the database format or something like it changes and you have to re-import the OSM data, create a new index or so. Please read the release information carefully. There is also an appendix in the manual with upgrading information.