====== Installazione software GIS su Debian ======
DELETEME **ATTENZIONE:** gran parte di questi appunti sono obsoleti. Per installare il software sotto riportato su una Debian Lenny o una Debian Squeeze si possono utilizzare i pacchetti forniti dalla distribuzione oppure utilizzare dei backport, ad esempio quelli di [[http://debian.gfoss.it/]].
===== Pacchettizzazione Debian =====
==== GRASS ====
* Sito originale **[[http://grass.itc.it/|grass.itc.it]]**, versione stabile **6.2.1**
* **[[http://packages.debian.org/cgi-bin/search_packages.pl?searchon=names&version=all&release=all&keywords=grass|Debian]]** testing/unstable: **6.0.2-6**, experimental **6.2.1-1**
* **[[http://pkg-grass.alioth.debian.org/cgi-bin/wiki.pl/DebianGis|DebianGis]]** ha la versione **[[http://pkg-grass.alioth.debian.org/debian-gis/|6.0.2]]**
* **[[http://debian.gfoss.it/pool/main/g/grass/|debian.gfoss.it]]**, versione disponibile 6.2.1-1
DebianGis ha il suo **[[http://svn.debian.org/wsvn/pkg-grass/packages/|SVN]]**. I Debian files di GRASS provengono da uno di questi rami SVN:
svn export svn://svn.debian.org/pkg-grass/packages/grass/branches/6.2.0/debian
svn export svn://svn.debian.org/pkg-grass/packages/grass/tags/6.2.1-1/debian/
svn export svn://svn.debian.org/pkg-grass/packages/grass/trunk/debian/
Attualmente (2007-03-27) il trunk principale va bene per compilare grass 6.2.1 su Debian Etch.
===== Required packages =====
Aggiornamento **2006-01-15**.
==== Server ====
^ Software ^ Package ^ Apt source ^ Install ^ Latest ^ Note ^
^ [[http://www.postgresql.org/|PostgreSQL]] | postgresql-8.1 | [[http://ftp.us.debian.org/debian/|Debian Etch]] | 8.1 | 8.1 | SQL Database |
^ [[http://postgis.refractions.net/|PostGIS]] | libpostgis1-pg8.1_1.1.0 | [[http://pkg-grass.alioth.debian.org/debian-gis/|Debian-GIS]] | 1.1.0 | 1.1.0 | Adds support for geographic objects to the PostgreSQL database |
^ [[http://www.remotesensing.org/proj/|PROJ]] | proj | [[http://ftp.us.debian.org/debian/|Debian Etch]] | 4.4.9 | 4.4.9 | Cartographic projection filter and library |
^ [[http://geos.refractions.net/|GEOS]] | libgeos2c2a | [[http://ftp.us.debian.org/debian/|Debian Etch]] | 2.1.4 | **2.2.1** | Geometry Engine: C++ spatial functions and operators |
^ [[http://www.gdal.org/|GDAL]] | libgdal1c2a | [[http://ftp.us.debian.org/debian/|Debian Etch]] | 1.2.6 | **1.3.1** ((On debian-gis)) | Geospatial Data Abstraction Library is a translator library for raster geospatial data formats |
^ [[http://www.gdal.org/ogr/|OGR]] | gdal-bin | [[http://ftp.us.debian.org/debian/|Debian Etch]] | 1.2.6 | **1.3.1** ((On debian-gis)) | Geospatial Data Abstraction Library - Utility programs |
^ [[http://mapserver.gis.umn.edu/|MapServer]] | cgi-mapserver | [[http://ftp.us.debian.org/debian/|Debian Etch]] | 4.6.1 | **4.6.2** | Environment for building spatially-enabled internet applications |
==== Workstation ====
^ Software ^
^ GRASS |
^ QGIS |
^ Gpsbabel, Gpsman, Gpsmanshp, Gpstrans |
^ qgis-plugin-grass |
===== 2005-11-06 Debian Etch =====
We get some packages **on-hold**:
^ Package ^ Holded version ^ My be replace with ^^^
^ libpq3 | 7.4.7-6sarge1 | libpq3 | 1:7.4.8-17 | testing |
^ postgresql | 7.4.7-6sarge1 | postgresql-7.4 | 1:7.4.8-17 | testing |
^ postgresql-client | 7.4.7-6sarge1 | postgresql-client-7.4 | 1:7.4.8-17 | testing |
^ postgresql-contrib | 7.4.7-6sarge1 | postgresql-contrib-7.4 | 1:7.4.8-17 | testing |
==== mapserver 4.6 ====
Got and installed the following packages from Unstable:
* cgi-mapserver_4.6.1-4_i386.deb
* cpp-4.0_4.0.2-3_i386.deb
* g++-4.0_4.0.2-3_i386.deb
* gcc-4.0-base_4.0.2-3_i386.deb
* gcc-4.0_4.0.2-3_i386.deb
* libgcc1_4.0.2-3_i386.deb
* libstdc++6-4.0-dev_4.0.2-3_i386.deb
* libstdc++6_4.0.2-3_i386.deb
* mapserver-bin_4.6.1-3_i386.deb
* mapserver-doc_4.6.1-3_i386.deb
==== php4-mapscript ====
Got the package **php4-mapscript_4.6.1-4_i386.deb** from Unstable, but it is uninstallable because it depends from ''libapache-mod-php4'' (which we do not have, because we run Apache2) or from ''phpapi-20020918'' (which does not exists). Binary repackaged, changing only the depends:
* ''**libapache-mod-php4 | phpapi-20020918 | libapache2-mod-php4**''
The Apache module does not load, we have to edit ''**/etc/php4/apache2/php.ini**'' adding a line ''**extension=php_mapscript.so**'' and we have to create a symbolic link:
/usr/lib/php4/20050606/php_mapscript.so -> ../20020429/php_mapscript.so
==== libpostgis1-pg74 ====
Got the package **libpostgis1-pg74_1.0.0-1_i386.deb** from Debian Unstable, binary repackaged changing the depends:
* removed ''libgeos2''
* ''**libgeos2 (>= 2.1.1) | libgeos2c2**''