Instructions for downloading and installing osm2pgsql on different architectures.
The manual contains all the details about running osm2pgsql.
The man pages have short overviews about running the osm2pgsql and osm2pgsql-replication commands.
The FAQ is a list of frequently asked questions and answers.
Blog posts, videos, and more on osm2pgsql from the community.
All releases with release notes and download links.
If you want to set up a whole rendering toolchain to create maps from OSM data, you need more than just osm2pgsql. Have a look at switch2osm to get started.
You'll need to understand how PostgreSQL works to make the most out of osm2pgsql. Understanding at least a bit of the SQL query language and something about PostgreSQL configuration is important.
The PostGIS plugin extends the PostgreSQL database with geometry data types such as `POINT` or `POLYGON`, the geometry operations that manipulate those data types, and special geometry indexes.