How To Install tilestache on Debian 9
Introduction
In this tutorial we learn how to install tilestache on Debian 9.
What is tilestache
tilestache is:
TileStache is a Python-based server application that can serve up map tiles based on rendered geographic data.
TileStache features:
- Renders Mapnik maps.
- Serves pre-rendered tiles out of MBTiles tilesets.
- Generates vector tiles from OGR datasources in GeoJSON usable in Polymaps.
- Caches to disk, Memcache, Amazon S3, MBTiles, and elsewhere.
- Serves tiles in Google-style spherical mercator projection and WGS84 lat/lon projection.
- Runs from CGI, mod_python, or Gunicorn WSGI.
- Uses metatiles.
There are three methods to install tilestache on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install tilestache Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install tilestache using apt-get by running the following command:
sudo apt-get -y install tilestache
Install tilestache Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install tilestache using apt by running the following command:
sudo apt -y install tilestache
Install tilestache Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install tilestache using aptitude by running the following command:
sudo aptitude -y install tilestache
How To Uninstall tilestache on Debian 9
To uninstall only the tilestache package we can use the following command:
sudo apt-get remove tilestache
Uninstall tilestache And Its Dependencies
To uninstall tilestache and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove tilestache
Remove tilestache Configurations and Data
To remove tilestache configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge tilestache
Remove tilestache configuration, data, and all of its dependencies
We can use the following command to remove tilestache configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge tilestache
Dependencies
tilestache have the following dependencies:
References
Summary
In this tutorial we learn how to install tilestache package on Debian 9 using different package management tools: apt, apt-get and aptitude.