We need the following in place before we can proceed with the steps required for the recipe:
- Install osm2pgsql. If you are using Windows, follow the instructions available at http://wiki.openstreetmap.org/wiki/Osm2pgsql. If you are on Linux, you can install it from the preceding website or from packages. For example, for Debian distributions, use the following:
$ sudo apt-get install osm2pgsql
- For more information about the installation of the osm2pgsql command for other Linux distributions, macOS X, and MS Windows, please refer to the osm2pgsql web page available at http://wiki.openstreetmap.org/wiki/Osm2pgsql.
- It's most likely that you will need to compile osm2pgsql yourself as the one that is installed with your package ...