ShineSoleil
ShineSoleil

Reputation: 115

can't find package apache2-dev-tile when building tile server for OpenStreetMap

I am trying to build a tile server for OpenStreetMap and this is the guide. But when I do sudo apt-get install libapache2-mod-tile, it tells me it can't find the package libapache2-mod-tile. Could anyone tell me why?

Here is my system information.

Distributor ID: Debian Description: Debian GNU/Linux 7.5 (wheezy) Release: 7.5 Codename: wheezy

If you need any more information, tell me, I'll show you. Thanks!

Upvotes: 1

Views: 1510

Answers (2)

scai
scai

Reputation: 21469

This guide is for Ubuntu, not Debian. The repository containing the relevant packages is added via ppa, which isn't supported by Debian. And even if you manage to install these packages, be aware that they have been created for Ubuntu and can cause problems on Debian (wrong dependencies, conflicting files etc.).

The Debian wiki contains an inofficial guide for setting up an OSM tile server on Debian. Alternatively try one of the other options at switch2osm.org/serving-tiles/.

Upvotes: 1

Flup
Flup

Reputation: 625

The wiki page describes mod_tile as 'a custom Apache module', so it's not available in your average Linux distro's repositories. It's certainly not in the Debian ones.

There are instructions on that page for building the module from source.

Upvotes: 1

Related Questions