<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://grasswiki.osgeo.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=%E2%9A%A0%EF%B8%8FTimmie</id>
	<title>GRASS-Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://grasswiki.osgeo.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=%E2%9A%A0%EF%B8%8FTimmie"/>
	<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/wiki/Special:Contributions/%E2%9A%A0%EF%B8%8FTimmie"/>
	<updated>2026-04-19T14:23:50Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Ubuntu_Packaging&amp;diff=18439</id>
		<title>Ubuntu Packaging</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Ubuntu_Packaging&amp;diff=18439"/>
		<updated>2013-04-26T21:15:38Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: /* GRASS PPA Packages */  bug reporting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== News / Announcements ==&lt;br /&gt;
&lt;br /&gt;
'''We need voluteers and support. Please see: [[Ubuntu_Packaging#Actions_where_help_is_needed | Actions needing helping hands]]!'''&lt;br /&gt;
&lt;br /&gt;
== Organisation ==&lt;br /&gt;
*  GRASS packages are provided by different repositories.&lt;br /&gt;
*  They are mostly distinguished by their level of up-to-dateness in respect to the GRASS source code.&lt;br /&gt;
&lt;br /&gt;
== Overview and Sources ==&lt;br /&gt;
&lt;br /&gt;
An overview is given in the following table:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Repository &lt;br /&gt;
! Type&lt;br /&gt;
! Update Frequency&lt;br /&gt;
! Status&lt;br /&gt;
! Current version&lt;br /&gt;
! Source&lt;br /&gt;
! Details&lt;br /&gt;
! Link &lt;br /&gt;
|-&lt;br /&gt;
| Official Ubuntu Repositories&lt;br /&gt;
| universe&lt;br /&gt;
| Only updated before each Ubuntu release&lt;br /&gt;
| Stable at time of import&lt;br /&gt;
| 6.4.2-2&lt;br /&gt;
| Imported from Debian repositories&lt;br /&gt;
|  &lt;br /&gt;
| [http://packages.ubuntu.com/grass Overview]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| UbuntuGIS&lt;br /&gt;
| stable&lt;br /&gt;
| Upon request&lt;br /&gt;
| Stable at time of packaging &lt;br /&gt;
| 6.4.2&lt;br /&gt;
| &amp;lt;ubuntu at lists.osgeo.org&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~ubuntugis/+archive/ppa ubuntugis-stable]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| UbuntuGIS&lt;br /&gt;
| unstable&lt;br /&gt;
| Upon request&lt;br /&gt;
| Unstable at time of packaging&lt;br /&gt;
| 6.4.2~x&lt;br /&gt;
| &amp;lt;ubuntu at lists.osgeo.org&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable ubuntugis-unstable]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| UbuntuGIS&lt;br /&gt;
| testing&lt;br /&gt;
| Upon request&lt;br /&gt;
| Very unstable at time of packaging&lt;br /&gt;
| 6.4.3-1~x&amp;lt;br&amp;gt;7.0-1~x&lt;br /&gt;
| &amp;lt;ubuntu at lists.osgeo.org&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing ubuntugis-testing]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| GRASS PPA&lt;br /&gt;
| stable&lt;br /&gt;
| Daily upon change of GRASS source code&lt;br /&gt;
| Most recent fixes and backports to stable  series&lt;br /&gt;
| 6.4.2+2 &lt;br /&gt;
| Imported from [http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 GRASS SVN of releasebranch_6_4]&lt;br /&gt;
| &lt;br /&gt;
| [https://code.launchpad.net/~grass/+archive/grass-stable GRASS Packages: Stable Series]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| GRASS PPA&lt;br /&gt;
| unstable&lt;br /&gt;
| Daily upon change of GRASS source code&lt;br /&gt;
| Very unstable but latest development code&lt;br /&gt;
| 7.0.x&lt;br /&gt;
| Imported from [https://svn.osgeo.org/grass/grass/trunk GRASS SVN trunk]&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~grass/+archive/grass-devel GRASS Packages: Development Series]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Official Debian Repositories&lt;br /&gt;
| stable/testing/unstable&lt;br /&gt;
| Follows official GRASS releases&lt;br /&gt;
| Upstream source of Ubuntu (and derivatives) packages&lt;br /&gt;
| 6.4.2-2&lt;br /&gt;
| The DebianGIS Team (mainly Frankie and Hamish)&lt;br /&gt;
| http://packages.debian.org/grass&lt;br /&gt;
| [http://wiki.debian.org/DebianGis DebianGIS]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= GRASS on Launchpad (LP) =&lt;br /&gt;
== Organisation ==&lt;br /&gt;
*  [https://launchpad.net/~grass GRASS team]&lt;br /&gt;
**  GRASS team&lt;br /&gt;
**  individuals which are dedicated to work on GRASS packaging for Ubuntu&lt;br /&gt;
**  Any user and developer is free and welcome to join!&lt;br /&gt;
**  New active members are needed!&lt;br /&gt;
**  Umbrella ''organisation'' for activities around GRASS on Launchpad&lt;br /&gt;
**  administers the [https://launchpad.net/grass GRASS GIS Project]&lt;br /&gt;
*  [https://launchpad.net/grass GRASS GIS Project]&lt;br /&gt;
**  The GRASS [https://help.launchpad.net/Projects LP project]&lt;br /&gt;
**  Umbrella project for all activities related to the GRASS core such as&lt;br /&gt;
***  code: [https://code.launchpad.net/grass Bazaar branches of GRASS GIS Project]&lt;br /&gt;
***  the respecitive debian files for the build packages&lt;br /&gt;
*  other future projects could be&lt;br /&gt;
**  Automatic packaging of [http://grasswiki.osgeo.org/wiki/AddOns AddOns]&lt;br /&gt;
**  Further integration of GRASS in Ubntu&lt;br /&gt;
**  Link to Live-CD projects such as [http://live.osgeo.org/ OSGeo-Live]&lt;br /&gt;
&lt;br /&gt;
== Others (UbuntuGIS) ==&lt;br /&gt;
* [https://wiki.ubuntu.com/UbuntuGIS https://wiki.ubuntu.com/UbuntuGIS]&lt;br /&gt;
* [http://trac.osgeo.org/ubuntugis/ http://trac.osgeo.org/ubuntugis/]&lt;br /&gt;
* [https://launchpad.net/~ubuntugis https://launchpad.net/~ubuntugis]&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
 The source code is managed in a structure corresponding to the above organisation&lt;br /&gt;
&lt;br /&gt;
*  Latest SVN imports&lt;br /&gt;
**  [https://code.launchpad.net/~grass/grass/releasebranch_6_4 stable] from [http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 SVN releasebranch_6_4]&lt;br /&gt;
**  [https://code.launchpad.net/~grass/grass/grass_trunk development] from [https://svn.osgeo.org/grass/grass/trunk SVN ][https://svn.osgeo.org/grass/grass/trunk trunk]&lt;br /&gt;
*  [https://code.launchpad.net/ubuntu/+source/grass Bazaar branches for “grass” package in Ubuntu]&lt;br /&gt;
**  Used by Ubuntu packages for the official packages&lt;br /&gt;
&lt;br /&gt;
= GRASS Packaging =&lt;br /&gt;
== Offical Ubuntu Packages ==&lt;br /&gt;
&lt;br /&gt;
These are based on the DebianGIS packages by Frankie and Hamish, packaging rules stored in DebianGIS's git repo -- see the debian/README.debian file in the GRASS source code for details. The official Ubuntu packages are automatically rebuilt from the current Debian packages every six months. If a newer version shows up in the Debian archives before the upcoming Ubuntu release is frozen, it is possible to file a request for the Ubuntu maintainers to re-pull the newer version from Debian (if you can get their attention).&lt;br /&gt;
&lt;br /&gt;
''Please base all downstream builds on these packaging rules'', with appropriate version number changes to the top entry of the debian/changelog file to add &amp;quot;ubuntu&amp;quot;, +svn rev, and whatever else special identifier is needed to show the package's heritage and difference from the official ones.&lt;br /&gt;
&lt;br /&gt;
Please pass up and bug fixes and wish to bugs.debian.org against the grass source package. Thanks.&lt;br /&gt;
&lt;br /&gt;
== UbuntuGIS Packages ==&lt;br /&gt;
To be added.&lt;br /&gt;
&lt;br /&gt;
== GRASS PPA Packages ==&lt;br /&gt;
* [http://Packaging/SourceBuilds/Recipes Built by Launchpad] using [https://code.launchpad.net/~grass/+recipes GRASS build recipes]&lt;br /&gt;
* Either built daily (stable code) or upon request (development code)&lt;br /&gt;
&lt;br /&gt;
=== Process ===&lt;br /&gt;
#  GRASS source code is regularly imported upon change by LP (destination: see above)&lt;br /&gt;
#  If source has changed, the package is build by&lt;br /&gt;
##  nesting the debian package files (e.g. from [https://code.launchpad.net/~grass/grass/grass64_release_debian lp:~grass/grass/grass64_release_debian] for the 6.4.x stable series) in the original source (e.g. [https://code.launchpad.net/~grass/grass/releasebranch_6_4 lp:~grass/grass/releasebranch_6_4]  for the 6.4.x stable series)&lt;br /&gt;
##  run the build process on LP for the chosen Ubuntu releases according to the instructions in the debian files (e.g. [http://bazaar.launchpad.net/~grass/grass/grass64_release_debian/files ~grass/grass/grass64_release_debian])&lt;br /&gt;
##  Upload the package to the respective archive / PPA (e.g. [https://code.launchpad.net/~grass/+archive/grass-stable GRASS Packages: Stable Series] for  6.4.x stable series)&lt;br /&gt;
&lt;br /&gt;
=== What do to on errors in the packaging process ===&lt;br /&gt;
* If a package build fails, its most likely that there were changes in the upstream GRASS SVN &lt;br /&gt;
* Then the debian files outlined above must be adapted:&lt;br /&gt;
** branch the code of the debian files Bazaar (bzr) repository from launchpad&lt;br /&gt;
** make the necessary changes locally&lt;br /&gt;
** prepare the source running the recipe locally using&lt;br /&gt;
*** bzr dailydeb&lt;br /&gt;
*** bzr build&lt;br /&gt;
** tests the build process on your machine using &lt;br /&gt;
*** pbuilder (recommended), or&lt;br /&gt;
*** dpkg-buildpackage (etc.)&lt;br /&gt;
&lt;br /&gt;
=== Actions where help is needed ===&lt;br /&gt;
Outstanding tasks are:&lt;br /&gt;
&lt;br /&gt;
* Sync to the latest [http://wiki.debian.org/DebianGis DebianGIS] build rules&lt;br /&gt;
* Check the correct update &amp;amp; daily builds for GRASS 6.4.x&lt;br /&gt;
* Check if the upgrade to the next Ubntu release (13.04) does not affect the packages&lt;br /&gt;
* make the GRASS 7.0.x package failsave so that it can be activated for daily builds&lt;br /&gt;
&lt;br /&gt;
=== Report bugs and issues ===&lt;br /&gt;
&lt;br /&gt;
* Report bugs only related to packages installed from the GRASS PPA on he [https://bugs.launchpad.net/grass/+filebug Launchpad bug tracker].&lt;br /&gt;
* Bugs related to GRASS functionality shall be reported directly to [http://trac.osgeo.org/grass/newticket GRASS trac]&lt;br /&gt;
&lt;br /&gt;
'''Interested contributors, please come in here and give something back to the GRASS community!'''&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[GRASS in Debian]]&lt;br /&gt;
* [[Compile and Install Ubuntu]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Installation]]&lt;br /&gt;
[[Category: Ubuntu]]&lt;br /&gt;
[[Category: Debian]]&lt;br /&gt;
[[Category: Linux]]&lt;br /&gt;
[[Category: Voluteers]]&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Ubuntu_Packaging&amp;diff=18376</id>
		<title>Ubuntu Packaging</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Ubuntu_Packaging&amp;diff=18376"/>
		<updated>2013-04-13T13:13:06Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: /* Organisation */ list&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== News / Announcements ==&lt;br /&gt;
&lt;br /&gt;
'''We need voluteers and support. Please see: [[Ubuntu_Packaging#Actions_where_help_is_needed | Actions needing helping hands]]!'''&lt;br /&gt;
&lt;br /&gt;
== Organisation ==&lt;br /&gt;
*  GRASS packages are provided by different repositories.&lt;br /&gt;
*  They are mostely distihuished by their level of up-to-dateness in respect to the GRASS source code.&lt;br /&gt;
&lt;br /&gt;
== Overview and Sources ==&lt;br /&gt;
&lt;br /&gt;
An overview is given in the following table:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Repository &lt;br /&gt;
! Type&lt;br /&gt;
! Update Frequency&lt;br /&gt;
! Status&lt;br /&gt;
! Current version&lt;br /&gt;
! Source&lt;br /&gt;
! Details&lt;br /&gt;
! Link &lt;br /&gt;
|-&lt;br /&gt;
| Official Ubuntu  Repositories&lt;br /&gt;
| universe&lt;br /&gt;
| Only updated before each Ubuntu release&lt;br /&gt;
| Stable at time of import&lt;br /&gt;
| 6.4.2-2&lt;br /&gt;
| Imported from Debian repositories&lt;br /&gt;
|  &lt;br /&gt;
| [http://packages.ubuntu.com/search?keywords=grass&amp;amp;searchon=names&amp;amp;exact=1&amp;amp;suite=all&amp;amp;section=all Overview]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| UbuntuGIS&lt;br /&gt;
| stable&lt;br /&gt;
| ?&lt;br /&gt;
| Stable at time of packaging &lt;br /&gt;
| 6.4.2&lt;br /&gt;
| ?&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~ubuntugis/+archive/ppa ubuntugis-stable]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| UbuntuGIS&lt;br /&gt;
| unstable&lt;br /&gt;
| ?&lt;br /&gt;
| Unstable at time of packaging&lt;br /&gt;
| 6.4.2~x&lt;br /&gt;
| ?&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable ubuntugis-unstable]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| UbuntuGIS&lt;br /&gt;
| testing&lt;br /&gt;
| ?&lt;br /&gt;
| Very unstable at time of packaging&lt;br /&gt;
| 6.4.3-1~x&amp;lt;br&amp;gt;7.0-1~x&lt;br /&gt;
| ?&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing ubuntugis-testing]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| GRASS PPA&lt;br /&gt;
| stable&lt;br /&gt;
| Daily upon change of GRASS source code&lt;br /&gt;
| Most recent fixes and backports to stable  series&lt;br /&gt;
| 6.4.2+2 &lt;br /&gt;
| Imported from [http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 GRASS SVN of releasebranch_6_4]&lt;br /&gt;
| &lt;br /&gt;
| [https://code.launchpad.net/~grass/+archive/grass-stable GRASS Packages: Stable Series]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| GRASS PPA&lt;br /&gt;
| unstable&lt;br /&gt;
| Daily upon change of GRASS source code&lt;br /&gt;
| Very unstable but latest development code&lt;br /&gt;
| 7.0.x&lt;br /&gt;
| Imported from [https://svn.osgeo.org/grass/grass/trunk GRASS SVN trunk]&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~grass/+archive/grass-devel GRASS Packages: Development Series]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= GRASS on Launchpad (LP) =&lt;br /&gt;
== Organisation ==&lt;br /&gt;
*  [https://launchpad.net/~grass GRASS team]&lt;br /&gt;
**  GRASS team&lt;br /&gt;
**  individuals which are dedicated to work on GRASS packaging for Ubuntu&lt;br /&gt;
**  Any user and developer is free and welcome to join!&lt;br /&gt;
**  New active members are needed!&lt;br /&gt;
**  Umbrella ''organisation'' for activities around GRASS on Launchpad&lt;br /&gt;
**  administers the [https://launchpad.net/grass GRASS GIS Project]&lt;br /&gt;
*  [https://launchpad.net/grass GRASS GIS Project]&lt;br /&gt;
**  The GRASS [https://help.launchpad.net/Projects LP project]&lt;br /&gt;
**  Umbrella project for all activities related to the GRASS core such as&lt;br /&gt;
***  code: [https://code.launchpad.net/grass Bazaar branches of GRASS GIS Project]&lt;br /&gt;
***  the respecitive debian files for the build packages&lt;br /&gt;
*  other future projects could be&lt;br /&gt;
**  Automatic packaging of [http://grasswiki.osgeo.org/wiki/AddOns AddOns]&lt;br /&gt;
**  Further integration of GRASS in Ubntu&lt;br /&gt;
**  Link to Live-CD projects such as [http://live.osgeo.org/ OSGeo-Live]&lt;br /&gt;
&lt;br /&gt;
== Others (UbuntuGIS) ==&lt;br /&gt;
* [https://wiki.ubuntu.com/UbuntuGIS https://wiki.ubuntu.com/UbuntuGIS]&lt;br /&gt;
* [http://trac.osgeo.org/ubuntugis/ http://trac.osgeo.org/ubuntugis/]&lt;br /&gt;
* [https://launchpad.net/~ubuntugis https://launchpad.net/~ubuntugis]&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
 The source code is managed in a structure corresponding to the above organisation&lt;br /&gt;
&lt;br /&gt;
*  Latest SVN imports&lt;br /&gt;
**  [https://code.launchpad.net/~grass/grass/releasebranch_6_4 stable] from [http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 SVN releasebranch_6_4]&lt;br /&gt;
**  [https://code.launchpad.net/~grass/grass/grass_trunk development] from [https://svn.osgeo.org/grass/grass/trunk SVN ][https://svn.osgeo.org/grass/grass/trunk trunk]&lt;br /&gt;
*  [https://code.launchpad.net/ubuntu/+source/grass Bazaar branches for “grass” package in Ubuntu]&lt;br /&gt;
**  Used by Ubuntu packages for the official packages&lt;br /&gt;
&lt;br /&gt;
= GRASS Packaging =&lt;br /&gt;
== Offical Ubuntu Packages ==&lt;br /&gt;
&lt;br /&gt;
These are based on the DebianGIS packages by Frankie and Hamish, packaging rules stored in DebianGIS's git repo -- see the debian/README.debian file in the GRASS source code for details. The official Ubuntu packages are automatically rebuilt from the current Debian packages every six months. If a newer version shows up in the Debian archives before the upcoming Ubuntu release is frozen, it is possible to file a request for the Ubuntu maintainers to re-pull the newer version from Debian (if you can get their attention).&lt;br /&gt;
&lt;br /&gt;
''Please base all downstream builds on these packaging rules'', with appropriate version number changes to the top entry of the debian/changelog file to add &amp;quot;ubuntu&amp;quot;, +svn rev, and whatever else special identifier is needed to show the package's heritage and difference from the official ones.&lt;br /&gt;
&lt;br /&gt;
Please pass up and bug fixes and wish to bugs.debian.org against the grass source package. Thanks.&lt;br /&gt;
&lt;br /&gt;
== UbuntuGIS Packages ==&lt;br /&gt;
To be added.&lt;br /&gt;
&lt;br /&gt;
== GRASS PPA Packages ==&lt;br /&gt;
* [http://Packaging/SourceBuilds/Recipes Built by Launchpad] using [https://code.launchpad.net/~grass/+recipes GRASS build recipes]&lt;br /&gt;
* Either built daily (stable code) or upon request (development code)&lt;br /&gt;
&lt;br /&gt;
=== Process ===&lt;br /&gt;
#  GRASS source code is regularly imported upon change by LP (destination: see above)&lt;br /&gt;
#  If source has changed, the package is build by&lt;br /&gt;
##  nesting the debian package files (e.g. from [https://code.launchpad.net/~grass/grass/grass64_release_debian lp:~grass/grass/grass64_release_debian] for the 6.4.x stable series) in the original source (e.g. [https://code.launchpad.net/~grass/grass/releasebranch_6_4 lp:~grass/grass/releasebranch_6_4]  for the 6.4.x stable series)&lt;br /&gt;
##  run the build process on LP for the chosen Ubuntu releases according to the instructions in the debian files (e.g. [http://bazaar.launchpad.net/~grass/grass/grass64_release_debian/files ~grass/grass/grass64_release_debian])&lt;br /&gt;
##  Upload the package to the respective archive / PPA (e.g. [https://code.launchpad.net/~grass/+archive/grass-stable GRASS Packages: Stable Series] for  6.4.x stable series)&lt;br /&gt;
&lt;br /&gt;
=== What do to on errors in the packaging process ===&lt;br /&gt;
* If a package build fails, its most likely that there were changes in the upstream GRASS SVN &lt;br /&gt;
* Then the debian files outlined above must be adapted:&lt;br /&gt;
** branch the code of the debian files Bazaar (bzr) repository from launchpad&lt;br /&gt;
** make the necessary changes locally&lt;br /&gt;
** prepare the source running the recipe locally using&lt;br /&gt;
*** bzr dailydeb&lt;br /&gt;
*** bzr build&lt;br /&gt;
** tests the build process on your machine using &lt;br /&gt;
*** pbuilder (recommended), or&lt;br /&gt;
*** dpkg-buildpackage (etc.)&lt;br /&gt;
&lt;br /&gt;
=== Actions where help is needed ===&lt;br /&gt;
Outstanding tasks are:&lt;br /&gt;
&lt;br /&gt;
* check the correct update &amp;amp; daily builds for GRASS 6.4.x&lt;br /&gt;
* Check if the upgrade to the next Ubntu release (13.04) does not affect the packages&lt;br /&gt;
* make the GRASS 7.0.x package failsave so that it can be activated for daily builds&lt;br /&gt;
&lt;br /&gt;
'''Interested contributors, please come in here and give something back to the GRASS community!'''&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[Grass_in_Debian | Grass in Debian]]&lt;br /&gt;
* [[Compile_and_Install_Ubunt0u | Compile and Install Ubuntu]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Installation]]&lt;br /&gt;
[[Category: Ubuntu]]&lt;br /&gt;
[[Category: Debian]]&lt;br /&gt;
[[Category: Linux]]&lt;br /&gt;
[[Category: Voluteers]]&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Ubuntu_Packaging&amp;diff=18375</id>
		<title>Ubuntu Packaging</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Ubuntu_Packaging&amp;diff=18375"/>
		<updated>2013-04-13T13:11:31Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: /* Organisation */ list&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== News / Announcements ==&lt;br /&gt;
&lt;br /&gt;
'''We need voluteers and support. Please see: [[Ubuntu_Packaging#Actions_where_help_is_needed | Actions needing helping hands]]!'''&lt;br /&gt;
&lt;br /&gt;
== Organisation ==&lt;br /&gt;
*  GRASS packages are provided by different repositories.&lt;br /&gt;
*  They are mostely distihuished by their level of up-to-dateness in respect to the GRASS source code.&lt;br /&gt;
&lt;br /&gt;
== Overview and Sources ==&lt;br /&gt;
&lt;br /&gt;
An overview is given in the following table:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Repository &lt;br /&gt;
! Type&lt;br /&gt;
! Update Frequency&lt;br /&gt;
! Status&lt;br /&gt;
! Current version&lt;br /&gt;
! Source&lt;br /&gt;
! Details&lt;br /&gt;
! Link &lt;br /&gt;
|-&lt;br /&gt;
| Official Ubuntu  Repositories&lt;br /&gt;
| universe&lt;br /&gt;
| Only updated before each Ubuntu release&lt;br /&gt;
| Stable at time of import&lt;br /&gt;
| 6.4.2-2&lt;br /&gt;
| Imported from Debian repositories&lt;br /&gt;
|  &lt;br /&gt;
| [http://packages.ubuntu.com/search?keywords=grass&amp;amp;searchon=names&amp;amp;exact=1&amp;amp;suite=all&amp;amp;section=all Overview]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| UbuntuGIS&lt;br /&gt;
| stable&lt;br /&gt;
| ?&lt;br /&gt;
| Stable at time of packaging &lt;br /&gt;
| 6.4.2&lt;br /&gt;
| ?&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~ubuntugis/+archive/ppa ubuntugis-stable]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| UbuntuGIS&lt;br /&gt;
| unstable&lt;br /&gt;
| ?&lt;br /&gt;
| Unstable at time of packaging&lt;br /&gt;
| 6.4.2~x&lt;br /&gt;
| ?&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable ubuntugis-unstable]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| UbuntuGIS&lt;br /&gt;
| testing&lt;br /&gt;
| ?&lt;br /&gt;
| Very unstable at time of packaging&lt;br /&gt;
| 6.4.3-1~x&amp;lt;br&amp;gt;7.0-1~x&lt;br /&gt;
| ?&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing ubuntugis-testing]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| GRASS PPA&lt;br /&gt;
| stable&lt;br /&gt;
| Daily upon change of GRASS source code&lt;br /&gt;
| Most recent fixes and backports to stable  series&lt;br /&gt;
| 6.4.2+2 &lt;br /&gt;
| Imported from [http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 GRASS SVN of releasebranch_6_4]&lt;br /&gt;
| &lt;br /&gt;
| [https://code.launchpad.net/~grass/+archive/grass-stable GRASS Packages: Stable Series]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| GRASS PPA&lt;br /&gt;
| unstable&lt;br /&gt;
| Daily upon change of GRASS source code&lt;br /&gt;
| Very unstable but latest development code&lt;br /&gt;
| 7.0.x&lt;br /&gt;
| Imported from [https://svn.osgeo.org/grass/grass/trunk GRASS SVN trunk]&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~grass/+archive/grass-devel GRASS Packages: Development Series]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= GRASS on Launchpad (LP) =&lt;br /&gt;
== Organisation ==&lt;br /&gt;
*  [https://launchpad.net/~grass GRASS team]&lt;br /&gt;
**  GRASS team&lt;br /&gt;
**  individuals which are dedicated to work on GRASS packaging for Ubuntu&lt;br /&gt;
**  Any user and developer is free and welcome to join!&lt;br /&gt;
**  New active members are needed!&lt;br /&gt;
**  Umbrella ''organisation'' for activities around GRASS on Launchpad&lt;br /&gt;
**  administers the [https://launchpad.net/grass GRASS GIS Project]&lt;br /&gt;
*  [https://launchpad.net/grass GRASS GIS Project]&lt;br /&gt;
**  The GRASS [https://help.launchpad.net/Projects LP project]&lt;br /&gt;
**  Umbrella project for all activities related to the GRASS core such as&lt;br /&gt;
***  code: [https://code.launchpad.net/grass Bazaar branches of GRASS GIS Project]&lt;br /&gt;
*  other future projects could be&lt;br /&gt;
**  Automatic packaging of [http://grasswiki.osgeo.org/wiki/AddOns AddOns]&lt;br /&gt;
**  Further integration of GRASS in Ubntu&lt;br /&gt;
**  Link to Live-CD projects such as [http://live.osgeo.org/ OSGeo-Live]&lt;br /&gt;
&lt;br /&gt;
== Others (UbuntuGIS) ==&lt;br /&gt;
* [https://wiki.ubuntu.com/UbuntuGIS https://wiki.ubuntu.com/UbuntuGIS]&lt;br /&gt;
* [http://trac.osgeo.org/ubuntugis/ http://trac.osgeo.org/ubuntugis/]&lt;br /&gt;
* [https://launchpad.net/~ubuntugis https://launchpad.net/~ubuntugis]&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
 The source code is managed in a structure corresponding to the above organisation&lt;br /&gt;
&lt;br /&gt;
*  Latest SVN imports&lt;br /&gt;
**  [https://code.launchpad.net/~grass/grass/releasebranch_6_4 stable] from [http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 SVN releasebranch_6_4]&lt;br /&gt;
**  [https://code.launchpad.net/~grass/grass/grass_trunk development] from [https://svn.osgeo.org/grass/grass/trunk SVN ][https://svn.osgeo.org/grass/grass/trunk trunk]&lt;br /&gt;
*  [https://code.launchpad.net/ubuntu/+source/grass Bazaar branches for “grass” package in Ubuntu]&lt;br /&gt;
**  Used by Ubuntu packages for the official packages&lt;br /&gt;
&lt;br /&gt;
= GRASS Packaging =&lt;br /&gt;
== Offical Ubuntu Packages ==&lt;br /&gt;
&lt;br /&gt;
These are based on the DebianGIS packages by Frankie and Hamish, packaging rules stored in DebianGIS's git repo -- see the debian/README.debian file in the GRASS source code for details. The official Ubuntu packages are automatically rebuilt from the current Debian packages every six months. If a newer version shows up in the Debian archives before the upcoming Ubuntu release is frozen, it is possible to file a request for the Ubuntu maintainers to re-pull the newer version from Debian (if you can get their attention).&lt;br /&gt;
&lt;br /&gt;
''Please base all downstream builds on these packaging rules'', with appropriate version number changes to the top entry of the debian/changelog file to add &amp;quot;ubuntu&amp;quot;, +svn rev, and whatever else special identifier is needed to show the package's heritage and difference from the official ones.&lt;br /&gt;
&lt;br /&gt;
Please pass up and bug fixes and wish to bugs.debian.org against the grass source package. Thanks.&lt;br /&gt;
&lt;br /&gt;
== UbuntuGIS Packages ==&lt;br /&gt;
To be added.&lt;br /&gt;
&lt;br /&gt;
== GRASS PPA Packages ==&lt;br /&gt;
* [http://Packaging/SourceBuilds/Recipes Built by Launchpad] using [https://code.launchpad.net/~grass/+recipes GRASS build recipes]&lt;br /&gt;
* Either built daily (stable code) or upon request (development code)&lt;br /&gt;
&lt;br /&gt;
=== Process ===&lt;br /&gt;
#  GRASS source code is regularly imported upon change by LP (destination: see above)&lt;br /&gt;
#  If source has changed, the package is build by&lt;br /&gt;
##  nesting the debian package files (e.g. from [https://code.launchpad.net/~grass/grass/grass64_release_debian lp:~grass/grass/grass64_release_debian] for the 6.4.x stable series) in the original source (e.g. [https://code.launchpad.net/~grass/grass/releasebranch_6_4 lp:~grass/grass/releasebranch_6_4]  for the 6.4.x stable series)&lt;br /&gt;
##  run the build process on LP for the chosen Ubuntu releases according to the instructions in the debian files (e.g. [http://bazaar.launchpad.net/~grass/grass/grass64_release_debian/files ~grass/grass/grass64_release_debian])&lt;br /&gt;
##  Upload the package to the respective archive / PPA (e.g. [https://code.launchpad.net/~grass/+archive/grass-stable GRASS Packages: Stable Series] for  6.4.x stable series)&lt;br /&gt;
&lt;br /&gt;
=== What do to on errors in the packaging process ===&lt;br /&gt;
* If a package build fails, its most likely that there were changes in the upstream GRASS SVN &lt;br /&gt;
* Then the debian files outlined above must be adapted:&lt;br /&gt;
** branch the code of the debian files Bazaar (bzr) repository from launchpad&lt;br /&gt;
** make the necessary changes locally&lt;br /&gt;
** prepare the source running the recipe locally using&lt;br /&gt;
*** bzr dailydeb&lt;br /&gt;
*** bzr build&lt;br /&gt;
** tests the build process on your machine using &lt;br /&gt;
*** pbuilder (recommended), or&lt;br /&gt;
*** dpkg-buildpackage (etc.)&lt;br /&gt;
&lt;br /&gt;
=== Actions where help is needed ===&lt;br /&gt;
Outstanding tasks are:&lt;br /&gt;
&lt;br /&gt;
* check the correct update &amp;amp; daily builds for GRASS 6.4.x&lt;br /&gt;
* Check if the upgrade to the next Ubntu release (13.04) does not affect the packages&lt;br /&gt;
* make the GRASS 7.0.x package failsave so that it can be activated for daily builds&lt;br /&gt;
&lt;br /&gt;
'''Interested contributors, please come in here and give something back to the GRASS community!'''&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[Grass_in_Debian | Grass in Debian]]&lt;br /&gt;
* [[Compile_and_Install_Ubunt0u | Compile and Install Ubuntu]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Installation]]&lt;br /&gt;
[[Category: Ubuntu]]&lt;br /&gt;
[[Category: Debian]]&lt;br /&gt;
[[Category: Linux]]&lt;br /&gt;
[[Category: Voluteers]]&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Category:Voluteers&amp;diff=18374</id>
		<title>Category:Voluteers</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Category:Voluteers&amp;diff=18374"/>
		<updated>2013-04-13T13:04:35Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: voluteers category explained&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Page listing ativities requireing help and support from voluteers:&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Ubuntu_Packaging&amp;diff=18373</id>
		<title>Ubuntu Packaging</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Ubuntu_Packaging&amp;diff=18373"/>
		<updated>2013-04-13T13:02:29Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: added categories&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== News / Announcements ==&lt;br /&gt;
&lt;br /&gt;
'''We need voluteers and support. Please see: [[Ubuntu_Packaging#Actions_where_help_is_needed | Actions needing helping hands]]!'''&lt;br /&gt;
&lt;br /&gt;
== Organisation ==&lt;br /&gt;
*  GRASS packages are provided by different repositories.&lt;br /&gt;
*  They are mostely distihuished by their level of up-to-dateness in respect to the GRASS source code.&lt;br /&gt;
&lt;br /&gt;
== Overview and Sources ==&lt;br /&gt;
&lt;br /&gt;
An overview is given in the following table:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Repository &lt;br /&gt;
! Type&lt;br /&gt;
! Update Frequency&lt;br /&gt;
! Status&lt;br /&gt;
! Current version&lt;br /&gt;
! Source&lt;br /&gt;
! Details&lt;br /&gt;
! Link &lt;br /&gt;
|-&lt;br /&gt;
| Official Ubuntu  Repositories&lt;br /&gt;
| universe&lt;br /&gt;
| Only updated before each Ubuntu release&lt;br /&gt;
| Stable at time of import&lt;br /&gt;
| 6.4.2-2&lt;br /&gt;
| Imported from Debian repositories&lt;br /&gt;
|  &lt;br /&gt;
| [http://packages.ubuntu.com/search?keywords=grass&amp;amp;searchon=names&amp;amp;exact=1&amp;amp;suite=all&amp;amp;section=all Overview]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| UbuntuGIS&lt;br /&gt;
| stable&lt;br /&gt;
| ?&lt;br /&gt;
| Stable at time of packaging &lt;br /&gt;
| 6.4.2&lt;br /&gt;
| ?&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~ubuntugis/+archive/ppa ubuntugis-stable]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| UbuntuGIS&lt;br /&gt;
| unstable&lt;br /&gt;
| ?&lt;br /&gt;
| Unstable at time of packaging&lt;br /&gt;
| 6.4.2~x&lt;br /&gt;
| ?&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable ubuntugis-unstable]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| UbuntuGIS&lt;br /&gt;
| testing&lt;br /&gt;
| ?&lt;br /&gt;
| Very unstable at time of packaging&lt;br /&gt;
| 6.4.3-1~x&amp;lt;br&amp;gt;7.0-1~x&lt;br /&gt;
| ?&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing ubuntugis-testing]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| GRASS PPA&lt;br /&gt;
| stable&lt;br /&gt;
| Daily upon change of GRASS source code&lt;br /&gt;
| Most recent fixes and backports to stable  series&lt;br /&gt;
| 6.4.2+2 &lt;br /&gt;
| Imported from [http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 GRASS SVN of releasebranch_6_4]&lt;br /&gt;
| &lt;br /&gt;
| [https://code.launchpad.net/~grass/+archive/grass-stable GRASS Packages: Stable Series]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| GRASS PPA&lt;br /&gt;
| unstable&lt;br /&gt;
| Daily upon change of GRASS source code&lt;br /&gt;
| Very unstable but latest development code&lt;br /&gt;
| 7.0.x&lt;br /&gt;
| Imported from [https://svn.osgeo.org/grass/grass/trunk GRASS SVN trunk]&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~grass/+archive/grass-devel GRASS Packages: Development Series]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= GRASS on Launchpad (LP) =&lt;br /&gt;
== Organisation ==&lt;br /&gt;
*  [https://launchpad.net/~grass GRASS team]&lt;br /&gt;
**  GRASS team&lt;br /&gt;
**  individuals which are dedicated to work on GRASS packaging for Ubuntu&lt;br /&gt;
**  Any user and developer is free and welcome to join!&lt;br /&gt;
**  New active members are needed!&lt;br /&gt;
**  Umbrella ''organisation'' for activities around GRASS on Launchpad&lt;br /&gt;
*  [https://launchpad.net/grass GRASS GIS Project]&lt;br /&gt;
**  The GRASS [https://help.launchpad.net/Projects LP project]&lt;br /&gt;
**  Umbrella project for all activities related to the GRASS core such as&lt;br /&gt;
***  code: [https://code.launchpad.net/grass Bazaar branches of GRASS GIS Project]&lt;br /&gt;
*  other future projects could be&lt;br /&gt;
**  Automatic packaging of [http://grasswiki.osgeo.org/wiki/AddOns AddOns]&lt;br /&gt;
**  Further integration of GRASS in Ubntu&lt;br /&gt;
**  Link to Live-CD projects such as [http://live.osgeo.org/ OSGeo-Live]&lt;br /&gt;
&lt;br /&gt;
== Others (UbuntuGIS) ==&lt;br /&gt;
* [https://wiki.ubuntu.com/UbuntuGIS https://wiki.ubuntu.com/UbuntuGIS]&lt;br /&gt;
* [http://trac.osgeo.org/ubuntugis/ http://trac.osgeo.org/ubuntugis/]&lt;br /&gt;
* [https://launchpad.net/~ubuntugis https://launchpad.net/~ubuntugis]&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
 The source code is managed in a structure corresponding to the above organisation&lt;br /&gt;
&lt;br /&gt;
*  Latest SVN imports&lt;br /&gt;
**  [https://code.launchpad.net/~grass/grass/releasebranch_6_4 stable] from [http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 SVN releasebranch_6_4]&lt;br /&gt;
**  [https://code.launchpad.net/~grass/grass/grass_trunk development] from [https://svn.osgeo.org/grass/grass/trunk SVN ][https://svn.osgeo.org/grass/grass/trunk trunk]&lt;br /&gt;
*  [https://code.launchpad.net/ubuntu/+source/grass Bazaar branches for “grass” package in Ubuntu]&lt;br /&gt;
**  Used by Ubuntu packages for the official packages&lt;br /&gt;
&lt;br /&gt;
= GRASS Packaging =&lt;br /&gt;
== Offical Ubuntu Packages ==&lt;br /&gt;
&lt;br /&gt;
These are based on the DebianGIS packages by Frankie and Hamish, packaging rules stored in DebianGIS's git repo -- see the debian/README.debian file in the GRASS source code for details. The official Ubuntu packages are automatically rebuilt from the current Debian packages every six months. If a newer version shows up in the Debian archives before the upcoming Ubuntu release is frozen, it is possible to file a request for the Ubuntu maintainers to re-pull the newer version from Debian (if you can get their attention).&lt;br /&gt;
&lt;br /&gt;
''Please base all downstream builds on these packaging rules'', with appropriate version number changes to the top entry of the debian/changelog file to add &amp;quot;ubuntu&amp;quot;, +svn rev, and whatever else special identifier is needed to show the package's heritage and difference from the official ones.&lt;br /&gt;
&lt;br /&gt;
Please pass up and bug fixes and wish to bugs.debian.org against the grass source package. Thanks.&lt;br /&gt;
&lt;br /&gt;
== UbuntuGIS Packages ==&lt;br /&gt;
To be added.&lt;br /&gt;
&lt;br /&gt;
== GRASS PPA Packages ==&lt;br /&gt;
* [http://Packaging/SourceBuilds/Recipes Built by Launchpad] using [https://code.launchpad.net/~grass/+recipes GRASS build recipes]&lt;br /&gt;
* Either built daily (stable code) or upon request (development code)&lt;br /&gt;
&lt;br /&gt;
=== Process ===&lt;br /&gt;
#  GRASS source code is regularly imported upon change by LP (destination: see above)&lt;br /&gt;
#  If source has changed, the package is build by&lt;br /&gt;
##  nesting the debian package files (e.g. from [https://code.launchpad.net/~grass/grass/grass64_release_debian lp:~grass/grass/grass64_release_debian] for the 6.4.x stable series) in the original source (e.g. [https://code.launchpad.net/~grass/grass/releasebranch_6_4 lp:~grass/grass/releasebranch_6_4]  for the 6.4.x stable series)&lt;br /&gt;
##  run the build process on LP for the chosen Ubuntu releases according to the instructions in the debian files (e.g. [http://bazaar.launchpad.net/~grass/grass/grass64_release_debian/files ~grass/grass/grass64_release_debian])&lt;br /&gt;
##  Upload the package to the respective archive / PPA (e.g. [https://code.launchpad.net/~grass/+archive/grass-stable GRASS Packages: Stable Series] for  6.4.x stable series)&lt;br /&gt;
&lt;br /&gt;
=== What do to on errors in the packaging process ===&lt;br /&gt;
* If a package build fails, its most likely that there were changes in the upstream GRASS SVN &lt;br /&gt;
* Then the debian files outlined above must be adapted:&lt;br /&gt;
** branch the code of the debian files Bazaar (bzr) repository from launchpad&lt;br /&gt;
** make the necessary changes locally&lt;br /&gt;
** prepare the source running the recipe locally using&lt;br /&gt;
*** bzr dailydeb&lt;br /&gt;
*** bzr build&lt;br /&gt;
** tests the build process on your machine using &lt;br /&gt;
*** pbuilder (recommended), or&lt;br /&gt;
*** dpkg-buildpackage (etc.)&lt;br /&gt;
&lt;br /&gt;
=== Actions where help is needed ===&lt;br /&gt;
Outstanding tasks are:&lt;br /&gt;
&lt;br /&gt;
* check the correct update &amp;amp; daily builds for GRASS 6.4.x&lt;br /&gt;
* Check if the upgrade to the next Ubntu release (13.04) does not affect the packages&lt;br /&gt;
* make the GRASS 7.0.x package failsave so that it can be activated for daily builds&lt;br /&gt;
&lt;br /&gt;
'''Interested contributors, please come in here and give something back to the GRASS community!'''&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[Grass_in_Debian | Grass in Debian]]&lt;br /&gt;
* [[Compile_and_Install_Ubunt0u | Compile and Install Ubuntu]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Installation]]&lt;br /&gt;
[[Category: Ubuntu]]&lt;br /&gt;
[[Category: Debian]]&lt;br /&gt;
[[Category: Linux]]&lt;br /&gt;
[[Category: Voluteers]]&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Ubuntu_Packaging&amp;diff=18372</id>
		<title>Ubuntu Packaging</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Ubuntu_Packaging&amp;diff=18372"/>
		<updated>2013-04-13T13:00:59Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: /* See also */ links&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== News / Announcements ==&lt;br /&gt;
&lt;br /&gt;
'''We need voluteers and support. Please see: [[Ubuntu_Packaging#Actions_where_help_is_needed | Actions needing helping hands]]!'''&lt;br /&gt;
&lt;br /&gt;
== Organisation ==&lt;br /&gt;
*  GRASS packages are provided by different repositories.&lt;br /&gt;
*  They are mostely distihuished by their level of up-to-dateness in respect to the GRASS source code.&lt;br /&gt;
&lt;br /&gt;
== Overview and Sources ==&lt;br /&gt;
&lt;br /&gt;
An overview is given in the following table:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Repository &lt;br /&gt;
! Type&lt;br /&gt;
! Update Frequency&lt;br /&gt;
! Status&lt;br /&gt;
! Current version&lt;br /&gt;
! Source&lt;br /&gt;
! Details&lt;br /&gt;
! Link &lt;br /&gt;
|-&lt;br /&gt;
| Official Ubuntu  Repositories&lt;br /&gt;
| universe&lt;br /&gt;
| Only updated before each Ubuntu release&lt;br /&gt;
| Stable at time of import&lt;br /&gt;
| 6.4.2-2&lt;br /&gt;
| Imported from Debian repositories&lt;br /&gt;
|  &lt;br /&gt;
| [http://packages.ubuntu.com/search?keywords=grass&amp;amp;searchon=names&amp;amp;exact=1&amp;amp;suite=all&amp;amp;section=all Overview]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| UbuntuGIS&lt;br /&gt;
| stable&lt;br /&gt;
| ?&lt;br /&gt;
| Stable at time of packaging &lt;br /&gt;
| 6.4.2&lt;br /&gt;
| ?&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~ubuntugis/+archive/ppa ubuntugis-stable]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| UbuntuGIS&lt;br /&gt;
| unstable&lt;br /&gt;
| ?&lt;br /&gt;
| Unstable at time of packaging&lt;br /&gt;
| 6.4.2~x&lt;br /&gt;
| ?&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable ubuntugis-unstable]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| UbuntuGIS&lt;br /&gt;
| testing&lt;br /&gt;
| ?&lt;br /&gt;
| Very unstable at time of packaging&lt;br /&gt;
| 6.4.3-1~x&amp;lt;br&amp;gt;7.0-1~x&lt;br /&gt;
| ?&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing ubuntugis-testing]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| GRASS PPA&lt;br /&gt;
| stable&lt;br /&gt;
| Daily upon change of GRASS source code&lt;br /&gt;
| Most recent fixes and backports to stable  series&lt;br /&gt;
| 6.4.2+2 &lt;br /&gt;
| Imported from [http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 GRASS SVN of releasebranch_6_4]&lt;br /&gt;
| &lt;br /&gt;
| [https://code.launchpad.net/~grass/+archive/grass-stable GRASS Packages: Stable Series]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| GRASS PPA&lt;br /&gt;
| unstable&lt;br /&gt;
| Daily upon change of GRASS source code&lt;br /&gt;
| Very unstable but latest development code&lt;br /&gt;
| 7.0.x&lt;br /&gt;
| Imported from [https://svn.osgeo.org/grass/grass/trunk GRASS SVN trunk]&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~grass/+archive/grass-devel GRASS Packages: Development Series]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= GRASS on Launchpad (LP) =&lt;br /&gt;
== Organisation ==&lt;br /&gt;
*  [https://launchpad.net/~grass GRASS team]&lt;br /&gt;
**  GRASS team&lt;br /&gt;
**  individuals which are dedicated to work on GRASS packaging for Ubuntu&lt;br /&gt;
**  Any user and developer is free and welcome to join!&lt;br /&gt;
**  New active members are needed!&lt;br /&gt;
**  Umbrella ''organisation'' for activities around GRASS on Launchpad&lt;br /&gt;
*  [https://launchpad.net/grass GRASS GIS Project]&lt;br /&gt;
**  The GRASS [https://help.launchpad.net/Projects LP project]&lt;br /&gt;
**  Umbrella project for all activities related to the GRASS core such as&lt;br /&gt;
***  code: [https://code.launchpad.net/grass Bazaar branches of GRASS GIS Project]&lt;br /&gt;
*  other future projects could be&lt;br /&gt;
**  Automatic packaging of [http://grasswiki.osgeo.org/wiki/AddOns AddOns]&lt;br /&gt;
**  Further integration of GRASS in Ubntu&lt;br /&gt;
**  Link to Live-CD projects such as [http://live.osgeo.org/ OSGeo-Live]&lt;br /&gt;
&lt;br /&gt;
== Others (UbuntuGIS) ==&lt;br /&gt;
* [https://wiki.ubuntu.com/UbuntuGIS https://wiki.ubuntu.com/UbuntuGIS]&lt;br /&gt;
* [http://trac.osgeo.org/ubuntugis/ http://trac.osgeo.org/ubuntugis/]&lt;br /&gt;
* [https://launchpad.net/~ubuntugis https://launchpad.net/~ubuntugis]&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
 The source code is managed in a structure corresponding to the above organisation&lt;br /&gt;
&lt;br /&gt;
*  Latest SVN imports&lt;br /&gt;
**  [https://code.launchpad.net/~grass/grass/releasebranch_6_4 stable] from [http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 SVN releasebranch_6_4]&lt;br /&gt;
**  [https://code.launchpad.net/~grass/grass/grass_trunk development] from [https://svn.osgeo.org/grass/grass/trunk SVN ][https://svn.osgeo.org/grass/grass/trunk trunk]&lt;br /&gt;
*  [https://code.launchpad.net/ubuntu/+source/grass Bazaar branches for “grass” package in Ubuntu]&lt;br /&gt;
**  Used by Ubuntu packages for the official packages&lt;br /&gt;
&lt;br /&gt;
= GRASS Packaging =&lt;br /&gt;
== Offical Ubuntu Packages ==&lt;br /&gt;
&lt;br /&gt;
These are based on the DebianGIS packages by Frankie and Hamish, packaging rules stored in DebianGIS's git repo -- see the debian/README.debian file in the GRASS source code for details. The official Ubuntu packages are automatically rebuilt from the current Debian packages every six months. If a newer version shows up in the Debian archives before the upcoming Ubuntu release is frozen, it is possible to file a request for the Ubuntu maintainers to re-pull the newer version from Debian (if you can get their attention).&lt;br /&gt;
&lt;br /&gt;
''Please base all downstream builds on these packaging rules'', with appropriate version number changes to the top entry of the debian/changelog file to add &amp;quot;ubuntu&amp;quot;, +svn rev, and whatever else special identifier is needed to show the package's heritage and difference from the official ones.&lt;br /&gt;
&lt;br /&gt;
Please pass up and bug fixes and wish to bugs.debian.org against the grass source package. Thanks.&lt;br /&gt;
&lt;br /&gt;
== UbuntuGIS Packages ==&lt;br /&gt;
To be added.&lt;br /&gt;
&lt;br /&gt;
== GRASS PPA Packages ==&lt;br /&gt;
* [http://Packaging/SourceBuilds/Recipes Built by Launchpad] using [https://code.launchpad.net/~grass/+recipes GRASS build recipes]&lt;br /&gt;
* Either built daily (stable code) or upon request (development code)&lt;br /&gt;
&lt;br /&gt;
=== Process ===&lt;br /&gt;
#  GRASS source code is regularly imported upon change by LP (destination: see above)&lt;br /&gt;
#  If source has changed, the package is build by&lt;br /&gt;
##  nesting the debian package files (e.g. from [https://code.launchpad.net/~grass/grass/grass64_release_debian lp:~grass/grass/grass64_release_debian] for the 6.4.x stable series) in the original source (e.g. [https://code.launchpad.net/~grass/grass/releasebranch_6_4 lp:~grass/grass/releasebranch_6_4]  for the 6.4.x stable series)&lt;br /&gt;
##  run the build process on LP for the chosen Ubuntu releases according to the instructions in the debian files (e.g. [http://bazaar.launchpad.net/~grass/grass/grass64_release_debian/files ~grass/grass/grass64_release_debian])&lt;br /&gt;
##  Upload the package to the respective archive / PPA (e.g. [https://code.launchpad.net/~grass/+archive/grass-stable GRASS Packages: Stable Series] for  6.4.x stable series)&lt;br /&gt;
&lt;br /&gt;
=== What do to on errors in the packaging process ===&lt;br /&gt;
* If a package build fails, its most likely that there were changes in the upstream GRASS SVN &lt;br /&gt;
* Then the debian files outlined above must be adapted:&lt;br /&gt;
** branch the code of the debian files Bazaar (bzr) repository from launchpad&lt;br /&gt;
** make the necessary changes locally&lt;br /&gt;
** prepare the source running the recipe locally using&lt;br /&gt;
*** bzr dailydeb&lt;br /&gt;
*** bzr build&lt;br /&gt;
** tests the build process on your machine using &lt;br /&gt;
*** pbuilder (recommended), or&lt;br /&gt;
*** dpkg-buildpackage (etc.)&lt;br /&gt;
&lt;br /&gt;
=== Actions where help is needed ===&lt;br /&gt;
Outstanding tasks are:&lt;br /&gt;
&lt;br /&gt;
* check the correct update &amp;amp; daily builds for GRASS 6.4.x&lt;br /&gt;
* Check if the upgrade to the next Ubntu release (13.04) does not affect the packages&lt;br /&gt;
* make the GRASS 7.0.x package failsave so that it can be activated for daily builds&lt;br /&gt;
&lt;br /&gt;
'''Interested contributors, please come in here and give something back to the GRASS community!'''&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[Grass_in_Debian | Grass in Debian]]&lt;br /&gt;
* [[Compile_and_Install_Ubunt0u | Compile and Install Ubuntu]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Installation]]&lt;br /&gt;
[[Category: Ubuntu]]&lt;br /&gt;
[[Category: Voluteers]]&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Ubuntu_Packaging&amp;diff=18371</id>
		<title>Ubuntu Packaging</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Ubuntu_Packaging&amp;diff=18371"/>
		<updated>2013-04-13T12:59:58Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: /* News / Announcements */  corrected anchor 2&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== News / Announcements ==&lt;br /&gt;
&lt;br /&gt;
'''We need voluteers and support. Please see: [[Ubuntu_Packaging#Actions_where_help_is_needed | Actions needing helping hands]]!'''&lt;br /&gt;
&lt;br /&gt;
== Organisation ==&lt;br /&gt;
*  GRASS packages are provided by different repositories.&lt;br /&gt;
*  They are mostely distihuished by their level of up-to-dateness in respect to the GRASS source code.&lt;br /&gt;
&lt;br /&gt;
== Overview and Sources ==&lt;br /&gt;
&lt;br /&gt;
An overview is given in the following table:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Repository &lt;br /&gt;
! Type&lt;br /&gt;
! Update Frequency&lt;br /&gt;
! Status&lt;br /&gt;
! Current version&lt;br /&gt;
! Source&lt;br /&gt;
! Details&lt;br /&gt;
! Link &lt;br /&gt;
|-&lt;br /&gt;
| Official Ubuntu  Repositories&lt;br /&gt;
| universe&lt;br /&gt;
| Only updated before each Ubuntu release&lt;br /&gt;
| Stable at time of import&lt;br /&gt;
| 6.4.2-2&lt;br /&gt;
| Imported from Debian repositories&lt;br /&gt;
|  &lt;br /&gt;
| [http://packages.ubuntu.com/search?keywords=grass&amp;amp;searchon=names&amp;amp;exact=1&amp;amp;suite=all&amp;amp;section=all Overview]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| UbuntuGIS&lt;br /&gt;
| stable&lt;br /&gt;
| ?&lt;br /&gt;
| Stable at time of packaging &lt;br /&gt;
| 6.4.2&lt;br /&gt;
| ?&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~ubuntugis/+archive/ppa ubuntugis-stable]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| UbuntuGIS&lt;br /&gt;
| unstable&lt;br /&gt;
| ?&lt;br /&gt;
| Unstable at time of packaging&lt;br /&gt;
| 6.4.2~x&lt;br /&gt;
| ?&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable ubuntugis-unstable]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| UbuntuGIS&lt;br /&gt;
| testing&lt;br /&gt;
| ?&lt;br /&gt;
| Very unstable at time of packaging&lt;br /&gt;
| 6.4.3-1~x&amp;lt;br&amp;gt;7.0-1~x&lt;br /&gt;
| ?&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing ubuntugis-testing]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| GRASS PPA&lt;br /&gt;
| stable&lt;br /&gt;
| Daily upon change of GRASS source code&lt;br /&gt;
| Most recent fixes and backports to stable  series&lt;br /&gt;
| 6.4.2+2 &lt;br /&gt;
| Imported from [http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 GRASS SVN of releasebranch_6_4]&lt;br /&gt;
| &lt;br /&gt;
| [https://code.launchpad.net/~grass/+archive/grass-stable GRASS Packages: Stable Series]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| GRASS PPA&lt;br /&gt;
| unstable&lt;br /&gt;
| Daily upon change of GRASS source code&lt;br /&gt;
| Very unstable but latest development code&lt;br /&gt;
| 7.0.x&lt;br /&gt;
| Imported from [https://svn.osgeo.org/grass/grass/trunk GRASS SVN trunk]&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~grass/+archive/grass-devel GRASS Packages: Development Series]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= GRASS on Launchpad (LP) =&lt;br /&gt;
== Organisation ==&lt;br /&gt;
*  [https://launchpad.net/~grass GRASS team]&lt;br /&gt;
**  GRASS team&lt;br /&gt;
**  individuals which are dedicated to work on GRASS packaging for Ubuntu&lt;br /&gt;
**  Any user and developer is free and welcome to join!&lt;br /&gt;
**  New active members are needed!&lt;br /&gt;
**  Umbrella ''organisation'' for activities around GRASS on Launchpad&lt;br /&gt;
*  [https://launchpad.net/grass GRASS GIS Project]&lt;br /&gt;
**  The GRASS [https://help.launchpad.net/Projects LP project]&lt;br /&gt;
**  Umbrella project for all activities related to the GRASS core such as&lt;br /&gt;
***  code: [https://code.launchpad.net/grass Bazaar branches of GRASS GIS Project]&lt;br /&gt;
*  other future projects could be&lt;br /&gt;
**  Automatic packaging of [http://grasswiki.osgeo.org/wiki/AddOns AddOns]&lt;br /&gt;
**  Further integration of GRASS in Ubntu&lt;br /&gt;
**  Link to Live-CD projects such as [http://live.osgeo.org/ OSGeo-Live]&lt;br /&gt;
&lt;br /&gt;
== Others (UbuntuGIS) ==&lt;br /&gt;
* [https://wiki.ubuntu.com/UbuntuGIS https://wiki.ubuntu.com/UbuntuGIS]&lt;br /&gt;
* [http://trac.osgeo.org/ubuntugis/ http://trac.osgeo.org/ubuntugis/]&lt;br /&gt;
* [https://launchpad.net/~ubuntugis https://launchpad.net/~ubuntugis]&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
 The source code is managed in a structure corresponding to the above organisation&lt;br /&gt;
&lt;br /&gt;
*  Latest SVN imports&lt;br /&gt;
**  [https://code.launchpad.net/~grass/grass/releasebranch_6_4 stable] from [http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 SVN releasebranch_6_4]&lt;br /&gt;
**  [https://code.launchpad.net/~grass/grass/grass_trunk development] from [https://svn.osgeo.org/grass/grass/trunk SVN ][https://svn.osgeo.org/grass/grass/trunk trunk]&lt;br /&gt;
*  [https://code.launchpad.net/ubuntu/+source/grass Bazaar branches for “grass” package in Ubuntu]&lt;br /&gt;
**  Used by Ubuntu packages for the official packages&lt;br /&gt;
&lt;br /&gt;
= GRASS Packaging =&lt;br /&gt;
== Offical Ubuntu Packages ==&lt;br /&gt;
&lt;br /&gt;
These are based on the DebianGIS packages by Frankie and Hamish, packaging rules stored in DebianGIS's git repo -- see the debian/README.debian file in the GRASS source code for details. The official Ubuntu packages are automatically rebuilt from the current Debian packages every six months. If a newer version shows up in the Debian archives before the upcoming Ubuntu release is frozen, it is possible to file a request for the Ubuntu maintainers to re-pull the newer version from Debian (if you can get their attention).&lt;br /&gt;
&lt;br /&gt;
''Please base all downstream builds on these packaging rules'', with appropriate version number changes to the top entry of the debian/changelog file to add &amp;quot;ubuntu&amp;quot;, +svn rev, and whatever else special identifier is needed to show the package's heritage and difference from the official ones.&lt;br /&gt;
&lt;br /&gt;
Please pass up and bug fixes and wish to bugs.debian.org against the grass source package. Thanks.&lt;br /&gt;
&lt;br /&gt;
== UbuntuGIS Packages ==&lt;br /&gt;
To be added.&lt;br /&gt;
&lt;br /&gt;
== GRASS PPA Packages ==&lt;br /&gt;
* [http://Packaging/SourceBuilds/Recipes Built by Launchpad] using [https://code.launchpad.net/~grass/+recipes GRASS build recipes]&lt;br /&gt;
* Either built daily (stable code) or upon request (development code)&lt;br /&gt;
&lt;br /&gt;
=== Process ===&lt;br /&gt;
#  GRASS source code is regularly imported upon change by LP (destination: see above)&lt;br /&gt;
#  If source has changed, the package is build by&lt;br /&gt;
##  nesting the debian package files (e.g. from [https://code.launchpad.net/~grass/grass/grass64_release_debian lp:~grass/grass/grass64_release_debian] for the 6.4.x stable series) in the original source (e.g. [https://code.launchpad.net/~grass/grass/releasebranch_6_4 lp:~grass/grass/releasebranch_6_4]  for the 6.4.x stable series)&lt;br /&gt;
##  run the build process on LP for the chosen Ubuntu releases according to the instructions in the debian files (e.g. [http://bazaar.launchpad.net/~grass/grass/grass64_release_debian/files ~grass/grass/grass64_release_debian])&lt;br /&gt;
##  Upload the package to the respective archive / PPA (e.g. [https://code.launchpad.net/~grass/+archive/grass-stable GRASS Packages: Stable Series] for  6.4.x stable series)&lt;br /&gt;
&lt;br /&gt;
=== What do to on errors in the packaging process ===&lt;br /&gt;
* If a package build fails, its most likely that there were changes in the upstream GRASS SVN &lt;br /&gt;
* Then the debian files outlined above must be adapted:&lt;br /&gt;
** branch the code of the debian files Bazaar (bzr) repository from launchpad&lt;br /&gt;
** make the necessary changes locally&lt;br /&gt;
** prepare the source running the recipe locally using&lt;br /&gt;
*** bzr dailydeb&lt;br /&gt;
*** bzr build&lt;br /&gt;
** tests the build process on your machine using &lt;br /&gt;
*** pbuilder (recommended), or&lt;br /&gt;
*** dpkg-buildpackage (etc.)&lt;br /&gt;
&lt;br /&gt;
=== Actions where help is needed ===&lt;br /&gt;
Outstanding tasks are:&lt;br /&gt;
&lt;br /&gt;
* check the correct update &amp;amp; daily builds for GRASS 6.4.x&lt;br /&gt;
* Check if the upgrade to the next Ubntu release (13.04) does not affect the packages&lt;br /&gt;
* make the GRASS 7.0.x package failsave so that it can be activated for daily builds&lt;br /&gt;
&lt;br /&gt;
'''Interested contributors, please come in here and give something back to the GRASS community!'''&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[Grass_in_Debian]]&lt;br /&gt;
* [[Compile_and_Install_Ubuntu]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Installation]]&lt;br /&gt;
[[Category: Ubuntu]]&lt;br /&gt;
[[Category: Voluteers]]&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Ubuntu_Packaging&amp;diff=18370</id>
		<title>Ubuntu Packaging</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Ubuntu_Packaging&amp;diff=18370"/>
		<updated>2013-04-13T12:56:44Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: /* News / Announcements */  corrected anchor&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== News / Announcements ==&lt;br /&gt;
&lt;br /&gt;
'''We need voluteers and support. Please see: [[#Actions_where_help_is_needed actions requiring helping hands]]!'''&lt;br /&gt;
&lt;br /&gt;
== Organisation ==&lt;br /&gt;
*  GRASS packages are provided by different repositories.&lt;br /&gt;
*  They are mostely distihuished by their level of up-to-dateness in respect to the GRASS source code.&lt;br /&gt;
&lt;br /&gt;
== Overview and Sources ==&lt;br /&gt;
&lt;br /&gt;
An overview is given in the following table:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Repository &lt;br /&gt;
! Type&lt;br /&gt;
! Update Frequency&lt;br /&gt;
! Status&lt;br /&gt;
! Current version&lt;br /&gt;
! Source&lt;br /&gt;
! Details&lt;br /&gt;
! Link &lt;br /&gt;
|-&lt;br /&gt;
| Official Ubuntu  Repositories&lt;br /&gt;
| universe&lt;br /&gt;
| Only updated before each Ubuntu release&lt;br /&gt;
| Stable at time of import&lt;br /&gt;
| 6.4.2-2&lt;br /&gt;
| Imported from Debian repositories&lt;br /&gt;
|  &lt;br /&gt;
| [http://packages.ubuntu.com/search?keywords=grass&amp;amp;searchon=names&amp;amp;exact=1&amp;amp;suite=all&amp;amp;section=all Overview]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| UbuntuGIS&lt;br /&gt;
| stable&lt;br /&gt;
| ?&lt;br /&gt;
| Stable at time of packaging &lt;br /&gt;
| 6.4.2&lt;br /&gt;
| ?&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~ubuntugis/+archive/ppa ubuntugis-stable]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| UbuntuGIS&lt;br /&gt;
| unstable&lt;br /&gt;
| ?&lt;br /&gt;
| Unstable at time of packaging&lt;br /&gt;
| 6.4.2~x&lt;br /&gt;
| ?&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable ubuntugis-unstable]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| UbuntuGIS&lt;br /&gt;
| testing&lt;br /&gt;
| ?&lt;br /&gt;
| Very unstable at time of packaging&lt;br /&gt;
| 6.4.3-1~x&amp;lt;br&amp;gt;7.0-1~x&lt;br /&gt;
| ?&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing ubuntugis-testing]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| GRASS PPA&lt;br /&gt;
| stable&lt;br /&gt;
| Daily upon change of GRASS source code&lt;br /&gt;
| Most recent fixes and backports to stable  series&lt;br /&gt;
| 6.4.2+2 &lt;br /&gt;
| Imported from [http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 GRASS SVN of releasebranch_6_4]&lt;br /&gt;
| &lt;br /&gt;
| [https://code.launchpad.net/~grass/+archive/grass-stable GRASS Packages: Stable Series]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| GRASS PPA&lt;br /&gt;
| unstable&lt;br /&gt;
| Daily upon change of GRASS source code&lt;br /&gt;
| Very unstable but latest development code&lt;br /&gt;
| 7.0.x&lt;br /&gt;
| Imported from [https://svn.osgeo.org/grass/grass/trunk GRASS SVN trunk]&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~grass/+archive/grass-devel GRASS Packages: Development Series]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= GRASS on Launchpad (LP) =&lt;br /&gt;
== Organisation ==&lt;br /&gt;
*  [https://launchpad.net/~grass GRASS team]&lt;br /&gt;
**  GRASS team&lt;br /&gt;
**  individuals which are dedicated to work on GRASS packaging for Ubuntu&lt;br /&gt;
**  Any user and developer is free and welcome to join!&lt;br /&gt;
**  New active members are needed!&lt;br /&gt;
**  Umbrella ''organisation'' for activities around GRASS on Launchpad&lt;br /&gt;
*  [https://launchpad.net/grass GRASS GIS Project]&lt;br /&gt;
**  The GRASS [https://help.launchpad.net/Projects LP project]&lt;br /&gt;
**  Umbrella project for all activities related to the GRASS core such as&lt;br /&gt;
***  code: [https://code.launchpad.net/grass Bazaar branches of GRASS GIS Project]&lt;br /&gt;
*  other future projects could be&lt;br /&gt;
**  Automatic packaging of [http://grasswiki.osgeo.org/wiki/AddOns AddOns]&lt;br /&gt;
**  Further integration of GRASS in Ubntu&lt;br /&gt;
**  Link to Live-CD projects such as [http://live.osgeo.org/ OSGeo-Live]&lt;br /&gt;
&lt;br /&gt;
== Others (UbuntuGIS) ==&lt;br /&gt;
* [https://wiki.ubuntu.com/UbuntuGIS https://wiki.ubuntu.com/UbuntuGIS]&lt;br /&gt;
* [http://trac.osgeo.org/ubuntugis/ http://trac.osgeo.org/ubuntugis/]&lt;br /&gt;
* [https://launchpad.net/~ubuntugis https://launchpad.net/~ubuntugis]&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
 The source code is managed in a structure corresponding to the above organisation&lt;br /&gt;
&lt;br /&gt;
*  Latest SVN imports&lt;br /&gt;
**  [https://code.launchpad.net/~grass/grass/releasebranch_6_4 stable] from [http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 SVN releasebranch_6_4]&lt;br /&gt;
**  [https://code.launchpad.net/~grass/grass/grass_trunk development] from [https://svn.osgeo.org/grass/grass/trunk SVN ][https://svn.osgeo.org/grass/grass/trunk trunk]&lt;br /&gt;
*  [https://code.launchpad.net/ubuntu/+source/grass Bazaar branches for “grass” package in Ubuntu]&lt;br /&gt;
**  Used by Ubuntu packages for the official packages&lt;br /&gt;
&lt;br /&gt;
= GRASS Packaging =&lt;br /&gt;
== Offical Ubuntu Packages ==&lt;br /&gt;
&lt;br /&gt;
These are based on the DebianGIS packages by Frankie and Hamish, packaging rules stored in DebianGIS's git repo -- see the debian/README.debian file in the GRASS source code for details. The official Ubuntu packages are automatically rebuilt from the current Debian packages every six months. If a newer version shows up in the Debian archives before the upcoming Ubuntu release is frozen, it is possible to file a request for the Ubuntu maintainers to re-pull the newer version from Debian (if you can get their attention).&lt;br /&gt;
&lt;br /&gt;
''Please base all downstream builds on these packaging rules'', with appropriate version number changes to the top entry of the debian/changelog file to add &amp;quot;ubuntu&amp;quot;, +svn rev, and whatever else special identifier is needed to show the package's heritage and difference from the official ones.&lt;br /&gt;
&lt;br /&gt;
Please pass up and bug fixes and wish to bugs.debian.org against the grass source package. Thanks.&lt;br /&gt;
&lt;br /&gt;
== UbuntuGIS Packages ==&lt;br /&gt;
To be added.&lt;br /&gt;
&lt;br /&gt;
== GRASS PPA Packages ==&lt;br /&gt;
* [http://Packaging/SourceBuilds/Recipes Built by Launchpad] using [https://code.launchpad.net/~grass/+recipes GRASS build recipes]&lt;br /&gt;
* Either built daily (stable code) or upon request (development code)&lt;br /&gt;
&lt;br /&gt;
=== Process ===&lt;br /&gt;
#  GRASS source code is regularly imported upon change by LP (destination: see above)&lt;br /&gt;
#  If source has changed, the package is build by&lt;br /&gt;
##  nesting the debian package files (e.g. from [https://code.launchpad.net/~grass/grass/grass64_release_debian lp:~grass/grass/grass64_release_debian] for the 6.4.x stable series) in the original source (e.g. [https://code.launchpad.net/~grass/grass/releasebranch_6_4 lp:~grass/grass/releasebranch_6_4]  for the 6.4.x stable series)&lt;br /&gt;
##  run the build process on LP for the chosen Ubuntu releases according to the instructions in the debian files (e.g. [http://bazaar.launchpad.net/~grass/grass/grass64_release_debian/files ~grass/grass/grass64_release_debian])&lt;br /&gt;
##  Upload the package to the respective archive / PPA (e.g. [https://code.launchpad.net/~grass/+archive/grass-stable GRASS Packages: Stable Series] for  6.4.x stable series)&lt;br /&gt;
&lt;br /&gt;
=== What do to on errors in the packaging process ===&lt;br /&gt;
* If a package build fails, its most likely that there were changes in the upstream GRASS SVN &lt;br /&gt;
* Then the debian files outlined above must be adapted:&lt;br /&gt;
** branch the code of the debian files Bazaar (bzr) repository from launchpad&lt;br /&gt;
** make the necessary changes locally&lt;br /&gt;
** prepare the source running the recipe locally using&lt;br /&gt;
*** bzr dailydeb&lt;br /&gt;
*** bzr build&lt;br /&gt;
** tests the build process on your machine using &lt;br /&gt;
*** pbuilder (recommended), or&lt;br /&gt;
*** dpkg-buildpackage (etc.)&lt;br /&gt;
&lt;br /&gt;
=== Actions where help is needed ===&lt;br /&gt;
Outstanding tasks are:&lt;br /&gt;
&lt;br /&gt;
* check the correct update &amp;amp; daily builds for GRASS 6.4.x&lt;br /&gt;
* Check if the upgrade to the next Ubntu release (13.04) does not affect the packages&lt;br /&gt;
* make the GRASS 7.0.x package failsave so that it can be activated for daily builds&lt;br /&gt;
&lt;br /&gt;
'''Interested contributors, please come in here and give something back to the GRASS community!'''&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[Grass_in_Debian]]&lt;br /&gt;
* [[Compile_and_Install_Ubuntu]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Installation]]&lt;br /&gt;
[[Category: Ubuntu]]&lt;br /&gt;
[[Category: Voluteers]]&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Ubuntu_Packaging&amp;diff=18369</id>
		<title>Ubuntu Packaging</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Ubuntu_Packaging&amp;diff=18369"/>
		<updated>2013-04-13T12:55:17Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: added links and help request notice&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== News / Announcements ==&lt;br /&gt;
&lt;br /&gt;
'''We need voluteers and support. Please see: [[#Actions_where_help_is_needed]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Organisation ==&lt;br /&gt;
*  GRASS packages are provided by different repositories.&lt;br /&gt;
*  They are mostely distihuished by their level of up-to-dateness in respect to the GRASS source code.&lt;br /&gt;
&lt;br /&gt;
== Overview and Sources ==&lt;br /&gt;
&lt;br /&gt;
An overview is given in the following table:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Repository &lt;br /&gt;
! Type&lt;br /&gt;
! Update Frequency&lt;br /&gt;
! Status&lt;br /&gt;
! Current version&lt;br /&gt;
! Source&lt;br /&gt;
! Details&lt;br /&gt;
! Link &lt;br /&gt;
|-&lt;br /&gt;
| Official Ubuntu  Repositories&lt;br /&gt;
| universe&lt;br /&gt;
| Only updated before each Ubuntu release&lt;br /&gt;
| Stable at time of import&lt;br /&gt;
| 6.4.2-2&lt;br /&gt;
| Imported from Debian repositories&lt;br /&gt;
|  &lt;br /&gt;
| [http://packages.ubuntu.com/search?keywords=grass&amp;amp;searchon=names&amp;amp;exact=1&amp;amp;suite=all&amp;amp;section=all Overview]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| UbuntuGIS&lt;br /&gt;
| stable&lt;br /&gt;
| ?&lt;br /&gt;
| Stable at time of packaging &lt;br /&gt;
| 6.4.2&lt;br /&gt;
| ?&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~ubuntugis/+archive/ppa ubuntugis-stable]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| UbuntuGIS&lt;br /&gt;
| unstable&lt;br /&gt;
| ?&lt;br /&gt;
| Unstable at time of packaging&lt;br /&gt;
| 6.4.2~x&lt;br /&gt;
| ?&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable ubuntugis-unstable]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| UbuntuGIS&lt;br /&gt;
| testing&lt;br /&gt;
| ?&lt;br /&gt;
| Very unstable at time of packaging&lt;br /&gt;
| 6.4.3-1~x&amp;lt;br&amp;gt;7.0-1~x&lt;br /&gt;
| ?&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing ubuntugis-testing]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| GRASS PPA&lt;br /&gt;
| stable&lt;br /&gt;
| Daily upon change of GRASS source code&lt;br /&gt;
| Most recent fixes and backports to stable  series&lt;br /&gt;
| 6.4.2+2 &lt;br /&gt;
| Imported from [http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 GRASS SVN of releasebranch_6_4]&lt;br /&gt;
| &lt;br /&gt;
| [https://code.launchpad.net/~grass/+archive/grass-stable GRASS Packages: Stable Series]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| GRASS PPA&lt;br /&gt;
| unstable&lt;br /&gt;
| Daily upon change of GRASS source code&lt;br /&gt;
| Very unstable but latest development code&lt;br /&gt;
| 7.0.x&lt;br /&gt;
| Imported from [https://svn.osgeo.org/grass/grass/trunk GRASS SVN trunk]&lt;br /&gt;
| &lt;br /&gt;
| [https://launchpad.net/~grass/+archive/grass-devel GRASS Packages: Development Series]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= GRASS on Launchpad (LP) =&lt;br /&gt;
== Organisation ==&lt;br /&gt;
*  [https://launchpad.net/~grass GRASS team]&lt;br /&gt;
**  GRASS team&lt;br /&gt;
**  individuals which are dedicated to work on GRASS packaging for Ubuntu&lt;br /&gt;
**  Any user and developer is free and welcome to join!&lt;br /&gt;
**  New active members are needed!&lt;br /&gt;
**  Umbrella ''organisation'' for activities around GRASS on Launchpad&lt;br /&gt;
*  [https://launchpad.net/grass GRASS GIS Project]&lt;br /&gt;
**  The GRASS [https://help.launchpad.net/Projects LP project]&lt;br /&gt;
**  Umbrella project for all activities related to the GRASS core such as&lt;br /&gt;
***  code: [https://code.launchpad.net/grass Bazaar branches of GRASS GIS Project]&lt;br /&gt;
*  other future projects could be&lt;br /&gt;
**  Automatic packaging of [http://grasswiki.osgeo.org/wiki/AddOns AddOns]&lt;br /&gt;
**  Further integration of GRASS in Ubntu&lt;br /&gt;
**  Link to Live-CD projects such as [http://live.osgeo.org/ OSGeo-Live]&lt;br /&gt;
&lt;br /&gt;
== Others (UbuntuGIS) ==&lt;br /&gt;
* [https://wiki.ubuntu.com/UbuntuGIS https://wiki.ubuntu.com/UbuntuGIS]&lt;br /&gt;
* [http://trac.osgeo.org/ubuntugis/ http://trac.osgeo.org/ubuntugis/]&lt;br /&gt;
* [https://launchpad.net/~ubuntugis https://launchpad.net/~ubuntugis]&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
 The source code is managed in a structure corresponding to the above organisation&lt;br /&gt;
&lt;br /&gt;
*  Latest SVN imports&lt;br /&gt;
**  [https://code.launchpad.net/~grass/grass/releasebranch_6_4 stable] from [http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 SVN releasebranch_6_4]&lt;br /&gt;
**  [https://code.launchpad.net/~grass/grass/grass_trunk development] from [https://svn.osgeo.org/grass/grass/trunk SVN ][https://svn.osgeo.org/grass/grass/trunk trunk]&lt;br /&gt;
*  [https://code.launchpad.net/ubuntu/+source/grass Bazaar branches for “grass” package in Ubuntu]&lt;br /&gt;
**  Used by Ubuntu packages for the official packages&lt;br /&gt;
&lt;br /&gt;
= GRASS Packaging =&lt;br /&gt;
== Offical Ubuntu Packages ==&lt;br /&gt;
&lt;br /&gt;
These are based on the DebianGIS packages by Frankie and Hamish, packaging rules stored in DebianGIS's git repo -- see the debian/README.debian file in the GRASS source code for details. The official Ubuntu packages are automatically rebuilt from the current Debian packages every six months. If a newer version shows up in the Debian archives before the upcoming Ubuntu release is frozen, it is possible to file a request for the Ubuntu maintainers to re-pull the newer version from Debian (if you can get their attention).&lt;br /&gt;
&lt;br /&gt;
''Please base all downstream builds on these packaging rules'', with appropriate version number changes to the top entry of the debian/changelog file to add &amp;quot;ubuntu&amp;quot;, +svn rev, and whatever else special identifier is needed to show the package's heritage and difference from the official ones.&lt;br /&gt;
&lt;br /&gt;
Please pass up and bug fixes and wish to bugs.debian.org against the grass source package. Thanks.&lt;br /&gt;
&lt;br /&gt;
== UbuntuGIS Packages ==&lt;br /&gt;
To be added.&lt;br /&gt;
&lt;br /&gt;
== GRASS PPA Packages ==&lt;br /&gt;
* [http://Packaging/SourceBuilds/Recipes Built by Launchpad] using [https://code.launchpad.net/~grass/+recipes GRASS build recipes]&lt;br /&gt;
* Either built daily (stable code) or upon request (development code)&lt;br /&gt;
&lt;br /&gt;
=== Process ===&lt;br /&gt;
#  GRASS source code is regularly imported upon change by LP (destination: see above)&lt;br /&gt;
#  If source has changed, the package is build by&lt;br /&gt;
##  nesting the debian package files (e.g. from [https://code.launchpad.net/~grass/grass/grass64_release_debian lp:~grass/grass/grass64_release_debian] for the 6.4.x stable series) in the original source (e.g. [https://code.launchpad.net/~grass/grass/releasebranch_6_4 lp:~grass/grass/releasebranch_6_4]  for the 6.4.x stable series)&lt;br /&gt;
##  run the build process on LP for the chosen Ubuntu releases according to the instructions in the debian files (e.g. [http://bazaar.launchpad.net/~grass/grass/grass64_release_debian/files ~grass/grass/grass64_release_debian])&lt;br /&gt;
##  Upload the package to the respective archive / PPA (e.g. [https://code.launchpad.net/~grass/+archive/grass-stable GRASS Packages: Stable Series] for  6.4.x stable series)&lt;br /&gt;
&lt;br /&gt;
=== What do to on errors in the packaging process ===&lt;br /&gt;
* If a package build fails, its most likely that there were changes in the upstream GRASS SVN &lt;br /&gt;
* Then the debian files outlined above must be adapted:&lt;br /&gt;
** branch the code of the debian files Bazaar (bzr) repository from launchpad&lt;br /&gt;
** make the necessary changes locally&lt;br /&gt;
** prepare the source running the recipe locally using&lt;br /&gt;
*** bzr dailydeb&lt;br /&gt;
*** bzr build&lt;br /&gt;
** tests the build process on your machine using &lt;br /&gt;
*** pbuilder (recommended), or&lt;br /&gt;
*** dpkg-buildpackage (etc.)&lt;br /&gt;
&lt;br /&gt;
=== Actions where help is needed ===&lt;br /&gt;
Outstanding tasks are:&lt;br /&gt;
&lt;br /&gt;
* check the correct update &amp;amp; daily builds for GRASS 6.4.x&lt;br /&gt;
* Check if the upgrade to the next Ubntu release (13.04) does not affect the packages&lt;br /&gt;
* make the GRASS 7.0.x package failsave so that it can be activated for daily builds&lt;br /&gt;
&lt;br /&gt;
'''Interested contributors, please come in here and give something back to the GRASS community!'''&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[Grass_in_Debian]]&lt;br /&gt;
* [[Compile_and_Install_Ubuntu]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Installation]]&lt;br /&gt;
[[Category: Ubuntu]]&lt;br /&gt;
[[Category: Voluteers]]&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Ubuntu_Packaging&amp;diff=18359</id>
		<title>Ubuntu Packaging</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Ubuntu_Packaging&amp;diff=18359"/>
		<updated>2013-04-12T11:55:01Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: correction&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; http://grasswiki.osgeo.org/wiki/Ubuntu_Packaging&lt;br /&gt;
&lt;br /&gt;
= Grass Package Repositories =&lt;br /&gt;
== Organisation ==&lt;br /&gt;
*  GRASS packages are provided by different repositories.&lt;br /&gt;
*  They are mostely distihuished by their level of up-to-dateness in respect to the GRASS source code.&lt;br /&gt;
&lt;br /&gt;
== Overview and Sources ==&lt;br /&gt;
 An overview is given in the following table:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border-spacing:0;&amp;quot;&lt;br /&gt;
| style=&amp;quot;border-top:0.05pt solid #000000;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Repository &lt;br /&gt;
| style=&amp;quot;border-top:0.05pt solid #000000;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Type&lt;br /&gt;
| style=&amp;quot;border-top:0.05pt solid #000000;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Update Frequency&lt;br /&gt;
| style=&amp;quot;border-top:0.05pt solid #000000;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Status&lt;br /&gt;
| style=&amp;quot;border-top:0.05pt solid #000000;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Current version&lt;br /&gt;
| style=&amp;quot;border-top:0.05pt solid #000000;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Source&lt;br /&gt;
| style=&amp;quot;border-top:0.05pt solid #000000;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Details&lt;br /&gt;
| style=&amp;quot;border:0.05pt solid #000000;padding:0.097cm;&amp;quot;|  Link &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Official Ubuntu  Repositories&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  universe&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Only updated before each Ubuntu release&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Stable at time of import&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  6.4.2-2&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Imported from Debian repositories&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;&amp;quot;|  [http://packages.ubuntu.com/search?keywords=grass&amp;amp;searchon=names&amp;amp;exact=1&amp;amp;suite=all&amp;amp;section=all Overview]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  UbuntuGIS&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  stable&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  ?&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Stable at time of packaging &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| 6.4.2&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  ?&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;&amp;quot;|  [https://launchpad.net/~ubuntugis/+archive/ppa ubuntugis-stable]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  UbuntuGIS&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  unstable&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  ?&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Unstable at time of packaging&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| 6.4.2~x&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  ?&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;&amp;quot;|  [https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable ubuntugis-unstable]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  UbuntuGIS&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  testing&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  ?&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Very unstable at time of packaging&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  6.4.3-1~x&lt;br /&gt;
 7.0-1~x&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  ?&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;&amp;quot;|  [https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing ubuntugis-testing]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  GRASS PPA&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  stable&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Daily upon change of GRASS source code&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Most recent fixes and backports to stable  series&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  6.4.2+2 &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Imported from [http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 GRASS SVN of releasebranch_6_4]&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;&amp;quot;|  [https://code.launchpad.net/~grass/+archive/grass-stable GRASS Packages: Stable Series]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  GRASS PPA&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  unstable&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Daily upon change of GRASS source code&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Very unstable but latest development code&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  7.0.x&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Imported from [https://svn.osgeo.org/grass/grass/trunk GRASS SVN trunk]&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;&amp;quot;|  [https://launchpad.net/~grass/+archive/grass-devel GRASS Packages: Development Series]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
= GRASS on Launchpad (LP) =&lt;br /&gt;
== Organisation ==&lt;br /&gt;
*  [https://launchpad.net/~grass GRASS team]&lt;br /&gt;
**  GRASS team&lt;br /&gt;
**  individuals which are dedicated to work on GRASS packaging for Ubuntu&lt;br /&gt;
**  Any user and developer is free and welcome to join!&lt;br /&gt;
**  New active members are needed!&lt;br /&gt;
**  Umbrella ''organisation'' for activities around GRASS on Launchpad&lt;br /&gt;
*  [https://launchpad.net/grass GRASS GIS Project]&lt;br /&gt;
**  The GRASS [https://help.launchpad.net/Projects LP project]&lt;br /&gt;
**  Umbrella project for all activities related to the GRASS core such as&lt;br /&gt;
***  code: [https://code.launchpad.net/grass Bazaar branches of GRASS GIS Project]&lt;br /&gt;
*  other future projects could be&lt;br /&gt;
**  Automatic packaging of [http://grasswiki.osgeo.org/wiki/AddOns AddOns]&lt;br /&gt;
**  Further integration of GRASS in Ubntu&lt;br /&gt;
**  Link to Live-CD projects such as [http://live.osgeo.org/ OSGeo-Live]&lt;br /&gt;
&lt;br /&gt;
== Others (UbuntuGIS) ==&lt;br /&gt;
* [https://wiki.ubuntu.com/UbuntuGIS https://wiki.ubuntu.com/UbuntuGIS]&lt;br /&gt;
* [http://trac.osgeo.org/ubuntugis/ http://trac.osgeo.org/ubuntugis/]&lt;br /&gt;
* [https://launchpad.net/~ubuntugis https://launchpad.net/~ubuntugis]&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
 The source code is managed in a structure corresponding to the above organisation&lt;br /&gt;
&lt;br /&gt;
*  Latest SVN imports&lt;br /&gt;
**  [https://code.launchpad.net/~grass/grass/releasebranch_6_4 stable] from [http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 SVN releasebranch_6_4]&lt;br /&gt;
**  [https://code.launchpad.net/~grass/grass/grass_trunk development] from [https://svn.osgeo.org/grass/grass/trunk SVN ][https://svn.osgeo.org/grass/grass/trunk trunk]&lt;br /&gt;
*  [https://code.launchpad.net/ubuntu/+source/grass Bazaar branches for “grass” package in Ubuntu]&lt;br /&gt;
**  Used by Ubuntu packages for the official packages&lt;br /&gt;
&lt;br /&gt;
= GRASS Packaging =&lt;br /&gt;
== Offical Ubuntu Packages ==&lt;br /&gt;
To be added.&lt;br /&gt;
&lt;br /&gt;
== UbuntuGIS Packages ==&lt;br /&gt;
To be added.&lt;br /&gt;
&lt;br /&gt;
== GRASS PPA Packages ==&lt;br /&gt;
* [http://Packaging/SourceBuilds/Recipes Built by Launchpad] using [https://code.launchpad.net/~grass/+recipes GRASS build recipes]&lt;br /&gt;
* Either built daily (stable code) or upon request (development code)&lt;br /&gt;
&lt;br /&gt;
=== Process ===&lt;br /&gt;
#  GRASS source code is regularly imported upon change by LP (destination: see above)&lt;br /&gt;
#  If source has changed, the package is build by&lt;br /&gt;
##  nesting the debian package files (e.g. from [https://code.launchpad.net/~grass/grass/grass64_release_debian lp:~grass/grass/grass64_release_debian] for the 6.4.x stable series) in the original source (e.g. [https://code.launchpad.net/~grass/grass/releasebranch_6_4 lp:~grass/grass/releasebranch_6_4]  for the 6.4.x stable series)&lt;br /&gt;
##  run the build process on LP for the chosen Ubuntu releases according to the instructions in the debian files (e.g. [http://bazaar.launchpad.net/~grass/grass/grass64_release_debian/files ~grass/grass/grass64_release_debian])&lt;br /&gt;
##  Upload the package to the respective archive / PPA (e.g. [https://code.launchpad.net/~grass/+archive/grass-stable GRASS Packages: Stable Series] for  6.4.x stable series)&lt;br /&gt;
&lt;br /&gt;
=== What do to on errors in the packaging process ===&lt;br /&gt;
* If a package build fails, its most likely that there were changes in the upstream GRASS SVN &lt;br /&gt;
* Then the debian files outlined above must be adapted:&lt;br /&gt;
** branch the code of the debian files Bazaar (bzr) repository from launchpad&lt;br /&gt;
** make the necessary changes locally&lt;br /&gt;
** prepare the source running the recipe locally using&lt;br /&gt;
*** bzr dailydeb&lt;br /&gt;
*** bzr build&lt;br /&gt;
** tests the build process on your machine using &lt;br /&gt;
*** pbuilder (recommended), or&lt;br /&gt;
*** dpkg-buildpackage (etc.)&lt;br /&gt;
&lt;br /&gt;
=== Actions where help is needed ===&lt;br /&gt;
Outstanding tasks are:&lt;br /&gt;
&lt;br /&gt;
* check the correct update &amp;amp; daily builds for GRASS 6.4.x&lt;br /&gt;
* Check if the upgrade to the next Ubntu release (13.04) does not affect the packages&lt;br /&gt;
* make the GRASS 7.0.x package failsave so that it can be activated for daily builds&lt;br /&gt;
&lt;br /&gt;
'''Interested contributors, please come in here and give something back to the GRASS community!'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Installation]]&lt;br /&gt;
[[Category: Ubuntu]]&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Ubuntu_Packaging&amp;diff=18357</id>
		<title>Ubuntu Packaging</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Ubuntu_Packaging&amp;diff=18357"/>
		<updated>2013-04-12T11:52:14Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: Undo revision 18355 by Timmie (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Grass Package Repositories =&lt;br /&gt;
== Organisation ==&lt;br /&gt;
*  GRASS packages are provided by different repositories.&lt;br /&gt;
*  They are mostely distihuished by their level of up-to-dateness in respect to the GRASS source code.&lt;br /&gt;
&lt;br /&gt;
== Overview and Sources ==&lt;br /&gt;
 An overview is given in the following table:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border-spacing:0;&amp;quot;&lt;br /&gt;
| style=&amp;quot;border-top:0.05pt solid #000000;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Repository &lt;br /&gt;
| style=&amp;quot;border-top:0.05pt solid #000000;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Type&lt;br /&gt;
| style=&amp;quot;border-top:0.05pt solid #000000;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Update Frequency&lt;br /&gt;
| style=&amp;quot;border-top:0.05pt solid #000000;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Status&lt;br /&gt;
| style=&amp;quot;border-top:0.05pt solid #000000;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Current version&lt;br /&gt;
| style=&amp;quot;border-top:0.05pt solid #000000;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Source&lt;br /&gt;
| style=&amp;quot;border-top:0.05pt solid #000000;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Details&lt;br /&gt;
| style=&amp;quot;border:0.05pt solid #000000;padding:0.097cm;&amp;quot;|  Link &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Official Ubuntu  Repositories&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  universe&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Only updated before each Ubuntu release&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Stable at time of import&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  6.4.2-2&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Imported from Debian repositories&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;&amp;quot;|  &amp;lt;nowiki&amp;gt;[http://packages.ubuntu.com/search?keywords=grass&amp;amp;searchon=names&amp;amp;exact=1&amp;amp;suite=all&amp;amp;section=all Overview]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  UbuntuGIS&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  stable&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  ?&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Stable at time of packaging &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| 6.4.2&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  ?&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;&amp;quot;|  [https://launchpad.net/~ubuntugis/+archive/ppa ubuntugis-stable]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  UbuntuGIS&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  unstable&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  ?&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Unstable at time of packaging&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| 6.4.2~x&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  ?&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;&amp;quot;|  [https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable ubuntugis-unstable]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  UbuntuGIS&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  testing&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  ?&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Very unstable at time of packaging&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  6.4.3-1~x&lt;br /&gt;
 7.0-1~x&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  ?&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;&amp;quot;|  [https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing ubuntugis-testing]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  GRASS PPA&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  stable&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Daily upon change of GRASS source code&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Most recent fixes and backports to stable  series&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  6.4.2+2 &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Imported from [http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 GRASS SVN of releasebranch_6_4]&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;&amp;quot;|  [file:///home/hotryce/Dokumente/GRASS%20Packages:%20Stable%20Series GRASS Packages: Stable Series]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  GRASS PPA&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  unstable&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Daily upon change of GRASS source code&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Very unstable but latest development code&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  7.0.x&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Imported from [https://svn.osgeo.org/grass/grass/trunk GRASS SVN trunk]&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;&amp;quot;|  [https://launchpad.net/~grass/+archive/grass-devel GRASS Packages: Development Series]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
= GRASS on Launchpad (LP) =&lt;br /&gt;
== Organisation ==&lt;br /&gt;
*  [https://launchpad.net/~grass GRASS team]&lt;br /&gt;
**  GRASS team&lt;br /&gt;
**  individuals which are dedicated to work on GRASS packaging for Ubuntu&lt;br /&gt;
**  Any user and developer is free and welcome to join!&lt;br /&gt;
**  New active members are needed!&lt;br /&gt;
**  Umbrella ''organisation'' for activities around GRASS on Launchpad&lt;br /&gt;
*  [https://launchpad.net/grass GRASS GIS Project]&lt;br /&gt;
**  The GRASS [https://help.launchpad.net/Projects LP project]&lt;br /&gt;
**  Umbrella project for all activities related to the GRASS core such as&lt;br /&gt;
***  code: [https://code.launchpad.net/grass Bazaar branches of GRASS GIS Project]&lt;br /&gt;
*  other future projects could be&lt;br /&gt;
**  Automatic packaging of [http://grasswiki.osgeo.org/wiki/AddOns AddOns]&lt;br /&gt;
**  Further integration of GRASS in Ubntu&lt;br /&gt;
**  Link to Live-CD projects such as [http://live.osgeo.org/ OSGeo-Live]&lt;br /&gt;
&lt;br /&gt;
== Others (UbuntuGIS) ==&lt;br /&gt;
* [https://wiki.ubuntu.com/UbuntuGIS https://wiki.ubuntu.com/UbuntuGIS]&lt;br /&gt;
* [http://trac.osgeo.org/ubuntugis/ http://trac.osgeo.org/ubuntugis/]&lt;br /&gt;
* [https://launchpad.net/~ubuntugis https://launchpad.net/~ubuntugis]&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
 The source code is managed in a structure corresponding to the above organisation&lt;br /&gt;
&lt;br /&gt;
*  Latest SVN imports&lt;br /&gt;
**  [https://code.launchpad.net/~grass/grass/releasebranch_6_4 stable] from [http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 SVN releasebranch_6_4]&lt;br /&gt;
**  [https://code.launchpad.net/~grass/grass/grass_trunk development] from [https://svn.osgeo.org/grass/grass/trunk SVN ][https://svn.osgeo.org/grass/grass/trunk trunk]&lt;br /&gt;
*  [https://code.launchpad.net/ubuntu/+source/grass Bazaar branches for “grass” package in Ubuntu]&lt;br /&gt;
**  Used by Ubuntu packages for the official packages&lt;br /&gt;
&lt;br /&gt;
= GRASS Packaging =&lt;br /&gt;
== Offical Ubuntu Packages ==&lt;br /&gt;
To be added.&lt;br /&gt;
&lt;br /&gt;
== UbuntuGIS Packages ==&lt;br /&gt;
To be added.&lt;br /&gt;
&lt;br /&gt;
== GRASS PPA Packages ==&lt;br /&gt;
* [http://Packaging/SourceBuilds/Recipes Built by Launchpad] using [https://code.launchpad.net/~grass/+recipes GRASS build recipes]&lt;br /&gt;
* Either built daily (stable code) or upon request (development code)&lt;br /&gt;
&lt;br /&gt;
=== Process ===&lt;br /&gt;
#  GRASS source code is regularly imported upon change by LP (destination: see above)&lt;br /&gt;
#  If source has changed, the package is build by&lt;br /&gt;
##  nesting the debian package files (e.g. from [https://code.launchpad.net/~grass/grass/grass64_release_debian lp:~grass/grass/grass64_release_debian] for the 6.4.x stable series) in the original source (e.g. [https://code.launchpad.net/~grass/grass/releasebranch_6_4 lp:~grass/grass/releasebranch_6_4]  for the 6.4.x stable series)&lt;br /&gt;
##  run the build process on LP for the chosen Ubuntu releases according to the instructions in the debian files (e.g. [http://bazaar.launchpad.net/~grass/grass/grass64_release_debian/files ~grass/grass/grass64_release_debian])&lt;br /&gt;
##  Upload the package to the respective archive / PPA (e.g. [https://code.launchpad.net/~grass/+archive/grass-stable GRASS Packages: Stable Series] for  6.4.x stable series)&lt;br /&gt;
&lt;br /&gt;
=== What do to on errors in the packaging process ===&lt;br /&gt;
* If a package build fails, its most likely that there were changes in the upstream GRASS SVN &lt;br /&gt;
* Then the debian files outlined above must be adapted:&lt;br /&gt;
** branch the code of the debian files Bazaar (bzr) repository from launchpad&lt;br /&gt;
** make the necessary changes locally&lt;br /&gt;
** prepare the source running the recipe locally using&lt;br /&gt;
*** bzr dailydeb&lt;br /&gt;
*** bzr build&lt;br /&gt;
** tests the build process on your machine using &lt;br /&gt;
*** pbuilder (recommended), or&lt;br /&gt;
*** dpkg-buildpackage (etc.)&lt;br /&gt;
&lt;br /&gt;
=== Actions where help is needed ===&lt;br /&gt;
Outstanding tasks are:&lt;br /&gt;
&lt;br /&gt;
* check the correct update &amp;amp; daily builds for GRASS 6.4.x&lt;br /&gt;
* Check if the upgrade to the next Ubntu release (13.04) does not affect the packages&lt;br /&gt;
* make the GRASS 7.0.x package failsave so that it can be activated for daily builds&lt;br /&gt;
&lt;br /&gt;
'''Interested contributors, please come in here and give something back to the GRASS community!'''&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Ubuntu_Packaging&amp;diff=18355</id>
		<title>Ubuntu Packaging</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Ubuntu_Packaging&amp;diff=18355"/>
		<updated>2013-04-12T11:46:32Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: correction of links&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; http://grasswiki.osgeo.org/wiki/Ubuntu_Packaging&lt;br /&gt;
&lt;br /&gt;
= Grass Package Repositories =&lt;br /&gt;
== Organisation ==&lt;br /&gt;
*  GRASS packages are provided by different repositories.&lt;br /&gt;
*  They are mostely distihuished by their level of up-to-dateness in respect to the GRASS source code.&lt;br /&gt;
&lt;br /&gt;
== Overview and Sources ==&lt;br /&gt;
 An overview is given in the following table:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border-spacing:0;&amp;quot;&lt;br /&gt;
| style=&amp;quot;border-top:0.05pt solid #000000;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Repository &lt;br /&gt;
| style=&amp;quot;border-top:0.05pt solid #000000;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Type&lt;br /&gt;
| style=&amp;quot;border-top:0.05pt solid #000000;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Update Frequency&lt;br /&gt;
| style=&amp;quot;border-top:0.05pt solid #000000;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Status&lt;br /&gt;
| style=&amp;quot;border-top:0.05pt solid #000000;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Current version&lt;br /&gt;
| style=&amp;quot;border-top:0.05pt solid #000000;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Source&lt;br /&gt;
| style=&amp;quot;border-top:0.05pt solid #000000;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Details&lt;br /&gt;
| style=&amp;quot;border:0.05pt solid #000000;padding:0.097cm;&amp;quot;|  Link &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Official Ubuntu  Repositories&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  universe&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Only updated before each Ubuntu release&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Stable at time of import&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  6.4.2-2&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Imported from Debian repositories&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;&amp;quot;|  [http://packages.ubuntu.com/search?keywords=grass&amp;amp;searchon=names&amp;amp;exact=1&amp;amp;suite=all&amp;amp;section=all Overview]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  UbuntuGIS&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  stable&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  ?&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Stable at time of packaging &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| 6.4.2&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  ?&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;&amp;quot;|  [https://launchpad.net/~ubuntugis/+archive/ppa ubuntugis-stable]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  UbuntuGIS&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  unstable&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  ?&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Unstable at time of packaging&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| 6.4.2~x&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  ?&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;&amp;quot;|  [https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable ubuntugis-unstable]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  UbuntuGIS&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  testing&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  ?&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Very unstable at time of packaging&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  6.4.3-1~x&lt;br /&gt;
 7.0-1~x&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  ?&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;&amp;quot;|  [https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing ubuntugis-testing]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  GRASS PPA&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  stable&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Daily upon change of GRASS source code&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Most recent fixes and backports to stable  series&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  6.4.2+2 &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Imported from [http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 GRASS SVN of releasebranch_6_4]&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;&amp;quot;|  [https://code.launchpad.net/~grass/+archive/grass-stable GRASS Packages: Stable Series]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  GRASS PPA&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  unstable&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Daily upon change of GRASS source code&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Very unstable but latest development code&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  7.0.x&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Imported from [https://svn.osgeo.org/grass/grass/trunk GRASS SVN trunk]&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;&amp;quot;|  [https://launchpad.net/~grass/+archive/grass-devel GRASS Packages: Development Series]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
= GRASS on Launchpad (LP) =&lt;br /&gt;
== Organisation ==&lt;br /&gt;
*  [https://launchpad.net/~grass GRASS team]&lt;br /&gt;
**  GRASS team&lt;br /&gt;
**  individuals which are dedicated to work on GRASS packaging for Ubuntu&lt;br /&gt;
**  Any user and developer is free and welcome to join!&lt;br /&gt;
**  New active members are needed!&lt;br /&gt;
**  Umbrella ''organisation'' for activities around GRASS on Launchpad&lt;br /&gt;
*  [https://launchpad.net/grass GRASS GIS Project]&lt;br /&gt;
**  The GRASS [https://help.launchpad.net/Projects LP project]&lt;br /&gt;
**  Umbrella project for all activities related to the GRASS core such as&lt;br /&gt;
***  code: [https://code.launchpad.net/grass Bazaar branches of GRASS GIS Project]&lt;br /&gt;
*  other future projects could be&lt;br /&gt;
**  Automatic packaging of [http://grasswiki.osgeo.org/wiki/AddOns AddOns]&lt;br /&gt;
**  Further integration of GRASS in Ubntu&lt;br /&gt;
**  Link to Live-CD projects such as [http://live.osgeo.org/ OSGeo-Live]&lt;br /&gt;
&lt;br /&gt;
== Others (UbuntuGIS) ==&lt;br /&gt;
* [https://wiki.ubuntu.com/UbuntuGIS https://wiki.ubuntu.com/UbuntuGIS]&lt;br /&gt;
* [http://trac.osgeo.org/ubuntugis/ http://trac.osgeo.org/ubuntugis/]&lt;br /&gt;
* [https://launchpad.net/~ubuntugis https://launchpad.net/~ubuntugis]&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
 The source code is managed in a structure corresponding to the above organisation&lt;br /&gt;
&lt;br /&gt;
*  Latest SVN imports&lt;br /&gt;
**  [https://code.launchpad.net/~grass/grass/releasebranch_6_4 stable] from [http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 SVN releasebranch_6_4]&lt;br /&gt;
**  [https://code.launchpad.net/~grass/grass/grass_trunk development] from [https://svn.osgeo.org/grass/grass/trunk SVN ][https://svn.osgeo.org/grass/grass/trunk trunk]&lt;br /&gt;
*  [https://code.launchpad.net/ubuntu/+source/grass Bazaar branches for “grass” package in Ubuntu]&lt;br /&gt;
**  Used by Ubuntu packages for the official packages&lt;br /&gt;
&lt;br /&gt;
= GRASS Packaging =&lt;br /&gt;
== Offical Ubuntu Packages ==&lt;br /&gt;
To be added.&lt;br /&gt;
&lt;br /&gt;
== UbuntuGIS Packages ==&lt;br /&gt;
To be added.&lt;br /&gt;
&lt;br /&gt;
== GRASS PPA Packages ==&lt;br /&gt;
* [http://Packaging/SourceBuilds/Recipes Built by Launchpad] using [https://code.launchpad.net/~grass/+recipes GRASS build recipes]&lt;br /&gt;
* Either built daily (stable code) or upon request (development code)&lt;br /&gt;
&lt;br /&gt;
=== Process ===&lt;br /&gt;
#  GRASS source code is regularly imported upon change by LP (destination: see above)&lt;br /&gt;
#  If source has changed, the package is build by&lt;br /&gt;
##  nesting the debian package files (e.g. from [https://code.launchpad.net/~grass/grass/grass64_release_debian lp:~grass/grass/grass64_release_debian] for the 6.4.x stable series) in the original source (e.g. [https://code.launchpad.net/~grass/grass/releasebranch_6_4 lp:~grass/grass/releasebranch_6_4]  for the 6.4.x stable series)&lt;br /&gt;
##  run the build process on LP for the chosen Ubuntu releases according to the instructions in the debian files (e.g. [http://bazaar.launchpad.net/~grass/grass/grass64_release_debian/files ~grass/grass/grass64_release_debian])&lt;br /&gt;
##  Upload the package to the respective archive / PPA (e.g. [https://code.launchpad.net/~grass/+archive/grass-stable GRASS Packages: Stable Series] for  6.4.x stable series)&lt;br /&gt;
&lt;br /&gt;
=== What do to on errors in the packaging process ===&lt;br /&gt;
* If a package build fails, its most likely that there were changes in the upstream GRASS SVN &lt;br /&gt;
* Then the debian files outlined above must be adapted:&lt;br /&gt;
** branch the code of the debian files Bazaar (bzr) repository from launchpad&lt;br /&gt;
** make the necessary changes locally&lt;br /&gt;
** prepare the source running the recipe locally using&lt;br /&gt;
*** bzr dailydeb&lt;br /&gt;
*** bzr build&lt;br /&gt;
** tests the build process on your machine using &lt;br /&gt;
*** pbuilder (recommended), or&lt;br /&gt;
*** dpkg-buildpackage (etc.)&lt;br /&gt;
&lt;br /&gt;
=== Actions where help is needed ===&lt;br /&gt;
Outstanding tasks are:&lt;br /&gt;
&lt;br /&gt;
* check the correct update &amp;amp; daily builds for GRASS 6.4.x&lt;br /&gt;
* Check if the upgrade to the next Ubntu release (13.04) does not affect the packages&lt;br /&gt;
* make the GRASS 7.0.x package failsave so that it can be activated for daily builds&lt;br /&gt;
&lt;br /&gt;
'''Interested contributors, please come in here and give something back to the GRASS community!'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Installation]]&lt;br /&gt;
[[Category: Ubuntu]]&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Ubuntu_Packaging&amp;diff=18352</id>
		<title>Ubuntu Packaging</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Ubuntu_Packaging&amp;diff=18352"/>
		<updated>2013-04-12T11:38:04Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: first real version GRASS Ubuntu&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Grass Package Repositories =&lt;br /&gt;
== Organisation ==&lt;br /&gt;
*  GRASS packages are provided by different repositories.&lt;br /&gt;
*  They are mostely distihuished by their level of up-to-dateness in respect to the GRASS source code.&lt;br /&gt;
&lt;br /&gt;
== Overview and Sources ==&lt;br /&gt;
 An overview is given in the following table:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border-spacing:0;&amp;quot;&lt;br /&gt;
| style=&amp;quot;border-top:0.05pt solid #000000;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Repository &lt;br /&gt;
| style=&amp;quot;border-top:0.05pt solid #000000;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Type&lt;br /&gt;
| style=&amp;quot;border-top:0.05pt solid #000000;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Update Frequency&lt;br /&gt;
| style=&amp;quot;border-top:0.05pt solid #000000;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Status&lt;br /&gt;
| style=&amp;quot;border-top:0.05pt solid #000000;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Current version&lt;br /&gt;
| style=&amp;quot;border-top:0.05pt solid #000000;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Source&lt;br /&gt;
| style=&amp;quot;border-top:0.05pt solid #000000;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Details&lt;br /&gt;
| style=&amp;quot;border:0.05pt solid #000000;padding:0.097cm;&amp;quot;|  Link &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Official Ubuntu  Repositories&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  universe&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Only updated before each Ubuntu release&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Stable at time of import&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  6.4.2-2&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Imported from Debian repositories&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;&amp;quot;|  &amp;lt;nowiki&amp;gt;[http://packages.ubuntu.com/search?keywords=grass&amp;amp;searchon=names&amp;amp;exact=1&amp;amp;suite=all&amp;amp;section=all Overview]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  UbuntuGIS&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  stable&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  ?&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Stable at time of packaging &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| 6.4.2&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  ?&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;&amp;quot;|  [https://launchpad.net/~ubuntugis/+archive/ppa ubuntugis-stable]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  UbuntuGIS&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  unstable&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  ?&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Unstable at time of packaging&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| 6.4.2~x&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  ?&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;&amp;quot;|  [https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable ubuntugis-unstable]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  UbuntuGIS&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  testing&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  ?&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Very unstable at time of packaging&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  6.4.3-1~x&lt;br /&gt;
 7.0-1~x&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  ?&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;&amp;quot;|  [https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing ubuntugis-testing]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  GRASS PPA&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  stable&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Daily upon change of GRASS source code&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Most recent fixes and backports to stable  series&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  6.4.2+2 &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Imported from [http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 GRASS SVN of releasebranch_6_4]&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;&amp;quot;|  [file:///home/hotryce/Dokumente/GRASS%20Packages:%20Stable%20Series GRASS Packages: Stable Series]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  GRASS PPA&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  unstable&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Daily upon change of GRASS source code&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Very unstable but latest development code&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  7.0.x&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;|  Imported from [https://svn.osgeo.org/grass/grass/trunk GRASS SVN trunk]&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;&amp;quot;|  [https://launchpad.net/~grass/+archive/grass-devel GRASS Packages: Development Series]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
= GRASS on Launchpad (LP) =&lt;br /&gt;
== Organisation ==&lt;br /&gt;
*  [https://launchpad.net/~grass GRASS team]&lt;br /&gt;
**  GRASS team&lt;br /&gt;
**  individuals which are dedicated to work on GRASS packaging for Ubuntu&lt;br /&gt;
**  Any user and developer is free and welcome to join!&lt;br /&gt;
**  New active members are needed!&lt;br /&gt;
**  Umbrella ''organisation'' for activities around GRASS on Launchpad&lt;br /&gt;
*  [https://launchpad.net/grass GRASS GIS Project]&lt;br /&gt;
**  The GRASS [https://help.launchpad.net/Projects LP project]&lt;br /&gt;
**  Umbrella project for all activities related to the GRASS core such as&lt;br /&gt;
***  code: [https://code.launchpad.net/grass Bazaar branches of GRASS GIS Project]&lt;br /&gt;
*  other future projects could be&lt;br /&gt;
**  Automatic packaging of [http://grasswiki.osgeo.org/wiki/AddOns AddOns]&lt;br /&gt;
**  Further integration of GRASS in Ubntu&lt;br /&gt;
**  Link to Live-CD projects such as [http://live.osgeo.org/ OSGeo-Live]&lt;br /&gt;
&lt;br /&gt;
== Others (UbuntuGIS) ==&lt;br /&gt;
* [https://wiki.ubuntu.com/UbuntuGIS https://wiki.ubuntu.com/UbuntuGIS]&lt;br /&gt;
* [http://trac.osgeo.org/ubuntugis/ http://trac.osgeo.org/ubuntugis/]&lt;br /&gt;
* [https://launchpad.net/~ubuntugis https://launchpad.net/~ubuntugis]&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
 The source code is managed in a structure corresponding to the above organisation&lt;br /&gt;
&lt;br /&gt;
*  Latest SVN imports&lt;br /&gt;
**  [https://code.launchpad.net/~grass/grass/releasebranch_6_4 stable] from [http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 SVN releasebranch_6_4]&lt;br /&gt;
**  [https://code.launchpad.net/~grass/grass/grass_trunk development] from [https://svn.osgeo.org/grass/grass/trunk SVN ][https://svn.osgeo.org/grass/grass/trunk trunk]&lt;br /&gt;
*  [https://code.launchpad.net/ubuntu/+source/grass Bazaar branches for “grass” package in Ubuntu]&lt;br /&gt;
**  Used by Ubuntu packages for the official packages&lt;br /&gt;
&lt;br /&gt;
= GRASS Packaging =&lt;br /&gt;
== Offical Ubuntu Packages ==&lt;br /&gt;
To be added.&lt;br /&gt;
&lt;br /&gt;
== UbuntuGIS Packages ==&lt;br /&gt;
To be added.&lt;br /&gt;
&lt;br /&gt;
== GRASS PPA Packages ==&lt;br /&gt;
* [http://Packaging/SourceBuilds/Recipes Built by Launchpad] using [https://code.launchpad.net/~grass/+recipes GRASS build recipes]&lt;br /&gt;
* Either built daily (stable code) or upon request (development code)&lt;br /&gt;
&lt;br /&gt;
=== Process ===&lt;br /&gt;
#  GRASS source code is regularly imported upon change by LP (destination: see above)&lt;br /&gt;
#  If source has changed, the package is build by&lt;br /&gt;
##  nesting the debian package files (e.g. from [https://code.launchpad.net/~grass/grass/grass64_release_debian lp:~grass/grass/grass64_release_debian] for the 6.4.x stable series) in the original source (e.g. [https://code.launchpad.net/~grass/grass/releasebranch_6_4 lp:~grass/grass/releasebranch_6_4]  for the 6.4.x stable series)&lt;br /&gt;
##  run the build process on LP for the chosen Ubuntu releases according to the instructions in the debian files (e.g. [http://bazaar.launchpad.net/~grass/grass/grass64_release_debian/files ~grass/grass/grass64_release_debian])&lt;br /&gt;
##  Upload the package to the respective archive / PPA (e.g. [https://code.launchpad.net/~grass/+archive/grass-stable GRASS Packages: Stable Series] for  6.4.x stable series)&lt;br /&gt;
&lt;br /&gt;
=== What do to on errors in the packaging process ===&lt;br /&gt;
* If a package build fails, its most likely that there were changes in the upstream GRASS SVN &lt;br /&gt;
* Then the debian files outlined above must be adapted:&lt;br /&gt;
** branch the code of the debian files Bazaar (bzr) repository from launchpad&lt;br /&gt;
** make the necessary changes locally&lt;br /&gt;
** prepare the source running the recipe locally using&lt;br /&gt;
*** bzr dailydeb&lt;br /&gt;
*** bzr build&lt;br /&gt;
** tests the build process on your machine using &lt;br /&gt;
*** pbuilder (recommended), or&lt;br /&gt;
*** dpkg-buildpackage (etc.)&lt;br /&gt;
&lt;br /&gt;
=== Actions where help is needed ===&lt;br /&gt;
Outstanding tasks are:&lt;br /&gt;
&lt;br /&gt;
* check the correct update &amp;amp; daily builds for GRASS 6.4.x&lt;br /&gt;
* Check if the upgrade to the next Ubntu release (13.04) does not affect the packages&lt;br /&gt;
* make the GRASS 7.0.x package failsave so that it can be activated for daily builds&lt;br /&gt;
&lt;br /&gt;
'''Interested contributors, please come in here and give something back to the GRASS community!'''&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Ubuntu_Packaging&amp;diff=18309</id>
		<title>Ubuntu Packaging</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Ubuntu_Packaging&amp;diff=18309"/>
		<updated>2013-04-12T09:28:31Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: in progress&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Organisation =&lt;br /&gt;
&lt;br /&gt;
GRASS packages are provided by different repositories:&lt;br /&gt;
&lt;br /&gt;
== Offical Ubuntu  Repors&lt;br /&gt;
&lt;br /&gt;
=&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Compile_and_Install_Ubuntu&amp;diff=18302</id>
		<title>Compile and Install Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Compile_and_Install_Ubuntu&amp;diff=18302"/>
		<updated>2013-04-12T09:21:05Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: /* Packaging of GRASS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div class=&amp;quot;boilerplate metadata&amp;quot; id=&amp;quot;attention&amp;quot; style=&amp;quot;-moz-border-radius:30px; border: 1px double #35824B; margin-bottom: 1.5em; padding: 1em; background-color: #f9f9f9;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;font-size: 150%; text-align: left;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#35824B&amp;quot;&amp;gt;'''Attention'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&amp;lt;span style=&amp;quot;color:#333333&amp;quot;&amp;gt;'''The following instructions describe the compilation and installation of GRASS 6.x (or even 7) and its required dependencies completely from the source on Ubuntu based systems. Please, prefer pre-compiled packages over the manual way described below unless you know ''what'' and ''how'', you want to learn and help testing.'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Very Important notes ==&lt;br /&gt;
&lt;br /&gt;
* Pre-compiled packages and backports are available from [https://wiki.ubuntu.com/UbuntuGIS UbuntuGIS] via their [https://launchpad.net/~ubuntugis/+archive/ppa/ ppa.launchpad] repositories. '''This is by far the simplest and fastest solution. Please prefer it over the manual way described below.'''&lt;br /&gt;
&lt;br /&gt;
* To build an updated version of GRASS or support libraries unmodified, in most cases it will be easier to use an automated build tool such as ''pbuilder'', ''debuild'' or ''cowbuilder''. See the &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;debian/&amp;lt;/source&amp;gt; directory in the source code for details.&lt;br /&gt;
&lt;br /&gt;
* Some things change fast and therefore it is expected that the instructions might fail. Please inform the grass-user list in case something just does not work (like for example non-available dependecies/packages from the repositories) or update this page respectively.&lt;br /&gt;
&lt;br /&gt;
* GRASS version 6.5 exists for development purposes, testing features to-be backported to version 6.4. As such it may include unstable code and is not intended for production and end-users.&lt;br /&gt;
&lt;br /&gt;
* An alternate method is to use the DebianGIS packaging scripts, which enable a lot of this to happen automatically (see [https://svn.osgeo.org/grass/grass/branches/releasebranch_6_4/debian/README.debian debian/README.debian] in the GRASS Subversion source code repository). Specifically, this command will get you 90% of the way there: &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;sudo apt-get build-dep grass&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Hints ==&lt;br /&gt;
&lt;br /&gt;
* Usually, the installation of compiled code is done by using the &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;make&amp;lt;/source&amp;gt; tool. Alternatively, this can be done by using the ''checkinstall'' tool (i.e., &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;sudo checkinstall&amp;lt;/source&amp;gt;  instead of  &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;sudo make install&amp;lt;/source&amp;gt;) which eases off removal of packages. If ''checkinstall'' fails to deliver, please note some related bugs: [https://bugs.launchpad.net/ubuntu/+source/checkinstall/+bug/78455 78455] and [https://bugs.launchpad.net/ubuntu/+source/checkinstall/+bug/599163 599163]. Useful information on using ''checkinstall'': [https://help.ubuntu.com/community/CompilingEasyHowTo Compiling things on Ubuntu the Easy Way].&lt;br /&gt;
&lt;br /&gt;
* In multi-core processors, the compilation performance can be boosted by using  ''-j''  switches (e.g. &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;make -j2&amp;lt;/source&amp;gt;  or  &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;make -j3&amp;lt;/source&amp;gt;  or even &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;make -j4&amp;lt;/source&amp;gt;) which specify the number of jobs (commands) to run simultaneously.&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
=== Current stable Ubuntu version ===&lt;br /&gt;
&lt;br /&gt;
The following dependencies concern [http://releases.ubuntu.com/quantal/ Ubuntu Quantal Quetzal (12.10)]&lt;br /&gt;
&lt;br /&gt;
* First, update the system from the repositories&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get update &amp;amp;&amp;amp; sudo apt-get upgrade&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* then, install ''SQLite'', ''SVN'' and ''dependencies'' for compiling PROJ, GEOS, GDAL/OGR, GRASS, GDAL-GRASS-PLUGIN; the following action will also install various dependencies (listed in the command line as &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;The following extra packages will be installed:&amp;lt;/source&amp;gt;...):&amp;lt;br/&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# this is a single command, please copy-paste it entirely into the terminal:&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
  build-essential \&lt;br /&gt;
  flex make bison gcc libgcc1 g++ cmake ccache \&lt;br /&gt;
  python python-dev python-qt4 python-qt4-dev \&lt;br /&gt;
  python-opengl \&lt;br /&gt;
  python-wxversion python-wxtools python-wxgtk2.8 \&lt;br /&gt;
  python-dateutil libgsl0-dev python-numpy \&lt;br /&gt;
  wx2.8-headers wx-common libwxgtk2.8-dev libwxgtk2.8-dbg \&lt;br /&gt;
  libwxbase2.8-dev  libwxbase2.8-dbg \&lt;br /&gt;
  libncurses5-dev \&lt;br /&gt;
  zlib1g-dev gettext \&lt;br /&gt;
  libtiff-dev libpnglite-dev \&lt;br /&gt;
  tcl8.5-dev tk8.5-dev \&lt;br /&gt;
  libcairo2 libcairo2-dev \&lt;br /&gt;
  sqlite3 libsqlite3-dev \&lt;br /&gt;
  libpq-dev \&lt;br /&gt;
  libreadline6 libreadline6-dev libfreetype6-dev \&lt;br /&gt;
  txt2tags \&lt;br /&gt;
  libfftw3-3 libfftw3-dev \&lt;br /&gt;
  libqt4-core libqt4-dbg libqt4-dev libqt4-gui libqt4-sql libqt4-qt3support \&lt;br /&gt;
  lsb-qt4 qt4-designer qt4-dev-tools qt4-doc qt4-qtconfig \&lt;br /&gt;
  libapt-pkg-perl resolvconf \&lt;br /&gt;
  libjasper-dev \&lt;br /&gt;
  ruby \&lt;br /&gt;
  subversion \&lt;br /&gt;
  ffmpeg ffmpeg2theora \&lt;br /&gt;
  libffmpegthumbnailer-dev \&lt;br /&gt;
  libavcodec-dev \&lt;br /&gt;
  libxmu-dev \&lt;br /&gt;
  libavformat-dev libswscale-dev \&lt;br /&gt;
  checkinstall \&lt;br /&gt;
  libglu1-mesa-dev libxmu-dev&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for mysql support, &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;libmysqlclient-dev&amp;lt;/source&amp;gt; is required &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install libmysqlclient-dev&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* create a directory as a simple user where all source code is going to be stored -- in this example, a directory named &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;src&amp;lt;/source&amp;gt; under &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/usr/local&amp;lt;/source&amp;gt; is created &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo mkdir /usr/local/src&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* take over directories ownerships ('''replace''' below the terms ''userid'' and ''groupid'' with a real &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;userid&amp;lt;/source&amp;gt;): &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo chown userid:groupid /usr/local/src&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* similarly, grant &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;rwx&amp;lt;/source&amp;gt; (read-write-execute) permissions for our ''userid'' and ''groupid'' onto the &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;src&amp;lt;/source&amp;gt; directory: &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo chmod ug+rwx /usr/local/src&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Earlier Ubuntu versions ===&lt;br /&gt;
&lt;br /&gt;
For [http://old-releases.ubuntu.com/releases/ earlier Ubuntu versions], '''watch out for dependency differences!''' Modify the dependency list given above as instructed below.&lt;br /&gt;
&lt;br /&gt;
* for [http://releases.ubuntu.com/precise/ Ubuntu Precise Pangolin (12.04)], change the following dependencies:&lt;br /&gt;
** &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;libpnglite-dev --&amp;gt; libpngwriter-dev&amp;lt;/source&amp;gt;&lt;br /&gt;
** &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;libtiff5-dev --&amp;gt; libtiff4-dev&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for [http://old-releases.ubuntu.com/releases/maverick/ Ubuntu Maverick Meerkat (10.10)] or later, change the following dependencies:&lt;br /&gt;
** &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;libpngwriter-dev --&amp;gt; libpngwriter0-dev&amp;lt;/source&amp;gt;&lt;br /&gt;
** &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;libcairo-dev --&amp;gt; libcairo2-dev&amp;lt;/source&amp;gt;&lt;br /&gt;
** &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;fftw3 --&amp;gt; libfftw3-3&amp;lt;/source&amp;gt;&lt;br /&gt;
** &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;fftw3-dev --&amp;gt; libfftw3-dev&amp;lt;/source&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
* for [http://old-releases.ubuntu.com/releases/lucid/ Ubuntu Lucid Lynx (10.04)] or later, also install: &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;sudo apt-get install libhdf4-alt-dev libhdf4-0-alt&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for [http://old-releases.ubuntu.com/releases/ earlier Ubuntu versions], also install: &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt; sudo apt-get install libhdf4g-dev libhdf4g-run&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Using pre-compiled dev Packages for PROJ.4, GEOS and GDAL ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== PROJ.4 ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;dev&amp;lt;/source&amp;gt; package (possibly without support for datumgrid):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install libproj-dev&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* In the call to &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;./configure&amp;lt;/source&amp;gt; for [[#GRASS|GRASS]], replace &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;--with-proj-share=/usr/local/share/proj/&amp;lt;/source&amp;gt; by &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;--with-proj-share=/usr/share/proj/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== GEOS ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;dev&amp;lt;/source&amp;gt; package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install libgeos-dev&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* In the call to &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;./configure&amp;lt;/source&amp;gt; for [[#GRASS|GRASS]], replace &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;--with-geos=/usr/local/bin/geos-config&amp;lt;/source&amp;gt; by &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;--with-geos=/usr/bin/geos-config&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== GDAL ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;dev&amp;lt;/source&amp;gt; package (possibly without support for datumgrid):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install libgdal-dev&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Install also the required extra packages (note the message: &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;The following extra packages will be installed:&amp;lt;/source&amp;gt;)&lt;br /&gt;
* Look out for packages to be removed by this operation -- this is most likely caused by incompatible package versions. Fix these problems in advance using commands like the following: &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install &amp;lt;package&amp;gt;=&amp;lt;required.version&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GRASS-GIS ===&lt;br /&gt;
&lt;br /&gt;
[[Compile_and_Install_Ubuntu#GRASS_GIS|Jump to sub-section GRASS-GIS below]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Compile from source ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== PROJ4 ===&lt;br /&gt;
&lt;br /&gt;
* within the directory &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/usr/local/src&amp;lt;/source&amp;gt; (create it if it does not exist) checkout &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;proj&amp;lt;/source&amp;gt; from its Subversion repository: &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn co http://svn.osgeo.org/metacrs/proj/branches/4.8/proj/&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* get [http://download.osgeo.org/proj/proj-datumgrid-1.5.zip '''proj-datumgrid-1.5.zip'''] from [http://trac.osgeo.org/proj proj' trac] and move it under &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;proj/nad&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
wget http://download.osgeo.org/proj/proj-datumgrid-1.5.zip&lt;br /&gt;
mv proj-datumgrid-1.5.zip /usr/local/src/proj/nad&lt;br /&gt;
cd /usr/local/src/proj/nad&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* decompress it &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
unzip proj-datumgrid-1.5.zip&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* go back to the &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;proj&amp;lt;/source&amp;gt; directory &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd /usr/local/src/proj&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* if required, clean previous configuration &amp;amp; compilation &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
make distclean&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* simple configure, compile and install &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
./configure  &amp;amp;&amp;amp;  make  &amp;amp;&amp;amp;  sudo make install&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt; or &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
./configure &amp;amp;&amp;amp; make -j2  &amp;amp;&amp;amp;  sudo checkinstall&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* ensure that &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/usr/local/lib&amp;lt;/source&amp;gt; is added to &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/etc/ld.so.conf&amp;lt;/source&amp;gt; and afterwards run &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* finally, go back to the parent directory simply by instructing&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd ..&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GEOS ===&lt;br /&gt;
&lt;br /&gt;
* download '''geos-3.3.5.tar.bz2''' from [http://trac.osgeo.org/geos/ http://trac.osgeo.org/geos] using &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;wget&amp;lt;/source&amp;gt; &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
wget http://download.osgeo.org/geos/geos-3.3.5.tar.bz2&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* move to the &amp;quot;source-code&amp;quot; directory and decompress&lt;br /&gt;
&amp;lt;ul&amp;gt;&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd /usr/local/src/&lt;br /&gt;
bunzip2 geos-3.3.5.tar.bz2&lt;br /&gt;
tar xvf  geos-3.3.5.tar&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* if required, clean previous configuration &amp;amp; compilation  &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
make distclean&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* move to geos directory  &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd geos-3.3.5&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* simple configure, compile and install &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
./configure  &amp;amp;&amp;amp;  make  &amp;amp;&amp;amp;  sudo make install&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt; or &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
./configure  &amp;amp;&amp;amp; make -j2  &amp;amp;&amp;amp;  sudo checkinstall&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* do not forget to execute &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GDAL ===&lt;br /&gt;
&lt;br /&gt;
'''Note''', GDAL must be compiled '''without''' GRASS support&lt;br /&gt;
&lt;br /&gt;
* download the current stable version &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn checkout https://svn.osgeo.org/gdal/branches/1.9/gdal gdal_stable&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* enter in the &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;gdal_stable&amp;lt;/source&amp;gt; directory &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd /usr/local/src/gdal_stable&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* optionally, update the source code &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn up&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* if required, clean previous configurations/compilations &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
make distclean&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* a simple configuration without any parameters will detect and support various installed libraries &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* skip to the ''compile and install'' step or check the following customised configuration example&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
CFLAGS=&amp;quot;-g -Wall&amp;quot; LDFLAGS=&amp;quot;-s&amp;quot; ./configure \&lt;br /&gt;
--with-png=internal \&lt;br /&gt;
--with-libtiff=internal \&lt;br /&gt;
--with-geotiff=internal \&lt;br /&gt;
--with-jpeg=internal \&lt;br /&gt;
--with-gif=internal \&lt;br /&gt;
--with-ecw=yes \&lt;br /&gt;
--with-expat=yes \&lt;br /&gt;
--with-expat-inc=/usr/include/ \&lt;br /&gt;
--with-expat-lib=/usr/lib \&lt;br /&gt;
--with-sqlite3=yes \&lt;br /&gt;
--with-geos=yes \&lt;br /&gt;
--with-python \&lt;br /&gt;
--with-libz=internal \&lt;br /&gt;
--with-netcdf \&lt;br /&gt;
--with-sqlite \&lt;br /&gt;
--with-threads=yes \&lt;br /&gt;
--without-grass  \&lt;br /&gt;
--without-ogdi \&lt;br /&gt;
--with-pg=/usr/bin/pg_config \&lt;br /&gt;
--with-xerces=yes&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* compile, install &amp;amp; ldconfig &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
make -j2  &amp;amp;&amp;amp;  sudo make install  &amp;amp;&amp;amp;  sudo ldconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt; or &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
make -j2  &amp;amp;&amp;amp;  sudo checkinstall  &amp;amp;&amp;amp;  sudo ldconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GRASS GIS ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;boilerplate metadata&amp;quot; id=&amp;quot;attention&amp;quot; style=&amp;quot;-moz-border-radius:30px; border: 1px double #4da948; margin-bottom: 1em; padding: 0 .25em; background-color: #dcdcdc;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;font-size: 125%; text-align: left;&amp;quot;&amp;gt;'''Recommendation'''&amp;amp;nbsp;&amp;lt;/p&amp;gt;Before attempting to compile GRASS, read the  &amp;lt;code&amp;gt;INSTALL&amp;lt;/code&amp;gt;  file, which is located in GRASS' source code root directory. Pay attention especially to  section &amp;lt;code&amp;gt;(C)&amp;lt;/code&amp;gt;, entitled &amp;lt;code&amp;gt;COMPILATION NOTES for 64bit platforms&amp;lt;/code&amp;gt;.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''' Getting GRASS' source code '''&lt;br /&gt;
&lt;br /&gt;
* get current state of the 6.4.x release branch version (stable) &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn co https://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 grass64_release&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To download under development versions use&lt;br /&gt;
&lt;br /&gt;
* for GRASS 6.5  (Note: ''GRASS version 6.5 is not intended for end-users! It exists for development purposes which should rather take place for GRASS 7.'') &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn checkout https://svn.osgeo.org/grass/grass/branches/develbranch_6 grass6_devel&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for GRASS 7 &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn checkout https://svn.osgeo.org/grass/grass/trunk grass_trunk&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for subsequent updates execute &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn up&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''' Configure, Compile and Install'''&lt;br /&gt;
&lt;br /&gt;
* if required, clean previous configuration &amp;amp; compilation (not needed the first time) &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
make distclean&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* example configuration (which can/should be adjusted according to specific needs):&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
./configure \&lt;br /&gt;
--enable-largefile=yes \&lt;br /&gt;
--with-nls \&lt;br /&gt;
--with-cxx \&lt;br /&gt;
--with-proj-share=/usr/local/share/proj/ \&lt;br /&gt;
--with-geos=/usr/local/bin/geos-config \&lt;br /&gt;
--with-python=yes \&lt;br /&gt;
--with-wxwidgets \&lt;br /&gt;
--with-cairo \&lt;br /&gt;
--with-tcltk-includes=&amp;quot;/usr/include/tcl8.5/&amp;quot; \&lt;br /&gt;
--with-opengl-libs=/usr/include/GL \&lt;br /&gt;
--with-motif \&lt;br /&gt;
--with-ffmpeg=yes --with-ffmpeg-includes=&amp;quot;/usr/include/libavcodec /usr/include/libavformat /usr/include/libswscale&amp;quot; \&lt;br /&gt;
--with-freetype=yes --with-freetype-includes=&amp;quot;/usr/include/freetype2/&amp;quot; \&lt;br /&gt;
--with-postgres=yes \&lt;br /&gt;
--with-postgresql=yes --with-postgres-includes=&amp;quot;/usr/include/postgresql&amp;quot; \&lt;br /&gt;
--with-sqlite=yes \&lt;br /&gt;
--with-mysql=yes --with-mysql-includes=&amp;quot;/usr/include/mysql&amp;quot; \&lt;br /&gt;
--with-odbc=yes&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
'''Note''', the above configuration uses the &amp;lt;code&amp;gt;Proj4&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;GEOS&amp;lt;/code&amp;gt; packages compiled from the source. In the case that pre-compiled versions from the repository are required, remove the above corresponding lines to use the &amp;quot;defaults&amp;quot;, i.e. &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
--with-proj-share=/usr/share/proj \&lt;br /&gt;
--with-geos=/usr/bin/geos-config \&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* compile &amp;amp; install &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
make -j2  &amp;amp;&amp;amp;  sudo make install  &amp;amp;&amp;amp;  sudo ldconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt; or &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
make -j2  &amp;amp;&amp;amp;  sudo checkinstall  &amp;amp;&amp;amp;  sudo ldconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GDAL-GRASS-Plugin ===&lt;br /&gt;
&lt;br /&gt;
* get the plugin from [http://download.osgeo.org/gdal OSGeo's Download Server]: [http://download.osgeo.org/gdal/gdal-grass-1.4.3.tar.gz http://download.osgeo.org/gdal/gdal-grass-1.4.3.tar.gz] using &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;wget&amp;lt;/source&amp;gt; &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 wget http://download.osgeo.org/gdal/gdal-grass-1.4.3.tar.gz&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* create   &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/etc/ld.so.conf.d/grass6.conf&amp;lt;/source&amp;gt;   or add in   &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/etc/ld.so.conf&amp;lt;/source&amp;gt;   the GRASS library path, i.e. &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/usr/local/src/grass64_release/lib&amp;lt;/source&amp;gt;&lt;br /&gt;
* optionally, clean previous configurations/compilations&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 make distclean&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* configure -- point to GRASS installation/binaries&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt; ./configure \&lt;br /&gt;
 --prefix=/usr/local \&lt;br /&gt;
 --with-gdal=/usr/local/bin/gdal-config \&lt;br /&gt;
 --with-grass=/geo/osgeo/src/grass64_release/dist.x86_64-unknown-linux-gnu/ \&lt;br /&gt;
 --with-autoload=&amp;quot;/usr/local/lib/gdalplugins/&amp;quot; \&lt;br /&gt;
 --with-ld-shared=&amp;quot;g++ -shared&amp;quot;&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
* for GRASS 6.5, replace the respective line above, depending on where the source code in question is stored, with something like&amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt; --with-grass=/usr/local/grass-6.5.svn/&amp;lt;/source&amp;gt;&lt;br /&gt;
* for GRASS 7, replace with &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt; --with-grass=/usr/local/grass_trunk/&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
* compile &amp;amp; install using checkinstall&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 make -j2  &amp;amp;&amp;amp;  sudo checkinstall&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Post compilation/installation control =&lt;br /&gt;
&lt;br /&gt;
* For a recommended quick-check read the [http://grass.osgeo.org/wiki/Compile_and_install_GRASS_and_QGIS_with_GDAL/OGR_Plugin#Troubleshooting Troubleshooting] section at [http://grass.osgeo.org/wiki/Compile_and_install_GDAL-GRASS_plugin Compile_and_install_GDAL-GRASS_plugin]&lt;br /&gt;
&lt;br /&gt;
* in case of errors in future compilation attempts, remember to remove program binaries and files created with the &amp;quot;configuration&amp;quot; from previous compilations with&lt;br /&gt;
 make distclean&lt;br /&gt;
&lt;br /&gt;
* another common mistake is compiling a module against some GRASS version and then try to run it through another GRASS version. The solution is to recompile the affected module or, in case there are multiple GRASS installations, set up properly LD_LIBRARY_PATH paths.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Removal of GRASS =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get rid of a GRASS binaries installation, delete&lt;br /&gt;
* &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/usr/local/grass-6.4.0svn&amp;lt;/source&amp;gt; (directory, binaries location)&lt;br /&gt;
* &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/usr/local/bin/grass64&amp;lt;/source&amp;gt; (file)&lt;br /&gt;
* &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/usr/local/bin/gem64&amp;lt;/source&amp;gt; (file)&lt;br /&gt;
* &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/home/username/.grassrc6&amp;lt;/source&amp;gt; (file)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If wanted, delete also the complete source code:&lt;br /&gt;
* &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/usr/local/src/grass_64svn&amp;lt;/source&amp;gt; (directory, source code location)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To remove &amp;lt;code&amp;gt;grass&amp;lt;/code&amp;gt; (or any other package) which was installed by &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;checkinstall&amp;lt;/source&amp;gt;, use &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;dpkg&amp;lt;/source&amp;gt;, e.g.&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo dpkg -r grass64 # package name defined at installation is important&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Packaging of GRASS =&lt;br /&gt;
&lt;br /&gt;
Please refer to [[Ubuntu Packaging]]&lt;br /&gt;
&lt;br /&gt;
[[Category: Compilation]]&lt;br /&gt;
[[Category: Installation]]&lt;br /&gt;
[[Category: Ubuntu]]&lt;br /&gt;
[[Category: FAQ]]&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Compile_and_Install_Ubuntu&amp;diff=18301</id>
		<title>Compile and Install Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Compile_and_Install_Ubuntu&amp;diff=18301"/>
		<updated>2013-04-12T09:20:29Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: /* Packaging of GRASS apparently no wiki names supported*/&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div class=&amp;quot;boilerplate metadata&amp;quot; id=&amp;quot;attention&amp;quot; style=&amp;quot;-moz-border-radius:30px; border: 1px double #35824B; margin-bottom: 1.5em; padding: 1em; background-color: #f9f9f9;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;font-size: 150%; text-align: left;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#35824B&amp;quot;&amp;gt;'''Attention'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&amp;lt;span style=&amp;quot;color:#333333&amp;quot;&amp;gt;'''The following instructions describe the compilation and installation of GRASS 6.x (or even 7) and its required dependencies completely from the source on Ubuntu based systems. Please, prefer pre-compiled packages over the manual way described below unless you know ''what'' and ''how'', you want to learn and help testing.'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Very Important notes ==&lt;br /&gt;
&lt;br /&gt;
* Pre-compiled packages and backports are available from [https://wiki.ubuntu.com/UbuntuGIS UbuntuGIS] via their [https://launchpad.net/~ubuntugis/+archive/ppa/ ppa.launchpad] repositories. '''This is by far the simplest and fastest solution. Please prefer it over the manual way described below.'''&lt;br /&gt;
&lt;br /&gt;
* To build an updated version of GRASS or support libraries unmodified, in most cases it will be easier to use an automated build tool such as ''pbuilder'', ''debuild'' or ''cowbuilder''. See the &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;debian/&amp;lt;/source&amp;gt; directory in the source code for details.&lt;br /&gt;
&lt;br /&gt;
* Some things change fast and therefore it is expected that the instructions might fail. Please inform the grass-user list in case something just does not work (like for example non-available dependecies/packages from the repositories) or update this page respectively.&lt;br /&gt;
&lt;br /&gt;
* GRASS version 6.5 exists for development purposes, testing features to-be backported to version 6.4. As such it may include unstable code and is not intended for production and end-users.&lt;br /&gt;
&lt;br /&gt;
* An alternate method is to use the DebianGIS packaging scripts, which enable a lot of this to happen automatically (see [https://svn.osgeo.org/grass/grass/branches/releasebranch_6_4/debian/README.debian debian/README.debian] in the GRASS Subversion source code repository). Specifically, this command will get you 90% of the way there: &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;sudo apt-get build-dep grass&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Hints ==&lt;br /&gt;
&lt;br /&gt;
* Usually, the installation of compiled code is done by using the &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;make&amp;lt;/source&amp;gt; tool. Alternatively, this can be done by using the ''checkinstall'' tool (i.e., &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;sudo checkinstall&amp;lt;/source&amp;gt;  instead of  &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;sudo make install&amp;lt;/source&amp;gt;) which eases off removal of packages. If ''checkinstall'' fails to deliver, please note some related bugs: [https://bugs.launchpad.net/ubuntu/+source/checkinstall/+bug/78455 78455] and [https://bugs.launchpad.net/ubuntu/+source/checkinstall/+bug/599163 599163]. Useful information on using ''checkinstall'': [https://help.ubuntu.com/community/CompilingEasyHowTo Compiling things on Ubuntu the Easy Way].&lt;br /&gt;
&lt;br /&gt;
* In multi-core processors, the compilation performance can be boosted by using  ''-j''  switches (e.g. &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;make -j2&amp;lt;/source&amp;gt;  or  &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;make -j3&amp;lt;/source&amp;gt;  or even &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;make -j4&amp;lt;/source&amp;gt;) which specify the number of jobs (commands) to run simultaneously.&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
=== Current stable Ubuntu version ===&lt;br /&gt;
&lt;br /&gt;
The following dependencies concern [http://releases.ubuntu.com/quantal/ Ubuntu Quantal Quetzal (12.10)]&lt;br /&gt;
&lt;br /&gt;
* First, update the system from the repositories&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get update &amp;amp;&amp;amp; sudo apt-get upgrade&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* then, install ''SQLite'', ''SVN'' and ''dependencies'' for compiling PROJ, GEOS, GDAL/OGR, GRASS, GDAL-GRASS-PLUGIN; the following action will also install various dependencies (listed in the command line as &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;The following extra packages will be installed:&amp;lt;/source&amp;gt;...):&amp;lt;br/&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# this is a single command, please copy-paste it entirely into the terminal:&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
  build-essential \&lt;br /&gt;
  flex make bison gcc libgcc1 g++ cmake ccache \&lt;br /&gt;
  python python-dev python-qt4 python-qt4-dev \&lt;br /&gt;
  python-opengl \&lt;br /&gt;
  python-wxversion python-wxtools python-wxgtk2.8 \&lt;br /&gt;
  python-dateutil libgsl0-dev python-numpy \&lt;br /&gt;
  wx2.8-headers wx-common libwxgtk2.8-dev libwxgtk2.8-dbg \&lt;br /&gt;
  libwxbase2.8-dev  libwxbase2.8-dbg \&lt;br /&gt;
  libncurses5-dev \&lt;br /&gt;
  zlib1g-dev gettext \&lt;br /&gt;
  libtiff-dev libpnglite-dev \&lt;br /&gt;
  tcl8.5-dev tk8.5-dev \&lt;br /&gt;
  libcairo2 libcairo2-dev \&lt;br /&gt;
  sqlite3 libsqlite3-dev \&lt;br /&gt;
  libpq-dev \&lt;br /&gt;
  libreadline6 libreadline6-dev libfreetype6-dev \&lt;br /&gt;
  txt2tags \&lt;br /&gt;
  libfftw3-3 libfftw3-dev \&lt;br /&gt;
  libqt4-core libqt4-dbg libqt4-dev libqt4-gui libqt4-sql libqt4-qt3support \&lt;br /&gt;
  lsb-qt4 qt4-designer qt4-dev-tools qt4-doc qt4-qtconfig \&lt;br /&gt;
  libapt-pkg-perl resolvconf \&lt;br /&gt;
  libjasper-dev \&lt;br /&gt;
  ruby \&lt;br /&gt;
  subversion \&lt;br /&gt;
  ffmpeg ffmpeg2theora \&lt;br /&gt;
  libffmpegthumbnailer-dev \&lt;br /&gt;
  libavcodec-dev \&lt;br /&gt;
  libxmu-dev \&lt;br /&gt;
  libavformat-dev libswscale-dev \&lt;br /&gt;
  checkinstall \&lt;br /&gt;
  libglu1-mesa-dev libxmu-dev&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for mysql support, &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;libmysqlclient-dev&amp;lt;/source&amp;gt; is required &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install libmysqlclient-dev&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* create a directory as a simple user where all source code is going to be stored -- in this example, a directory named &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;src&amp;lt;/source&amp;gt; under &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/usr/local&amp;lt;/source&amp;gt; is created &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo mkdir /usr/local/src&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* take over directories ownerships ('''replace''' below the terms ''userid'' and ''groupid'' with a real &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;userid&amp;lt;/source&amp;gt;): &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo chown userid:groupid /usr/local/src&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* similarly, grant &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;rwx&amp;lt;/source&amp;gt; (read-write-execute) permissions for our ''userid'' and ''groupid'' onto the &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;src&amp;lt;/source&amp;gt; directory: &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo chmod ug+rwx /usr/local/src&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Earlier Ubuntu versions ===&lt;br /&gt;
&lt;br /&gt;
For [http://old-releases.ubuntu.com/releases/ earlier Ubuntu versions], '''watch out for dependency differences!''' Modify the dependency list given above as instructed below.&lt;br /&gt;
&lt;br /&gt;
* for [http://releases.ubuntu.com/precise/ Ubuntu Precise Pangolin (12.04)], change the following dependencies:&lt;br /&gt;
** &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;libpnglite-dev --&amp;gt; libpngwriter-dev&amp;lt;/source&amp;gt;&lt;br /&gt;
** &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;libtiff5-dev --&amp;gt; libtiff4-dev&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for [http://old-releases.ubuntu.com/releases/maverick/ Ubuntu Maverick Meerkat (10.10)] or later, change the following dependencies:&lt;br /&gt;
** &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;libpngwriter-dev --&amp;gt; libpngwriter0-dev&amp;lt;/source&amp;gt;&lt;br /&gt;
** &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;libcairo-dev --&amp;gt; libcairo2-dev&amp;lt;/source&amp;gt;&lt;br /&gt;
** &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;fftw3 --&amp;gt; libfftw3-3&amp;lt;/source&amp;gt;&lt;br /&gt;
** &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;fftw3-dev --&amp;gt; libfftw3-dev&amp;lt;/source&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
* for [http://old-releases.ubuntu.com/releases/lucid/ Ubuntu Lucid Lynx (10.04)] or later, also install: &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;sudo apt-get install libhdf4-alt-dev libhdf4-0-alt&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for [http://old-releases.ubuntu.com/releases/ earlier Ubuntu versions], also install: &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt; sudo apt-get install libhdf4g-dev libhdf4g-run&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Using pre-compiled dev Packages for PROJ.4, GEOS and GDAL ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== PROJ.4 ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;dev&amp;lt;/source&amp;gt; package (possibly without support for datumgrid):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install libproj-dev&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* In the call to &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;./configure&amp;lt;/source&amp;gt; for [[#GRASS|GRASS]], replace &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;--with-proj-share=/usr/local/share/proj/&amp;lt;/source&amp;gt; by &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;--with-proj-share=/usr/share/proj/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== GEOS ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;dev&amp;lt;/source&amp;gt; package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install libgeos-dev&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* In the call to &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;./configure&amp;lt;/source&amp;gt; for [[#GRASS|GRASS]], replace &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;--with-geos=/usr/local/bin/geos-config&amp;lt;/source&amp;gt; by &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;--with-geos=/usr/bin/geos-config&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== GDAL ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;dev&amp;lt;/source&amp;gt; package (possibly without support for datumgrid):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install libgdal-dev&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Install also the required extra packages (note the message: &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;The following extra packages will be installed:&amp;lt;/source&amp;gt;)&lt;br /&gt;
* Look out for packages to be removed by this operation -- this is most likely caused by incompatible package versions. Fix these problems in advance using commands like the following: &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install &amp;lt;package&amp;gt;=&amp;lt;required.version&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GRASS-GIS ===&lt;br /&gt;
&lt;br /&gt;
[[Compile_and_Install_Ubuntu#GRASS_GIS|Jump to sub-section GRASS-GIS below]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Compile from source ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== PROJ4 ===&lt;br /&gt;
&lt;br /&gt;
* within the directory &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/usr/local/src&amp;lt;/source&amp;gt; (create it if it does not exist) checkout &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;proj&amp;lt;/source&amp;gt; from its Subversion repository: &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn co http://svn.osgeo.org/metacrs/proj/branches/4.8/proj/&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* get [http://download.osgeo.org/proj/proj-datumgrid-1.5.zip '''proj-datumgrid-1.5.zip'''] from [http://trac.osgeo.org/proj proj' trac] and move it under &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;proj/nad&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
wget http://download.osgeo.org/proj/proj-datumgrid-1.5.zip&lt;br /&gt;
mv proj-datumgrid-1.5.zip /usr/local/src/proj/nad&lt;br /&gt;
cd /usr/local/src/proj/nad&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* decompress it &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
unzip proj-datumgrid-1.5.zip&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* go back to the &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;proj&amp;lt;/source&amp;gt; directory &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd /usr/local/src/proj&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* if required, clean previous configuration &amp;amp; compilation &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
make distclean&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* simple configure, compile and install &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
./configure  &amp;amp;&amp;amp;  make  &amp;amp;&amp;amp;  sudo make install&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt; or &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
./configure &amp;amp;&amp;amp; make -j2  &amp;amp;&amp;amp;  sudo checkinstall&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* ensure that &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/usr/local/lib&amp;lt;/source&amp;gt; is added to &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/etc/ld.so.conf&amp;lt;/source&amp;gt; and afterwards run &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* finally, go back to the parent directory simply by instructing&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd ..&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GEOS ===&lt;br /&gt;
&lt;br /&gt;
* download '''geos-3.3.5.tar.bz2''' from [http://trac.osgeo.org/geos/ http://trac.osgeo.org/geos] using &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;wget&amp;lt;/source&amp;gt; &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
wget http://download.osgeo.org/geos/geos-3.3.5.tar.bz2&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* move to the &amp;quot;source-code&amp;quot; directory and decompress&lt;br /&gt;
&amp;lt;ul&amp;gt;&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd /usr/local/src/&lt;br /&gt;
bunzip2 geos-3.3.5.tar.bz2&lt;br /&gt;
tar xvf  geos-3.3.5.tar&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* if required, clean previous configuration &amp;amp; compilation  &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
make distclean&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* move to geos directory  &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd geos-3.3.5&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* simple configure, compile and install &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
./configure  &amp;amp;&amp;amp;  make  &amp;amp;&amp;amp;  sudo make install&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt; or &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
./configure  &amp;amp;&amp;amp; make -j2  &amp;amp;&amp;amp;  sudo checkinstall&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* do not forget to execute &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GDAL ===&lt;br /&gt;
&lt;br /&gt;
'''Note''', GDAL must be compiled '''without''' GRASS support&lt;br /&gt;
&lt;br /&gt;
* download the current stable version &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn checkout https://svn.osgeo.org/gdal/branches/1.9/gdal gdal_stable&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* enter in the &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;gdal_stable&amp;lt;/source&amp;gt; directory &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd /usr/local/src/gdal_stable&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* optionally, update the source code &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn up&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* if required, clean previous configurations/compilations &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
make distclean&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* a simple configuration without any parameters will detect and support various installed libraries &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* skip to the ''compile and install'' step or check the following customised configuration example&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
CFLAGS=&amp;quot;-g -Wall&amp;quot; LDFLAGS=&amp;quot;-s&amp;quot; ./configure \&lt;br /&gt;
--with-png=internal \&lt;br /&gt;
--with-libtiff=internal \&lt;br /&gt;
--with-geotiff=internal \&lt;br /&gt;
--with-jpeg=internal \&lt;br /&gt;
--with-gif=internal \&lt;br /&gt;
--with-ecw=yes \&lt;br /&gt;
--with-expat=yes \&lt;br /&gt;
--with-expat-inc=/usr/include/ \&lt;br /&gt;
--with-expat-lib=/usr/lib \&lt;br /&gt;
--with-sqlite3=yes \&lt;br /&gt;
--with-geos=yes \&lt;br /&gt;
--with-python \&lt;br /&gt;
--with-libz=internal \&lt;br /&gt;
--with-netcdf \&lt;br /&gt;
--with-sqlite \&lt;br /&gt;
--with-threads=yes \&lt;br /&gt;
--without-grass  \&lt;br /&gt;
--without-ogdi \&lt;br /&gt;
--with-pg=/usr/bin/pg_config \&lt;br /&gt;
--with-xerces=yes&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* compile, install &amp;amp; ldconfig &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
make -j2  &amp;amp;&amp;amp;  sudo make install  &amp;amp;&amp;amp;  sudo ldconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt; or &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
make -j2  &amp;amp;&amp;amp;  sudo checkinstall  &amp;amp;&amp;amp;  sudo ldconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GRASS GIS ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;boilerplate metadata&amp;quot; id=&amp;quot;attention&amp;quot; style=&amp;quot;-moz-border-radius:30px; border: 1px double #4da948; margin-bottom: 1em; padding: 0 .25em; background-color: #dcdcdc;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;font-size: 125%; text-align: left;&amp;quot;&amp;gt;'''Recommendation'''&amp;amp;nbsp;&amp;lt;/p&amp;gt;Before attempting to compile GRASS, read the  &amp;lt;code&amp;gt;INSTALL&amp;lt;/code&amp;gt;  file, which is located in GRASS' source code root directory. Pay attention especially to  section &amp;lt;code&amp;gt;(C)&amp;lt;/code&amp;gt;, entitled &amp;lt;code&amp;gt;COMPILATION NOTES for 64bit platforms&amp;lt;/code&amp;gt;.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''' Getting GRASS' source code '''&lt;br /&gt;
&lt;br /&gt;
* get current state of the 6.4.x release branch version (stable) &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn co https://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 grass64_release&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To download under development versions use&lt;br /&gt;
&lt;br /&gt;
* for GRASS 6.5  (Note: ''GRASS version 6.5 is not intended for end-users! It exists for development purposes which should rather take place for GRASS 7.'') &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn checkout https://svn.osgeo.org/grass/grass/branches/develbranch_6 grass6_devel&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for GRASS 7 &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn checkout https://svn.osgeo.org/grass/grass/trunk grass_trunk&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for subsequent updates execute &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn up&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''' Configure, Compile and Install'''&lt;br /&gt;
&lt;br /&gt;
* if required, clean previous configuration &amp;amp; compilation (not needed the first time) &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
make distclean&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* example configuration (which can/should be adjusted according to specific needs):&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
./configure \&lt;br /&gt;
--enable-largefile=yes \&lt;br /&gt;
--with-nls \&lt;br /&gt;
--with-cxx \&lt;br /&gt;
--with-proj-share=/usr/local/share/proj/ \&lt;br /&gt;
--with-geos=/usr/local/bin/geos-config \&lt;br /&gt;
--with-python=yes \&lt;br /&gt;
--with-wxwidgets \&lt;br /&gt;
--with-cairo \&lt;br /&gt;
--with-tcltk-includes=&amp;quot;/usr/include/tcl8.5/&amp;quot; \&lt;br /&gt;
--with-opengl-libs=/usr/include/GL \&lt;br /&gt;
--with-motif \&lt;br /&gt;
--with-ffmpeg=yes --with-ffmpeg-includes=&amp;quot;/usr/include/libavcodec /usr/include/libavformat /usr/include/libswscale&amp;quot; \&lt;br /&gt;
--with-freetype=yes --with-freetype-includes=&amp;quot;/usr/include/freetype2/&amp;quot; \&lt;br /&gt;
--with-postgres=yes \&lt;br /&gt;
--with-postgresql=yes --with-postgres-includes=&amp;quot;/usr/include/postgresql&amp;quot; \&lt;br /&gt;
--with-sqlite=yes \&lt;br /&gt;
--with-mysql=yes --with-mysql-includes=&amp;quot;/usr/include/mysql&amp;quot; \&lt;br /&gt;
--with-odbc=yes&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
'''Note''', the above configuration uses the &amp;lt;code&amp;gt;Proj4&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;GEOS&amp;lt;/code&amp;gt; packages compiled from the source. In the case that pre-compiled versions from the repository are required, remove the above corresponding lines to use the &amp;quot;defaults&amp;quot;, i.e. &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
--with-proj-share=/usr/share/proj \&lt;br /&gt;
--with-geos=/usr/bin/geos-config \&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* compile &amp;amp; install &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
make -j2  &amp;amp;&amp;amp;  sudo make install  &amp;amp;&amp;amp;  sudo ldconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt; or &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
make -j2  &amp;amp;&amp;amp;  sudo checkinstall  &amp;amp;&amp;amp;  sudo ldconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GDAL-GRASS-Plugin ===&lt;br /&gt;
&lt;br /&gt;
* get the plugin from [http://download.osgeo.org/gdal OSGeo's Download Server]: [http://download.osgeo.org/gdal/gdal-grass-1.4.3.tar.gz http://download.osgeo.org/gdal/gdal-grass-1.4.3.tar.gz] using &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;wget&amp;lt;/source&amp;gt; &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 wget http://download.osgeo.org/gdal/gdal-grass-1.4.3.tar.gz&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* create   &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/etc/ld.so.conf.d/grass6.conf&amp;lt;/source&amp;gt;   or add in   &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/etc/ld.so.conf&amp;lt;/source&amp;gt;   the GRASS library path, i.e. &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/usr/local/src/grass64_release/lib&amp;lt;/source&amp;gt;&lt;br /&gt;
* optionally, clean previous configurations/compilations&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 make distclean&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* configure -- point to GRASS installation/binaries&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt; ./configure \&lt;br /&gt;
 --prefix=/usr/local \&lt;br /&gt;
 --with-gdal=/usr/local/bin/gdal-config \&lt;br /&gt;
 --with-grass=/geo/osgeo/src/grass64_release/dist.x86_64-unknown-linux-gnu/ \&lt;br /&gt;
 --with-autoload=&amp;quot;/usr/local/lib/gdalplugins/&amp;quot; \&lt;br /&gt;
 --with-ld-shared=&amp;quot;g++ -shared&amp;quot;&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
* for GRASS 6.5, replace the respective line above, depending on where the source code in question is stored, with something like&amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt; --with-grass=/usr/local/grass-6.5.svn/&amp;lt;/source&amp;gt;&lt;br /&gt;
* for GRASS 7, replace with &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt; --with-grass=/usr/local/grass_trunk/&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
* compile &amp;amp; install using checkinstall&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 make -j2  &amp;amp;&amp;amp;  sudo checkinstall&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Post compilation/installation control =&lt;br /&gt;
&lt;br /&gt;
* For a recommended quick-check read the [http://grass.osgeo.org/wiki/Compile_and_install_GRASS_and_QGIS_with_GDAL/OGR_Plugin#Troubleshooting Troubleshooting] section at [http://grass.osgeo.org/wiki/Compile_and_install_GDAL-GRASS_plugin Compile_and_install_GDAL-GRASS_plugin]&lt;br /&gt;
&lt;br /&gt;
* in case of errors in future compilation attempts, remember to remove program binaries and files created with the &amp;quot;configuration&amp;quot; from previous compilations with&lt;br /&gt;
 make distclean&lt;br /&gt;
&lt;br /&gt;
* another common mistake is compiling a module against some GRASS version and then try to run it through another GRASS version. The solution is to recompile the affected module or, in case there are multiple GRASS installations, set up properly LD_LIBRARY_PATH paths.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Removal of GRASS =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get rid of a GRASS binaries installation, delete&lt;br /&gt;
* &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/usr/local/grass-6.4.0svn&amp;lt;/source&amp;gt; (directory, binaries location)&lt;br /&gt;
* &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/usr/local/bin/grass64&amp;lt;/source&amp;gt; (file)&lt;br /&gt;
* &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/usr/local/bin/gem64&amp;lt;/source&amp;gt; (file)&lt;br /&gt;
* &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/home/username/.grassrc6&amp;lt;/source&amp;gt; (file)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If wanted, delete also the complete source code:&lt;br /&gt;
* &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/usr/local/src/grass_64svn&amp;lt;/source&amp;gt; (directory, source code location)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To remove &amp;lt;code&amp;gt;grass&amp;lt;/code&amp;gt; (or any other package) which was installed by &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;checkinstall&amp;lt;/source&amp;gt;, use &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;dpkg&amp;lt;/source&amp;gt;, e.g.&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo dpkg -r grass64 # package name defined at installation is important&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Packaging of GRASS =&lt;br /&gt;
&lt;br /&gt;
Please refer to [[Ubuntu Packaging]]]&lt;br /&gt;
&lt;br /&gt;
[[Category: Compilation]]&lt;br /&gt;
[[Category: Installation]]&lt;br /&gt;
[[Category: Ubuntu]]&lt;br /&gt;
[[Category: FAQ]]&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Compile_and_Install_Ubuntu&amp;diff=18295</id>
		<title>Compile and Install Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Compile_and_Install_Ubuntu&amp;diff=18295"/>
		<updated>2013-04-12T09:17:07Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: added link to new Ubuntu packaging page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div class=&amp;quot;boilerplate metadata&amp;quot; id=&amp;quot;attention&amp;quot; style=&amp;quot;-moz-border-radius:30px; border: 1px double #35824B; margin-bottom: 1.5em; padding: 1em; background-color: #f9f9f9;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;font-size: 150%; text-align: left;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#35824B&amp;quot;&amp;gt;'''Attention'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&amp;lt;span style=&amp;quot;color:#333333&amp;quot;&amp;gt;'''The following instructions describe the compilation and installation of GRASS 6.x (or even 7) and its required dependencies completely from the source on Ubuntu based systems. Please, prefer pre-compiled packages over the manual way described below unless you know ''what'' and ''how'', you want to learn and help testing.'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Very Important notes ==&lt;br /&gt;
&lt;br /&gt;
* Pre-compiled packages and backports are available from [https://wiki.ubuntu.com/UbuntuGIS UbuntuGIS] via their [https://launchpad.net/~ubuntugis/+archive/ppa/ ppa.launchpad] repositories. '''This is by far the simplest and fastest solution. Please prefer it over the manual way described below.'''&lt;br /&gt;
&lt;br /&gt;
* To build an updated version of GRASS or support libraries unmodified, in most cases it will be easier to use an automated build tool such as ''pbuilder'', ''debuild'' or ''cowbuilder''. See the &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;debian/&amp;lt;/source&amp;gt; directory in the source code for details.&lt;br /&gt;
&lt;br /&gt;
* Some things change fast and therefore it is expected that the instructions might fail. Please inform the grass-user list in case something just does not work (like for example non-available dependecies/packages from the repositories) or update this page respectively.&lt;br /&gt;
&lt;br /&gt;
* GRASS version 6.5 exists for development purposes, testing features to-be backported to version 6.4. As such it may include unstable code and is not intended for production and end-users.&lt;br /&gt;
&lt;br /&gt;
* An alternate method is to use the DebianGIS packaging scripts, which enable a lot of this to happen automatically (see [https://svn.osgeo.org/grass/grass/branches/releasebranch_6_4/debian/README.debian debian/README.debian] in the GRASS Subversion source code repository). Specifically, this command will get you 90% of the way there: &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;sudo apt-get build-dep grass&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Hints ==&lt;br /&gt;
&lt;br /&gt;
* Usually, the installation of compiled code is done by using the &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;make&amp;lt;/source&amp;gt; tool. Alternatively, this can be done by using the ''checkinstall'' tool (i.e., &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;sudo checkinstall&amp;lt;/source&amp;gt;  instead of  &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;sudo make install&amp;lt;/source&amp;gt;) which eases off removal of packages. If ''checkinstall'' fails to deliver, please note some related bugs: [https://bugs.launchpad.net/ubuntu/+source/checkinstall/+bug/78455 78455] and [https://bugs.launchpad.net/ubuntu/+source/checkinstall/+bug/599163 599163]. Useful information on using ''checkinstall'': [https://help.ubuntu.com/community/CompilingEasyHowTo Compiling things on Ubuntu the Easy Way].&lt;br /&gt;
&lt;br /&gt;
* In multi-core processors, the compilation performance can be boosted by using  ''-j''  switches (e.g. &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;make -j2&amp;lt;/source&amp;gt;  or  &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;make -j3&amp;lt;/source&amp;gt;  or even &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;make -j4&amp;lt;/source&amp;gt;) which specify the number of jobs (commands) to run simultaneously.&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
=== Current stable Ubuntu version ===&lt;br /&gt;
&lt;br /&gt;
The following dependencies concern [http://releases.ubuntu.com/quantal/ Ubuntu Quantal Quetzal (12.10)]&lt;br /&gt;
&lt;br /&gt;
* First, update the system from the repositories&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get update &amp;amp;&amp;amp; sudo apt-get upgrade&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* then, install ''SQLite'', ''SVN'' and ''dependencies'' for compiling PROJ, GEOS, GDAL/OGR, GRASS, GDAL-GRASS-PLUGIN; the following action will also install various dependencies (listed in the command line as &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;The following extra packages will be installed:&amp;lt;/source&amp;gt;...):&amp;lt;br/&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# this is a single command, please copy-paste it entirely into the terminal:&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
  build-essential \&lt;br /&gt;
  flex make bison gcc libgcc1 g++ cmake ccache \&lt;br /&gt;
  python python-dev python-qt4 python-qt4-dev \&lt;br /&gt;
  python-opengl \&lt;br /&gt;
  python-wxversion python-wxtools python-wxgtk2.8 \&lt;br /&gt;
  python-dateutil libgsl0-dev python-numpy \&lt;br /&gt;
  wx2.8-headers wx-common libwxgtk2.8-dev libwxgtk2.8-dbg \&lt;br /&gt;
  libwxbase2.8-dev  libwxbase2.8-dbg \&lt;br /&gt;
  libncurses5-dev \&lt;br /&gt;
  zlib1g-dev gettext \&lt;br /&gt;
  libtiff-dev libpnglite-dev \&lt;br /&gt;
  tcl8.5-dev tk8.5-dev \&lt;br /&gt;
  libcairo2 libcairo2-dev \&lt;br /&gt;
  sqlite3 libsqlite3-dev \&lt;br /&gt;
  libpq-dev \&lt;br /&gt;
  libreadline6 libreadline6-dev libfreetype6-dev \&lt;br /&gt;
  txt2tags \&lt;br /&gt;
  libfftw3-3 libfftw3-dev \&lt;br /&gt;
  libqt4-core libqt4-dbg libqt4-dev libqt4-gui libqt4-sql libqt4-qt3support \&lt;br /&gt;
  lsb-qt4 qt4-designer qt4-dev-tools qt4-doc qt4-qtconfig \&lt;br /&gt;
  libapt-pkg-perl resolvconf \&lt;br /&gt;
  libjasper-dev \&lt;br /&gt;
  ruby \&lt;br /&gt;
  subversion \&lt;br /&gt;
  ffmpeg ffmpeg2theora \&lt;br /&gt;
  libffmpegthumbnailer-dev \&lt;br /&gt;
  libavcodec-dev \&lt;br /&gt;
  libxmu-dev \&lt;br /&gt;
  libavformat-dev libswscale-dev \&lt;br /&gt;
  checkinstall \&lt;br /&gt;
  libglu1-mesa-dev libxmu-dev&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for mysql support, &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;libmysqlclient-dev&amp;lt;/source&amp;gt; is required &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install libmysqlclient-dev&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* create a directory as a simple user where all source code is going to be stored -- in this example, a directory named &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;src&amp;lt;/source&amp;gt; under &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/usr/local&amp;lt;/source&amp;gt; is created &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo mkdir /usr/local/src&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* take over directories ownerships ('''replace''' below the terms ''userid'' and ''groupid'' with a real &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;userid&amp;lt;/source&amp;gt;): &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo chown userid:groupid /usr/local/src&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* similarly, grant &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;rwx&amp;lt;/source&amp;gt; (read-write-execute) permissions for our ''userid'' and ''groupid'' onto the &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;src&amp;lt;/source&amp;gt; directory: &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo chmod ug+rwx /usr/local/src&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Earlier Ubuntu versions ===&lt;br /&gt;
&lt;br /&gt;
For [http://old-releases.ubuntu.com/releases/ earlier Ubuntu versions], '''watch out for dependency differences!''' Modify the dependency list given above as instructed below.&lt;br /&gt;
&lt;br /&gt;
* for [http://releases.ubuntu.com/precise/ Ubuntu Precise Pangolin (12.04)], change the following dependencies:&lt;br /&gt;
** &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;libpnglite-dev --&amp;gt; libpngwriter-dev&amp;lt;/source&amp;gt;&lt;br /&gt;
** &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;libtiff5-dev --&amp;gt; libtiff4-dev&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for [http://old-releases.ubuntu.com/releases/maverick/ Ubuntu Maverick Meerkat (10.10)] or later, change the following dependencies:&lt;br /&gt;
** &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;libpngwriter-dev --&amp;gt; libpngwriter0-dev&amp;lt;/source&amp;gt;&lt;br /&gt;
** &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;libcairo-dev --&amp;gt; libcairo2-dev&amp;lt;/source&amp;gt;&lt;br /&gt;
** &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;fftw3 --&amp;gt; libfftw3-3&amp;lt;/source&amp;gt;&lt;br /&gt;
** &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;fftw3-dev --&amp;gt; libfftw3-dev&amp;lt;/source&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
* for [http://old-releases.ubuntu.com/releases/lucid/ Ubuntu Lucid Lynx (10.04)] or later, also install: &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;sudo apt-get install libhdf4-alt-dev libhdf4-0-alt&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for [http://old-releases.ubuntu.com/releases/ earlier Ubuntu versions], also install: &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt; sudo apt-get install libhdf4g-dev libhdf4g-run&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Using pre-compiled dev Packages for PROJ.4, GEOS and GDAL ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== PROJ.4 ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;dev&amp;lt;/source&amp;gt; package (possibly without support for datumgrid):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install libproj-dev&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* In the call to &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;./configure&amp;lt;/source&amp;gt; for [[#GRASS|GRASS]], replace &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;--with-proj-share=/usr/local/share/proj/&amp;lt;/source&amp;gt; by &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;--with-proj-share=/usr/share/proj/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== GEOS ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;dev&amp;lt;/source&amp;gt; package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install libgeos-dev&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* In the call to &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;./configure&amp;lt;/source&amp;gt; for [[#GRASS|GRASS]], replace &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;--with-geos=/usr/local/bin/geos-config&amp;lt;/source&amp;gt; by &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;--with-geos=/usr/bin/geos-config&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== GDAL ===&lt;br /&gt;
&lt;br /&gt;
Install the &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;dev&amp;lt;/source&amp;gt; package (possibly without support for datumgrid):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install libgdal-dev&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Install also the required extra packages (note the message: &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;The following extra packages will be installed:&amp;lt;/source&amp;gt;)&lt;br /&gt;
* Look out for packages to be removed by this operation -- this is most likely caused by incompatible package versions. Fix these problems in advance using commands like the following: &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install &amp;lt;package&amp;gt;=&amp;lt;required.version&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GRASS-GIS ===&lt;br /&gt;
&lt;br /&gt;
[[Compile_and_Install_Ubuntu#GRASS_GIS|Jump to sub-section GRASS-GIS below]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Compile from source ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== PROJ4 ===&lt;br /&gt;
&lt;br /&gt;
* within the directory &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/usr/local/src&amp;lt;/source&amp;gt; (create it if it does not exist) checkout &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;proj&amp;lt;/source&amp;gt; from its Subversion repository: &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn co http://svn.osgeo.org/metacrs/proj/branches/4.8/proj/&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* get [http://download.osgeo.org/proj/proj-datumgrid-1.5.zip '''proj-datumgrid-1.5.zip'''] from [http://trac.osgeo.org/proj proj' trac] and move it under &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;proj/nad&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
wget http://download.osgeo.org/proj/proj-datumgrid-1.5.zip&lt;br /&gt;
mv proj-datumgrid-1.5.zip /usr/local/src/proj/nad&lt;br /&gt;
cd /usr/local/src/proj/nad&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* decompress it &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
unzip proj-datumgrid-1.5.zip&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* go back to the &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;proj&amp;lt;/source&amp;gt; directory &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd /usr/local/src/proj&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* if required, clean previous configuration &amp;amp; compilation &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
make distclean&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* simple configure, compile and install &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
./configure  &amp;amp;&amp;amp;  make  &amp;amp;&amp;amp;  sudo make install&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt; or &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
./configure &amp;amp;&amp;amp; make -j2  &amp;amp;&amp;amp;  sudo checkinstall&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* ensure that &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/usr/local/lib&amp;lt;/source&amp;gt; is added to &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/etc/ld.so.conf&amp;lt;/source&amp;gt; and afterwards run &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* finally, go back to the parent directory simply by instructing&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd ..&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GEOS ===&lt;br /&gt;
&lt;br /&gt;
* download '''geos-3.3.5.tar.bz2''' from [http://trac.osgeo.org/geos/ http://trac.osgeo.org/geos] using &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;wget&amp;lt;/source&amp;gt; &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
wget http://download.osgeo.org/geos/geos-3.3.5.tar.bz2&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* move to the &amp;quot;source-code&amp;quot; directory and decompress&lt;br /&gt;
&amp;lt;ul&amp;gt;&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd /usr/local/src/&lt;br /&gt;
bunzip2 geos-3.3.5.tar.bz2&lt;br /&gt;
tar xvf  geos-3.3.5.tar&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* if required, clean previous configuration &amp;amp; compilation  &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
make distclean&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* move to geos directory  &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd geos-3.3.5&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* simple configure, compile and install &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
./configure  &amp;amp;&amp;amp;  make  &amp;amp;&amp;amp;  sudo make install&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt; or &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
./configure  &amp;amp;&amp;amp; make -j2  &amp;amp;&amp;amp;  sudo checkinstall&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* do not forget to execute &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GDAL ===&lt;br /&gt;
&lt;br /&gt;
'''Note''', GDAL must be compiled '''without''' GRASS support&lt;br /&gt;
&lt;br /&gt;
* download the current stable version &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn checkout https://svn.osgeo.org/gdal/branches/1.9/gdal gdal_stable&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* enter in the &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;gdal_stable&amp;lt;/source&amp;gt; directory &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd /usr/local/src/gdal_stable&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* optionally, update the source code &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn up&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* if required, clean previous configurations/compilations &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
make distclean&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* a simple configuration without any parameters will detect and support various installed libraries &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* skip to the ''compile and install'' step or check the following customised configuration example&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
CFLAGS=&amp;quot;-g -Wall&amp;quot; LDFLAGS=&amp;quot;-s&amp;quot; ./configure \&lt;br /&gt;
--with-png=internal \&lt;br /&gt;
--with-libtiff=internal \&lt;br /&gt;
--with-geotiff=internal \&lt;br /&gt;
--with-jpeg=internal \&lt;br /&gt;
--with-gif=internal \&lt;br /&gt;
--with-ecw=yes \&lt;br /&gt;
--with-expat=yes \&lt;br /&gt;
--with-expat-inc=/usr/include/ \&lt;br /&gt;
--with-expat-lib=/usr/lib \&lt;br /&gt;
--with-sqlite3=yes \&lt;br /&gt;
--with-geos=yes \&lt;br /&gt;
--with-python \&lt;br /&gt;
--with-libz=internal \&lt;br /&gt;
--with-netcdf \&lt;br /&gt;
--with-sqlite \&lt;br /&gt;
--with-threads=yes \&lt;br /&gt;
--without-grass  \&lt;br /&gt;
--without-ogdi \&lt;br /&gt;
--with-pg=/usr/bin/pg_config \&lt;br /&gt;
--with-xerces=yes&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* compile, install &amp;amp; ldconfig &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
make -j2  &amp;amp;&amp;amp;  sudo make install  &amp;amp;&amp;amp;  sudo ldconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt; or &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
make -j2  &amp;amp;&amp;amp;  sudo checkinstall  &amp;amp;&amp;amp;  sudo ldconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GRASS GIS ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;boilerplate metadata&amp;quot; id=&amp;quot;attention&amp;quot; style=&amp;quot;-moz-border-radius:30px; border: 1px double #4da948; margin-bottom: 1em; padding: 0 .25em; background-color: #dcdcdc;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;font-size: 125%; text-align: left;&amp;quot;&amp;gt;'''Recommendation'''&amp;amp;nbsp;&amp;lt;/p&amp;gt;Before attempting to compile GRASS, read the  &amp;lt;code&amp;gt;INSTALL&amp;lt;/code&amp;gt;  file, which is located in GRASS' source code root directory. Pay attention especially to  section &amp;lt;code&amp;gt;(C)&amp;lt;/code&amp;gt;, entitled &amp;lt;code&amp;gt;COMPILATION NOTES for 64bit platforms&amp;lt;/code&amp;gt;.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''' Getting GRASS' source code '''&lt;br /&gt;
&lt;br /&gt;
* get current state of the 6.4.x release branch version (stable) &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn co https://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 grass64_release&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To download under development versions use&lt;br /&gt;
&lt;br /&gt;
* for GRASS 6.5  (Note: ''GRASS version 6.5 is not intended for end-users! It exists for development purposes which should rather take place for GRASS 7.'') &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn checkout https://svn.osgeo.org/grass/grass/branches/develbranch_6 grass6_devel&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for GRASS 7 &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn checkout https://svn.osgeo.org/grass/grass/trunk grass_trunk&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for subsequent updates execute &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn up&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''' Configure, Compile and Install'''&lt;br /&gt;
&lt;br /&gt;
* if required, clean previous configuration &amp;amp; compilation (not needed the first time) &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
make distclean&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* example configuration (which can/should be adjusted according to specific needs):&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
./configure \&lt;br /&gt;
--enable-largefile=yes \&lt;br /&gt;
--with-nls \&lt;br /&gt;
--with-cxx \&lt;br /&gt;
--with-proj-share=/usr/local/share/proj/ \&lt;br /&gt;
--with-geos=/usr/local/bin/geos-config \&lt;br /&gt;
--with-python=yes \&lt;br /&gt;
--with-wxwidgets \&lt;br /&gt;
--with-cairo \&lt;br /&gt;
--with-tcltk-includes=&amp;quot;/usr/include/tcl8.5/&amp;quot; \&lt;br /&gt;
--with-opengl-libs=/usr/include/GL \&lt;br /&gt;
--with-motif \&lt;br /&gt;
--with-ffmpeg=yes --with-ffmpeg-includes=&amp;quot;/usr/include/libavcodec /usr/include/libavformat /usr/include/libswscale&amp;quot; \&lt;br /&gt;
--with-freetype=yes --with-freetype-includes=&amp;quot;/usr/include/freetype2/&amp;quot; \&lt;br /&gt;
--with-postgres=yes \&lt;br /&gt;
--with-postgresql=yes --with-postgres-includes=&amp;quot;/usr/include/postgresql&amp;quot; \&lt;br /&gt;
--with-sqlite=yes \&lt;br /&gt;
--with-mysql=yes --with-mysql-includes=&amp;quot;/usr/include/mysql&amp;quot; \&lt;br /&gt;
--with-odbc=yes&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
'''Note''', the above configuration uses the &amp;lt;code&amp;gt;Proj4&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;GEOS&amp;lt;/code&amp;gt; packages compiled from the source. In the case that pre-compiled versions from the repository are required, remove the above corresponding lines to use the &amp;quot;defaults&amp;quot;, i.e. &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
--with-proj-share=/usr/share/proj \&lt;br /&gt;
--with-geos=/usr/bin/geos-config \&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* compile &amp;amp; install &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
make -j2  &amp;amp;&amp;amp;  sudo make install  &amp;amp;&amp;amp;  sudo ldconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt; or &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
make -j2  &amp;amp;&amp;amp;  sudo checkinstall  &amp;amp;&amp;amp;  sudo ldconfig&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== GDAL-GRASS-Plugin ===&lt;br /&gt;
&lt;br /&gt;
* get the plugin from [http://download.osgeo.org/gdal OSGeo's Download Server]: [http://download.osgeo.org/gdal/gdal-grass-1.4.3.tar.gz http://download.osgeo.org/gdal/gdal-grass-1.4.3.tar.gz] using &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;wget&amp;lt;/source&amp;gt; &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 wget http://download.osgeo.org/gdal/gdal-grass-1.4.3.tar.gz&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* create   &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/etc/ld.so.conf.d/grass6.conf&amp;lt;/source&amp;gt;   or add in   &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/etc/ld.so.conf&amp;lt;/source&amp;gt;   the GRASS library path, i.e. &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/usr/local/src/grass64_release/lib&amp;lt;/source&amp;gt;&lt;br /&gt;
* optionally, clean previous configurations/compilations&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 make distclean&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* configure -- point to GRASS installation/binaries&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt; ./configure \&lt;br /&gt;
 --prefix=/usr/local \&lt;br /&gt;
 --with-gdal=/usr/local/bin/gdal-config \&lt;br /&gt;
 --with-grass=/geo/osgeo/src/grass64_release/dist.x86_64-unknown-linux-gnu/ \&lt;br /&gt;
 --with-autoload=&amp;quot;/usr/local/lib/gdalplugins/&amp;quot; \&lt;br /&gt;
 --with-ld-shared=&amp;quot;g++ -shared&amp;quot;&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
* for GRASS 6.5, replace the respective line above, depending on where the source code in question is stored, with something like&amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt; --with-grass=/usr/local/grass-6.5.svn/&amp;lt;/source&amp;gt;&lt;br /&gt;
* for GRASS 7, replace with &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt; --with-grass=/usr/local/grass_trunk/&amp;lt;/source&amp;gt;&lt;br /&gt;
   &amp;lt;/ul&amp;gt;&lt;br /&gt;
* compile &amp;amp; install using checkinstall&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 make -j2  &amp;amp;&amp;amp;  sudo checkinstall&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Post compilation/installation control =&lt;br /&gt;
&lt;br /&gt;
* For a recommended quick-check read the [http://grass.osgeo.org/wiki/Compile_and_install_GRASS_and_QGIS_with_GDAL/OGR_Plugin#Troubleshooting Troubleshooting] section at [http://grass.osgeo.org/wiki/Compile_and_install_GDAL-GRASS_plugin Compile_and_install_GDAL-GRASS_plugin]&lt;br /&gt;
&lt;br /&gt;
* in case of errors in future compilation attempts, remember to remove program binaries and files created with the &amp;quot;configuration&amp;quot; from previous compilations with&lt;br /&gt;
 make distclean&lt;br /&gt;
&lt;br /&gt;
* another common mistake is compiling a module against some GRASS version and then try to run it through another GRASS version. The solution is to recompile the affected module or, in case there are multiple GRASS installations, set up properly LD_LIBRARY_PATH paths.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Removal of GRASS =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get rid of a GRASS binaries installation, delete&lt;br /&gt;
* &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/usr/local/grass-6.4.0svn&amp;lt;/source&amp;gt; (directory, binaries location)&lt;br /&gt;
* &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/usr/local/bin/grass64&amp;lt;/source&amp;gt; (file)&lt;br /&gt;
* &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/usr/local/bin/gem64&amp;lt;/source&amp;gt; (file)&lt;br /&gt;
* &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/home/username/.grassrc6&amp;lt;/source&amp;gt; (file)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If wanted, delete also the complete source code:&lt;br /&gt;
* &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;/usr/local/src/grass_64svn&amp;lt;/source&amp;gt; (directory, source code location)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To remove &amp;lt;code&amp;gt;grass&amp;lt;/code&amp;gt; (or any other package) which was installed by &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;checkinstall&amp;lt;/source&amp;gt;, use &amp;lt;source lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;dpkg&amp;lt;/source&amp;gt;, e.g.&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo dpkg -r grass64 # package name defined at installation is important&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Packaging of GRASS =&lt;br /&gt;
&lt;br /&gt;
Please refer to UbuntuPackaging&lt;br /&gt;
&lt;br /&gt;
[[Category: Compilation]]&lt;br /&gt;
[[Category: Installation]]&lt;br /&gt;
[[Category: Ubuntu]]&lt;br /&gt;
[[Category: FAQ]]&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_Python&amp;diff=10256</id>
		<title>GRASS and Python</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_Python&amp;diff=10256"/>
		<updated>2010-01-28T23:09:00Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: added a scipy matlab IO example&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''(for discussions on the new GRASS GUI, see [[GRASS GUI|here]])''&lt;br /&gt;
&lt;br /&gt;
==Python SIGs==&lt;br /&gt;
Python Special Interest Groups are focused collaborative efforts to develop, improve, or maintain specific Python resources. Each SIG has a charter, a coordinator, a mailing list, and a directory on the Python website. SIG membership is informal, defined by subscription to the SIG's mailing list. Anyone can join a SIG, and participate in the development discussions via the SIG's mailing list. Below is the list of currently active Python SIGs, with links to their resources. &lt;br /&gt;
&lt;br /&gt;
See more at http://www.python.org/community/sigs/&lt;br /&gt;
&lt;br /&gt;
==Writing Python scripts in GRASS==&lt;br /&gt;
&lt;br /&gt;
Python is a programming language which is more powerful than shell scripting but easier and more forgiving than C.&lt;br /&gt;
The Python script can contain simple module description definitions which will be processed with {{cmd|g.parser}}, as shown in the example below. In this way with no extra coding a GUI can be built, inputs checked, and a skeleton help page can be generated automatically. In addition it adds links to the GRASS message translation system.&lt;br /&gt;
For code which needs access to the power of C, you can access the GRASS C library functions via the SWIG interface.&lt;br /&gt;
&lt;br /&gt;
* GRASS Python interface to library functions: http://download.osgeo.org/grass/grass6_progman/swig/&lt;br /&gt;
* GRASS Python scripting library: http://download.osgeo.org/grass/grass6_progman/pythonlib.html&lt;br /&gt;
&lt;br /&gt;
Code style: Have a look at [http://trac.osgeo.org/grass/browser/grass/trunk/SUBMITTING_PYTHON SUBMITTING_PYTHON].&lt;br /&gt;
&lt;br /&gt;
=== Running external commands from Python ===&lt;br /&gt;
For information on running external commands from Python, see:&lt;br /&gt;
http://docs.python.org/lib/module-subprocess.html&lt;br /&gt;
&lt;br /&gt;
Avoid using the older os.* functions. Section 17.1.3 lists equivalents&lt;br /&gt;
using the Popen() interface, which is more robust (particularly on&lt;br /&gt;
Windows).&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&lt;br /&gt;
Example of Python script, which is processed by g.parser:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
#!/usr/bin/env python&lt;br /&gt;
#&lt;br /&gt;
############################################################################&lt;br /&gt;
#&lt;br /&gt;
# MODULE:      d.shadedmap&lt;br /&gt;
# AUTHOR(S):   Unknown; updated to GRASS 5.7 by Michael Barton&lt;br /&gt;
#              Converted to Python by Glynn Clements&lt;br /&gt;
# PURPOSE:     Uses d.his to drape a color raster over a shaded relief map&lt;br /&gt;
# COPYRIGHT:   (C) 2004,2008,2009 by the GRASS Development Team&lt;br /&gt;
#&lt;br /&gt;
#              This program is free software under the GNU General Public&lt;br /&gt;
#              License (&amp;gt;=v2). Read the file COPYING that comes with GRASS&lt;br /&gt;
#              for details.&lt;br /&gt;
#&lt;br /&gt;
#############################################################################&lt;br /&gt;
&lt;br /&gt;
#%Module&lt;br /&gt;
#% description: Drapes a color raster over a shaded relief map using d.his&lt;br /&gt;
#%End&lt;br /&gt;
#%option&lt;br /&gt;
#% key: reliefmap&lt;br /&gt;
#% type: string&lt;br /&gt;
#% gisprompt: old,cell,raster&lt;br /&gt;
#% description: Name of shaded relief or aspect map&lt;br /&gt;
#% required : yes&lt;br /&gt;
#%end&lt;br /&gt;
#%option&lt;br /&gt;
#% key: drapemap&lt;br /&gt;
#% type: string&lt;br /&gt;
#% gisprompt: old,cell,raster&lt;br /&gt;
#% description: Name of raster to drape over relief map&lt;br /&gt;
#% required : yes&lt;br /&gt;
#%end&lt;br /&gt;
#%option&lt;br /&gt;
#% key: brighten&lt;br /&gt;
#% type: integer&lt;br /&gt;
#% description: Percent to brighten&lt;br /&gt;
#% options: -99-99&lt;br /&gt;
#% answer: 0&lt;br /&gt;
#%end&lt;br /&gt;
&lt;br /&gt;
import sys&lt;br /&gt;
from grass.script import core as grass&lt;br /&gt;
&lt;br /&gt;
def main():&lt;br /&gt;
    drape_map = options['drapemap']&lt;br /&gt;
    relief_map = options['reliefmap']&lt;br /&gt;
    brighten = options['brighten']&lt;br /&gt;
    ret = grass.run_command(&amp;quot;d.his&amp;quot;, h_map = drape_map,  i_map = relief_map, brighten = brighten)&lt;br /&gt;
    sys.exit(ret)&lt;br /&gt;
&lt;br /&gt;
if __name__ == &amp;quot;__main__&amp;quot;:&lt;br /&gt;
    options, flags = grass.parser()&lt;br /&gt;
    main()&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Python extensions for GRASS GIS==&lt;br /&gt;
=== wxPython GUI development for GRASS ===&lt;br /&gt;
&lt;br /&gt;
* See the [[GRASS GUI]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== GRASS Python library ===&lt;br /&gt;
&lt;br /&gt;
See [http://download.osgeo.org/grass/grass6_progman/pythonlib.html GRASS Python library]&lt;br /&gt;
&lt;br /&gt;
==== Interfacing with NumPy ====&lt;br /&gt;
&lt;br /&gt;
''Glynn writes:''&lt;br /&gt;
&lt;br /&gt;
The grass.script.array module defines a class &amp;quot;array&amp;quot; which is a&lt;br /&gt;
subclass of numpy.memmap with .read() and .write() methods to&lt;br /&gt;
read/write the underlying file via r.out.bin/r.in.bin.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
    import grass.script.array as garray&lt;br /&gt;
    a = garray.array()&lt;br /&gt;
    a.read(&amp;quot;elevation.dem&amp;quot;)&lt;br /&gt;
    b = garray.array()&lt;br /&gt;
    b[...] = (a / 50).astype(int) * 50    # or whatever&lt;br /&gt;
    b.write(&amp;quot;elev.50m&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
The size of the array is taken from the current region.&lt;br /&gt;
&lt;br /&gt;
The main drawback of using numpy is that you're limited by available&lt;br /&gt;
memory. Using a subclass of numpy.memmap lets you use files which may&lt;br /&gt;
be much larger, but processing the entire array in one go is likely to&lt;br /&gt;
produce in-memory results of a similar size.&lt;br /&gt;
&lt;br /&gt;
One may also use the scipy matlab interface:&lt;br /&gt;
    &lt;br /&gt;
    ### SH: in GRASS ###&lt;br /&gt;
    r.out.mat input=elevation output=elev.mat&lt;br /&gt;
&lt;br /&gt;
    ### PY ###&lt;br /&gt;
    import scipy.io as sio&lt;br /&gt;
    # load data&lt;br /&gt;
    elev = sio.loadmat('elev.mat')&lt;br /&gt;
    # retrive the actual array. the data set contains also the spatial reference&lt;br /&gt;
    elev.get('map_data')&lt;br /&gt;
    data = elev.get('map_data')&lt;br /&gt;
    # a first simple plot&lt;br /&gt;
    import pylab&lt;br /&gt;
    pylab.plot(data)&lt;br /&gt;
    pylab.show()&lt;br /&gt;
    # the contour plot&lt;br /&gt;
    pylab.contour(data)&lt;br /&gt;
    # obviously data needs to ne reversed&lt;br /&gt;
    import numpy as np&lt;br /&gt;
    data_rev = data[::-1]&lt;br /&gt;
    pylab.contour(data_rev)&lt;br /&gt;
    # =&amp;gt; this is a quick plot. basemap mapping may provide a nicer map!&lt;br /&gt;
    #######&lt;br /&gt;
&lt;br /&gt;
=== Python-SWIG-GRASS interface ===&lt;br /&gt;
There is a prototype GRASS-SWIG interface available (thanks to Sajith VK), find it in GRASS 6-CVS: '''swig/python/'''. Draft documentation is [http://download.osgeo.org/grass/grass6_progman/swig/ here]. It now wraps both raster and vector data C functions plus the general GIS (G_*()) functions.&lt;br /&gt;
&lt;br /&gt;
Background: [http://www.swig.org SWIG] (Simplified Wrapper and Interface Generator) is: &lt;br /&gt;
&lt;br /&gt;
* A compiler that turns ANSI C/C++ declarations into scripting language interfaces.&lt;br /&gt;
* Completely automated (produces a fully working Python extension module). &lt;br /&gt;
* Language neutral. SWIG can also target Tcl, Perl, Guile, MATLAB (try PyLab+Matplotlib from python), etc... &lt;br /&gt;
* Attempts to eliminate the tedium of writing extension modules.&lt;br /&gt;
&lt;br /&gt;
==== Python-SWIG examples ====&lt;br /&gt;
&lt;br /&gt;
* Latest and greatest: [[http://trac.osgeo.org/grass/browser/grass/trunk/scripts GRASS 7 Python scripts]]&lt;br /&gt;
&lt;br /&gt;
* [[PythonSwigExamples|More complicated examples]]&lt;br /&gt;
&lt;br /&gt;
Sample script for GRASS 6 raster access (use within GRASS, Spearfish session):&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
#!/usr/bin/env python&lt;br /&gt;
&lt;br /&gt;
import os, sys&lt;br /&gt;
from grass.lib import grass&lt;br /&gt;
&lt;br /&gt;
if &amp;quot;GISBASE&amp;quot; not in os.environ:&lt;br /&gt;
    print &amp;quot;You must be in GRASS GIS to run this program.&amp;quot;&lt;br /&gt;
    sys.exit(1)&lt;br /&gt;
&lt;br /&gt;
if len(sys.argv)==2:&lt;br /&gt;
  input = sys.argv[1]&lt;br /&gt;
else:&lt;br /&gt;
  input = raw_input(&amp;quot;Raster Map Name? &amp;quot;)&lt;br /&gt;
&lt;br /&gt;
# initialize&lt;br /&gt;
grass.G_gisinit('')&lt;br /&gt;
&lt;br /&gt;
# find map in search path&lt;br /&gt;
mapset = grass.G_find_cell2(input, '')&lt;br /&gt;
&lt;br /&gt;
# determine the inputmap type (CELL/FCELL/DCELL) */&lt;br /&gt;
data_type = grass.G_raster_map_type(input, mapset)&lt;br /&gt;
&lt;br /&gt;
infd = grass.G_open_cell_old(input, mapset)&lt;br /&gt;
inrast = grass.G_allocate_raster_buf(data_type)&lt;br /&gt;
&lt;br /&gt;
rown = 0&lt;br /&gt;
while True:&lt;br /&gt;
    myrow = grass.G_get_raster_row(infd, inrast, rown, data_type)&lt;br /&gt;
    print rown, myrow[0:10]&lt;br /&gt;
    rown += 1&lt;br /&gt;
    if rown == 476:&lt;br /&gt;
        break&lt;br /&gt;
&lt;br /&gt;
grass.G_close_cell(inrast)&lt;br /&gt;
grass.G_free(cell)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sample script for vector access (use within GRASS, Spearfish session):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
#!/usr/bin/python&lt;br /&gt;
&lt;br /&gt;
# run within GRASS Spearfish session&lt;br /&gt;
# run this before starting python to append module search path:&lt;br /&gt;
#   export PYTHONPATH=/usr/src/grass70/swig/python&lt;br /&gt;
#   check with &amp;quot;import sys; sys.path&amp;quot;&lt;br /&gt;
# or:&lt;br /&gt;
#   sys.path.append(&amp;quot;/usr/src/grass70/swig/python&amp;quot;)&lt;br /&gt;
# FIXME: install the grass bindings in $GISBASE/lib/ ?&lt;br /&gt;
&lt;br /&gt;
import os, sys&lt;br /&gt;
from grass.lib import grass&lt;br /&gt;
from grass.lib import vector as grassvect&lt;br /&gt;
&lt;br /&gt;
if &amp;quot;GISBASE&amp;quot; not in os.environ:&lt;br /&gt;
    print &amp;quot;You must be in GRASS GIS to run this program.&amp;quot;&lt;br /&gt;
    sys.exit(1)&lt;br /&gt;
&lt;br /&gt;
if len(sys.argv)==2:&lt;br /&gt;
  input = sys.argv[1]&lt;br /&gt;
else:&lt;br /&gt;
  input = raw_input(&amp;quot;Vector Map Name? &amp;quot;)&lt;br /&gt;
&lt;br /&gt;
# initialize&lt;br /&gt;
grass.G_gisinit('')&lt;br /&gt;
&lt;br /&gt;
# find map in search path&lt;br /&gt;
mapset = grass.G_find_vector2(input,'')&lt;br /&gt;
&lt;br /&gt;
# define map structure&lt;br /&gt;
map = grassvect.Map_info()&lt;br /&gt;
&lt;br /&gt;
# define open level (level 2: topology)&lt;br /&gt;
grassvect.Vect_set_open_level (2)&lt;br /&gt;
&lt;br /&gt;
# open existing map&lt;br /&gt;
grassvect.Vect_open_old(map, input, mapset)&lt;br /&gt;
&lt;br /&gt;
# query&lt;br /&gt;
print 'Vect map: ', input&lt;br /&gt;
print 'Vect is 3D: ', grassvect.Vect_is_3d (map)&lt;br /&gt;
print 'Vect DB links: ', grassvect.Vect_get_num_dblinks(map)&lt;br /&gt;
print 'Map Scale:  1:', grassvect.Vect_get_scale(map)&lt;br /&gt;
print 'Number of areas:', grassvect.Vect_get_num_areas(map)&lt;br /&gt;
&lt;br /&gt;
# close map&lt;br /&gt;
grassvect.Vect_close(map)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== TODO ====&lt;br /&gt;
&lt;br /&gt;
* Implement modules support in a Python class using --interface-description and a Python-XML parser. This should be a generic class with module's name as parameter, returning back an object which describes the module (description, flags, parameters, status of not/required). See [http://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/ GRASS 6 wxPython interface] for inspiration. Important is to auto-generate the GRASS-Python class at compile time with a Python script.&lt;br /&gt;
&lt;br /&gt;
=== Python-GRASS add-ons ===&lt;br /&gt;
&lt;br /&gt;
Stand-alone addons:&lt;br /&gt;
&lt;br /&gt;
# Jáchym Čepický's G-ps.map, a GUI to typeset printable maps with ps.map (http://193.84.38.2/~jachym/index.py?cat=gpsmap)&lt;br /&gt;
# Jáchym Čepický's v.pydigit, a GUI to v.edit (http://les-ejk.cz/?cat=vpydigit)&lt;br /&gt;
# Jáchym Čepický's PyWPS, GRASS-Web Processing Service (http://pywps.wald.intevation.org)&lt;br /&gt;
&lt;br /&gt;
=== Using GRASS gui.tcl in Python ===&lt;br /&gt;
&lt;br /&gt;
Here is some example code to use the grass automatically generated guis in python code. This could (should) all be bundled up and abstracted away so that the implementation can be replaced later.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
import Tkinter&lt;br /&gt;
import os&lt;br /&gt;
&lt;br /&gt;
# Startup (once):&lt;br /&gt;
&lt;br /&gt;
tk = Tkinter.Tk()&lt;br /&gt;
tk.eval (&amp;quot;wm withdraw .&amp;quot;)&lt;br /&gt;
tk.eval (&amp;quot;source $env(GISBASE)/etc/gui.tcl&amp;quot;)&lt;br /&gt;
# Here you could do various things to change what the gui does&lt;br /&gt;
# See gui.tcl and README.GUI&lt;br /&gt;
&lt;br /&gt;
# Make a gui (per dialog)&lt;br /&gt;
# This sets up a window for the command.&lt;br /&gt;
# This can be different to integrate with tkinter:&lt;br /&gt;
tk.eval ('set path &amp;quot;.dialog$dlg&amp;quot;')&lt;br /&gt;
tk.eval ('toplevel .dialog$dlg')&lt;br /&gt;
# Load the code for this command:&lt;br /&gt;
fd = os.popen (&amp;quot;d.vect --tcltk&amp;quot;)&lt;br /&gt;
gui = fd.read()&lt;br /&gt;
# Run it&lt;br /&gt;
tk.eval(gui)&lt;br /&gt;
dlg = tk.eval('set dlg') # This is used later to get and set &lt;br /&gt;
&lt;br /&gt;
# Get the current command in the gui we just made:&lt;br /&gt;
currentcommand = tk.eval (&amp;quot;dialog_get_command &amp;quot; + dlg)&lt;br /&gt;
&lt;br /&gt;
# Set the command in the dialog we just made:&lt;br /&gt;
tk.eval (&amp;quot;dialog_set_command &amp;quot; + dlg + &amp;quot; {d.vect map=roads}&amp;quot;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
=== General guides ===&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikibooks.org/wiki/Python_Programming/ Wikibook Python Programming]&lt;br /&gt;
* [http://www.poromenos.org/tutorials/python Quick Python tutorial] for programmers of other languages&lt;br /&gt;
: [http://wiki.python.org/moin/BeginnersGuide/Programmers More Python tutorials] for programmers&lt;br /&gt;
* [http://www.python.org/dev/peps/pep-0008/ Python programming style guide]&lt;br /&gt;
&lt;br /&gt;
=== Programming ===&lt;br /&gt;
&lt;br /&gt;
* Python and GRASS:&lt;br /&gt;
** GRASS Python interface to library functions: http://download.osgeo.org/grass/grass6_progman/swig/ based on SWIG http://www.swig.org/&lt;br /&gt;
** GRASS Python scripting library: http://download.osgeo.org/grass/grass6_progman/pythonlib.html&lt;br /&gt;
** PyWPS, GRASS-Web Processing Service http://pywps.wald.intevation.org&lt;br /&gt;
&lt;br /&gt;
* Python and OSGeo:&lt;br /&gt;
** [http://wiki.osgeo.org/wiki/OSGeo_Python_Library OSGeo Python Library]&lt;br /&gt;
&lt;br /&gt;
* Python and GDAL/OGR:&lt;br /&gt;
** [http://mapserver.gis.umn.edu/community/conferences/MUM3/workshop/python Open Source Python GIS Hacks Mum'03]&lt;br /&gt;
** http://hobu.biz/software/OSGIS_Hacks - Python OSGIS Hacks '05&lt;br /&gt;
** http://zcologia.com/news/categorylist_html?cat_id=8&lt;br /&gt;
** http://www.perrygeo.net/wordpress/?p=4&lt;br /&gt;
&lt;br /&gt;
* Python bindings to PROJ:&lt;br /&gt;
** http://www.cdc.noaa.gov/people/jeffrey.s.whitaker/python/pyproj.html&lt;br /&gt;
&lt;br /&gt;
* Python and GIS:&lt;br /&gt;
** [http://gispython.org/ Open Source GIS-Python Laboratory]&lt;br /&gt;
&lt;br /&gt;
* Python and Statistics:&lt;br /&gt;
** [http://rpy.sourceforge.net/ RPy] - Python interface to the R-statistics programming language&lt;br /&gt;
&lt;br /&gt;
* Bindings:&lt;br /&gt;
** SIP (C/C++ bindings generator) http://directory.fsf.org/all/Python-SIP.html&lt;br /&gt;
** [http://www.cython.org/ Cython] - C-Extensions for Python (compile where speed is needed)&lt;br /&gt;
&lt;br /&gt;
* Other external projects&lt;br /&gt;
** [http://www.scipy.org Scientific Python]&lt;br /&gt;
** [http://wiki.python.org/moin/NumericAndScientific Numeric and Scientific]&lt;br /&gt;
** [http://w3.pppl.gov/~hammett/comp/python/python.html Info on Python for Scientific Applications]&lt;br /&gt;
&lt;br /&gt;
=== Presentations ===&lt;br /&gt;
&lt;br /&gt;
From FOSS4G2006:&lt;br /&gt;
* [http://www.foss4g2006.org/materialDisplay.py?contribId=136&amp;amp;amp;sessionId=48&amp;amp;amp;materialId=slides&amp;amp;amp;confId=1 A Python sweeps in the GRASS] - A. Frigeri 2006&lt;br /&gt;
* [http://www.foss4g2006.org/materialDisplay.py?contribId=67&amp;amp;amp;sessionId=48&amp;amp;amp;materialId=slides&amp;amp;amp;confId=1 GRASS goes web: PyWPS] - J. Cepicky 2006&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Linking to other languages]]&lt;br /&gt;
[[Category:Python]]&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Compile_and_Install&amp;diff=9052</id>
		<title>Compile and Install</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Compile_and_Install&amp;diff=9052"/>
		<updated>2009-06-12T14:17:36Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: /* Ubuntu */ link to specific page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to do compilation and installation of GRASS 6? ==&lt;br /&gt;
&lt;br /&gt;
Here we explain the procedure to compile GRASS from SVN, but it also applies to official GRASS 6 releases.&lt;br /&gt;
&lt;br /&gt;
''For installation of precompiled binary packages, see the main [[Installation Guide]].''&lt;br /&gt;
&lt;br /&gt;
For detailed information on compilation, please see the [http://grass.itc.it/grass61/source/INSTALL INSTALL] file in the source code.&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
&lt;br /&gt;
GRASS needs at least two extra libraries: PROJ and GDAL/OGR&lt;br /&gt;
&lt;br /&gt;
''Note: if you want to have DBMS support in GDAL (subsequently in GRASS) you have to perform the &amp;quot;Optional&amp;quot; steps below as well.''&lt;br /&gt;
&lt;br /&gt;
* [http://proj.maptools.org PROJ4] for management of projections (with proj-datumgrid-1.3.zip support)&lt;br /&gt;
* Optional: [http://geos.refractions.net GEOS]&lt;br /&gt;
* Optional: [http://www.postgresql.org PostgreSQL], [http://www.mysql.org mySQL], [http://www.unixodbc.org unixODBC], [http://www.sqlite.org SQLite] (SQLite is needed for QGIS)&lt;br /&gt;
* [http://www.gdal.org GDAL/OGR] for reading and writing various GIS data formats (interoperability)&lt;br /&gt;
&lt;br /&gt;
You have to install these two libraries '''first'''.&lt;br /&gt;
&lt;br /&gt;
It is easiest to obtain a prepackaged version of these libraries (e.g., .rpm; .deb) for your particular operating system and run the corresponding package installation (e.g., rpm -Uhv packagename.rpm; apt-get) in a terminal window. Take care to also install the development packages of these libraries (...-devel packages). If there is no prepackage version, then you will have to download the source code (see links above, source code packages usually ends in .tar.gz or .zip) and compile it (you must have a C compiler installed as part of your operating system). The Web sites show the steps to compile the libraries.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other libraries needed to run GRASS are listed on the {{website|grass64/source/REQUIREMENTS.html|requirements page}}.&lt;br /&gt;
&lt;br /&gt;
To compile, you will also need the respective &amp;quot;-devel&amp;quot; packages.&lt;br /&gt;
&lt;br /&gt;
=== Generic Compilation and installation procedure ===&lt;br /&gt;
&lt;br /&gt;
* It is wise that compilation processes are carried out as a normal user: If you want to get the source code in a place where  you do not have write permissions (e.g. in /usr/local/src/) just follow this:&lt;br /&gt;
      cd /usr/local/src/ &lt;br /&gt;
      su -c 'mkdir grass6'&lt;br /&gt;
      su -c 'chown yourlogin:yourgroup grass6'&lt;br /&gt;
&lt;br /&gt;
Otherwise if you have permissions just continue as a normal user:&lt;br /&gt;
      cd /usr/local/src/&lt;br /&gt;
      svn checkout ...&lt;br /&gt;
&lt;br /&gt;
* do a code checkout from the SVN source code repository&lt;br /&gt;
: checkout the latest GRASS 6.x from SVN (see: {{twiki|DownloadSource}})&lt;br /&gt;
&lt;br /&gt;
* in the grass6 directory, you will find the precious INSTALL file, open it with your favourite pager/editor and read it carefully!&lt;br /&gt;
&lt;br /&gt;
* run configure with parameters to adapt the compile process to your own system. To see what options can be passed to it, run configure --help. &lt;br /&gt;
&amp;lt;!-- The minimum set of configure parameters is &lt;br /&gt;
      ./configure ### --&amp;gt;&lt;br /&gt;
It may (!) look like this:&lt;br /&gt;
 &lt;br /&gt;
      ./configure \&lt;br /&gt;
          --with-cxx \&lt;br /&gt;
          --with-sqlite \&lt;br /&gt;
          --with-postgres-libs=/usr/include/pgsql/libpq \&lt;br /&gt;
          --with-postgres-includes=/usr/include/pgsql \&lt;br /&gt;
          --with-freetype \&lt;br /&gt;
          --with-freetype-includes=/usr/include/freetype2 \&lt;br /&gt;
          --with-motif \&lt;br /&gt;
          --with-proj-share=/usr/share/proj&lt;br /&gt;
&lt;br /&gt;
You may have to explicitly state the path for certain packages (i.e., gdal). The Unix 'locate' command will come in handy for finding the path of the package you need (you may have to run locate as root ex: sudo locate gdal-config).&lt;br /&gt;
&lt;br /&gt;
Please note that the paths mentioned may widely vary due to the distribution used.&lt;br /&gt;
See [[Compile_and_Install#Platform_Specific_Notes|Platform Specific Notes]] below.&lt;br /&gt;
&lt;br /&gt;
Depending on your needs it may be a good idea to include debugging hooks.&lt;br /&gt;
: See [[GRASS_Debugging#Compile_Time_Setup]].&lt;br /&gt;
 CFLAGS=&amp;quot;-ggdb -Wall -Werror-implicit-function-declaration&amp;quot; ./configure ...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the end of configuration process you should get report not much different from this:&lt;br /&gt;
&lt;br /&gt;
GRASS is now configured for:  i686-pc-linux-gnu&lt;br /&gt;
 &lt;br /&gt;
 Source directory:            /usr/src/grass6&lt;br /&gt;
 Build directory:             /usr/src/grass6&lt;br /&gt;
 Installation directory:      /usr/local/grass-6.3.svn&lt;br /&gt;
 Startup script in directory: ${exec_prefix}/bin&lt;br /&gt;
 C compiler:                  gcc -g -O2 &lt;br /&gt;
 C++ compiler:                c++ -g -O2&lt;br /&gt;
 FORTRAN compiler:            &lt;br /&gt;
 Building shared libraries:   yes&lt;br /&gt;
 64bit support:               no&lt;br /&gt;
 &lt;br /&gt;
  NVIZ:                       yes&lt;br /&gt;
 &lt;br /&gt;
  BLAS support:               no&lt;br /&gt;
  C++ support:                yes&lt;br /&gt;
  DWG support:                no&lt;br /&gt;
  FFMPEG support:             no&lt;br /&gt;
  FFTW support:               yes&lt;br /&gt;
  FreeType support:           yes&lt;br /&gt;
  GDAL support:               yes&lt;br /&gt;
  GLw support:                no&lt;br /&gt;
  JPEG support:               yes&lt;br /&gt;
  LAPACK support:             no&lt;br /&gt;
  Large File Support (LFS):   no&lt;br /&gt;
  Motif support:              no&lt;br /&gt;
  MySQL support:              no&lt;br /&gt;
  NLS support:                no&lt;br /&gt;
  ODBC support:               no&lt;br /&gt;
  OGR support:                yes&lt;br /&gt;
  OpenGL(R) support:          yes&lt;br /&gt;
  PNG support:                yes&lt;br /&gt;
  PostgreSQL support:         yes&lt;br /&gt;
  Readline support:           no&lt;br /&gt;
  SQLite support:             no&lt;br /&gt;
  Tcl/Tk support:             yes&lt;br /&gt;
  TIFF support:               yes&lt;br /&gt;
  X11 support:                yes&lt;br /&gt;
  &lt;br /&gt;
* Let's compile it (takes a little while...)!&lt;br /&gt;
      make&lt;br /&gt;
* At the end, you should get report not much different from this:&lt;br /&gt;
 ----------------------------------------------------------------------&lt;br /&gt;
 Following modules are missing the 'description.html' file in src code:&lt;br /&gt;
 ----------------------------------------------------------------------&lt;br /&gt;
 GRASS GIS compilation log&lt;br /&gt;
 -------------------------&lt;br /&gt;
 Started compilation: Ne kvě 28 13:18:43 CEST 2006&lt;br /&gt;
 --&lt;br /&gt;
 Errors in:&lt;br /&gt;
 --&lt;br /&gt;
 Finished compilation: Ne kvě 28 13:43:40 CEST 2006&lt;br /&gt;
 (In case of errors please change into the directory with error and run 'make')&lt;br /&gt;
&lt;br /&gt;
* If there is any error, change directory to directory with error and run &amp;quot;make&amp;quot; again. Report occuring bug to grass mailing list&lt;br /&gt;
* Once the installation process is finished, you're ready to install GRASS system wide.&lt;br /&gt;
      su -c 'make install'&lt;br /&gt;
* enjoy GRASS: &lt;br /&gt;
      grass63&lt;br /&gt;
&lt;br /&gt;
=== What else? ===&lt;br /&gt;
&lt;br /&gt;
If you want to use [http://www.qgis.org QGIS], then also compile the GRASS-GDAL/OGR plugin. This is also useful to access your GRASS-data&lt;br /&gt;
from other application using GDAL/OGR like [http://thuban.intevation.de thuban].&lt;br /&gt;
* [[Compile and install GRASS and QGIS with GDAL/OGR Plugin]] (enables QGIS to read GRASS data directly)&lt;br /&gt;
&lt;br /&gt;
=== Platform Specific Notes ===&lt;br /&gt;
&lt;br /&gt;
==== Linux ====&lt;br /&gt;
&lt;br /&gt;
===== Debian =====&lt;br /&gt;
&lt;br /&gt;
Read the instructions here:&lt;br /&gt;
: http://trac.osgeo.org/grass/browser/grass/branches/develbranch_6/debian/README.debian&lt;br /&gt;
&lt;br /&gt;
   # first install PROJ, then GDAL.&lt;br /&gt;
   cd grass64/&lt;br /&gt;
   # follow instructions in debian/README.debian&lt;br /&gt;
   fakeroot buildpackage&lt;br /&gt;
&lt;br /&gt;
* Official [http://wiki.debian.org/DebianGis DebianGIS] packaging [http://svn.debian.org/viewsvn/pkg-grass/packages/grass/ control files], also accessible via svn:&lt;br /&gt;
  svn co svn://svn.debian.org/svn/pkg-grass/packages/grass/trunk/&lt;br /&gt;
     or&lt;br /&gt;
  svn co svn://svn.debian.org/svn/pkg-grass/packages/grass/branches/&amp;lt;GRASS Version&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [http://hamish.bowman.googlepages.com/debiangisfiles#compile Compiling GRASS 6.1-CVS on Debian/OldStable (aka 3.1, Sarge)]&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu =====&lt;br /&gt;
&lt;br /&gt;
''The above Debian notes will probably work with Ubuntu as well.''&lt;br /&gt;
&lt;br /&gt;
A more  [[Compile_and_Install_Ubuntu | specific page]] towards Ubuntu is being written on.&lt;br /&gt;
&lt;br /&gt;
====== Ubuntu 6.06, 7.10 ======&lt;br /&gt;
&lt;br /&gt;
* [http://david.p.finlayson.googlepages.com/makegrass.sh makegrass.sh] is script designed to automate most of the download, configuration and compilation of GRASS 6.x-CVS&lt;br /&gt;
** it is advised use [https://help.ubuntu.com/community/CheckInstall checkinstall] (''sudo apt-get install checkinstall'') instead of ''make install'' to keep track of installed software &lt;br /&gt;
** Think twice before using this script. Some users experienced problems such as disabled XGL etc.&lt;br /&gt;
* [[User:Steko/Automated_CVS_compiling|Here]] is another of these scripts, it's homemade so probably you'll find the above more useful for production sites.&lt;br /&gt;
&lt;br /&gt;
====== Ubuntu 7.10 64-bit ======&lt;br /&gt;
&lt;br /&gt;
* Compiling latest GRASS source code on a 64-bit machine (with an ATI graphic card) under Ubuntu 7.10 64-bit with support for: 64-bit, SQLite, OpenGL, PYTHON, FFMPEG&lt;br /&gt;
(Based on &amp;quot;Ubuntu 6.06 LTS - GRASS 6.1 Compilation Script&amp;quot; by David Finlayson)&lt;br /&gt;
''Assuming it is the first time attempting to compile GRASS' source code &amp;amp; installing SVN, PROJ, GDAL/OGR''&lt;br /&gt;
&lt;br /&gt;
'''Preparation'''&lt;br /&gt;
 sudo apt-get update &amp;amp;&amp;amp; sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
* install dependencies for compiling (in general) and dependencies for GRASS: PROJ, GDAL/OGR&lt;br /&gt;
 sudo apt-get install grass build-essential flex bison libncurses5-dev zlib1g-dev \&lt;br /&gt;
 libjpeg62-dev libgdal1-dev libtiff4-dev libgcc1 libpng12-dev tcl8.4-dev tk8.4-dev fftw3-dev \&lt;br /&gt;
 libfreetype6-dev libavcodec-dev libxmu-dev gdal-bin libreadline5 libreadline5-dev \&lt;br /&gt;
 make python-dev python-wxversion swig&lt;br /&gt;
&lt;br /&gt;
* install SQLite&lt;br /&gt;
 sudo apt-get install sqlite3 libsqlite3-dev&lt;br /&gt;
&lt;br /&gt;
* install SVN&lt;br /&gt;
 sudo apt-get install subversion&lt;br /&gt;
&lt;br /&gt;
* create a directory as a simple user where source code(s) are going to be stored (in our example we use a directory called '''src''' under '''/usr/local''')&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir /usr/local/src&lt;br /&gt;
&lt;br /&gt;
* grant rwx (read-write-execute) permissions for our userid/ groupid on the directory (replace words userid and groupid with real userid):&lt;br /&gt;
 sudo chown ''userid'':''groupid'' /usr/local/src&lt;br /&gt;
&lt;br /&gt;
 sudo chmod ug+rwx /usr/local/src&lt;br /&gt;
&lt;br /&gt;
* download latest source code from GRASS SVN repository in a directory on the system (e.g. /usr/local/src)&lt;br /&gt;
 svn checkout https://svn.osgeo.org/grass/grass/trunk grass_trunk&lt;br /&gt;
&lt;br /&gt;
* Above command places GRASS' source code in '''/usr/local/src/grass_trunk'''. In case of a subsequent update use the command: '''svn up''' from within the grass_trunk directory&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
'''Before''' attempting to compile GRASS, READ section (C) in the '''INSTALL''' file located in the main directory of GRASS source code entitled:&lt;br /&gt;
'''(C) COMPILATION NOTES for 64bit platforms'''&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
* installing FFTW3 if not already on system&lt;br /&gt;
 sudo apt-get install fftw3 fftw3-dev&lt;br /&gt;
&lt;br /&gt;
====== FFMPEG ======&lt;br /&gt;
* install FFMPEG (information taken from: http://stream0.org/2008/01/install-ffmpeg-on-ubuntu-gutsy.html)&lt;br /&gt;
* download source code with svn&lt;br /&gt;
 svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg&lt;br /&gt;
&lt;br /&gt;
* install dependencies&lt;br /&gt;
 sudo apt-get install liblame-dev libfaad2-dev libfaac-dev libxvidcore4-dev \&lt;br /&gt;
      liba52-0.7.4 liba52-0.7.4-dev libx264-dev libdts-dev checkinstall \&lt;br /&gt;
      build-essential subversion&lt;br /&gt;
&lt;br /&gt;
* guide to ffmpeg directory&lt;br /&gt;
 cd ffmpeg&lt;br /&gt;
&lt;br /&gt;
if necessary: '''make distclean''' before configuration (look at notes below)&lt;br /&gt;
&lt;br /&gt;
* configuration ('''note:''' the configuration parameter &amp;quot;'''--enable-pp'''&amp;quot; does not work anymore)&lt;br /&gt;
 # configure FFMPEG&lt;br /&gt;
 ./configure --enable-gpl --enable-libvorbis --enable-libtheora \&lt;br /&gt;
             --enable-liba52 --enable-libdc1394 --enable-libgsm \&lt;br /&gt;
             --enable-libmp3lame --enable-libfaad --enable-libfaac \&lt;br /&gt;
             --enable-libxvid --enable-pthreads --enable-libx264 \&lt;br /&gt;
             --enable-shared&lt;br /&gt;
&lt;br /&gt;
* compilation&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
* installation on /usr/local/bin -- important to remember when configuring GRASS' source code for compilation&lt;br /&gt;
 sudo checkinstall&lt;br /&gt;
&lt;br /&gt;
====== '''go for GRASS!''' ======&lt;br /&gt;
* in our example we used the /usr/local/src directory to store GRASS' source code, so:&lt;br /&gt;
 cd /usr/local/src/grass_trunk&lt;br /&gt;
&lt;br /&gt;
* configuration&lt;br /&gt;
  CFLAGS=&amp;quot;-g -Wall&amp;quot; ./configure --enable-64bit \&lt;br /&gt;
        --with-libs=/usr/lib64 --with-cxx --with-freetype=yes \&lt;br /&gt;
        --with-postgres=no --with-sqlite=yes --enable-largefile=yes \&lt;br /&gt;
        --with-tcltk-includes=/usr/include/tcl8.4 \&lt;br /&gt;
        --with-freetype-includes=/usr/include/freetype2 \&lt;br /&gt;
        --with-opengl-libs=/usr/include/GL --with-readline \&lt;br /&gt;
        --with-python=yes --with-ffmpeg=yes \&lt;br /&gt;
        --with-ffmpeg-includes=/usr/local/include/ffmpeg&lt;br /&gt;
&lt;br /&gt;
*if OpenGL fails then maybe it is necessary to link '''glxATI.h''' with '''glx.h''' and re-run the configuration&lt;br /&gt;
&lt;br /&gt;
 cd /usr/include/GL&lt;br /&gt;
&lt;br /&gt;
 sudo ln glxATI.h glx.h&lt;br /&gt;
&lt;br /&gt;
* compilation&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
* compilation is expected to end with a statement similar to the following:&lt;br /&gt;
&lt;br /&gt;
 Started compilation: Wed Feb 27 00:24:36 CET 2008&lt;br /&gt;
 --&lt;br /&gt;
 Errors in:&lt;br /&gt;
 No errors detected.&lt;br /&gt;
&lt;br /&gt;
* installation&lt;br /&gt;
 sudo checkinstall&lt;br /&gt;
&lt;br /&gt;
* launch 64-bit GRASS.6.4.svn&lt;br /&gt;
 grass64&lt;br /&gt;
&lt;br /&gt;
'''Notes'''&lt;br /&gt;
* in case of errors in future compilation attempts, remember to remove program binaries with&lt;br /&gt;
 make clean&lt;br /&gt;
* and the files created with the &amp;quot;configuration&amp;quot; from previous compilations with&lt;br /&gt;
 make distclean&lt;br /&gt;
&lt;br /&gt;
===== Mandriva =====&lt;br /&gt;
&lt;br /&gt;
Installation of dependencies (urpmi will ask you a few more):&lt;br /&gt;
&lt;br /&gt;
  # as root&lt;br /&gt;
    urpmi flex bison zlib-devel tiff-devel png-devel tcl-devel tk-devel sqlite3-devel \&lt;br /&gt;
          mesagl1-devel mesaglu1-devel libxmu6-devel gcc-c++ swig gettext \&lt;br /&gt;
          lib64wxgtk2.8 lib64wxgtk2.8-devel lib64wxgtkgl2.8 wxgtk2.8 \&lt;br /&gt;
          lib64wxPythonGTK2.8 lib64wxPythonGTK2.8-devel wxPythonGTK wxPythonGTK-wxversion&lt;br /&gt;
    exit&lt;br /&gt;
&lt;br /&gt;
Then (64 bit stuff optional of course):&lt;br /&gt;
  #  as user&lt;br /&gt;
  ./configure \&lt;br /&gt;
    --enable-64bit --with-libs=/usr/lib64 \&lt;br /&gt;
    --with-cxx \&lt;br /&gt;
    --with-gdal=/usr/local/bin/gdal-config \&lt;br /&gt;
    --with-sqlite \&lt;br /&gt;
    --with-nls \&lt;br /&gt;
    --with-python \&lt;br /&gt;
    --with-wxwidgets=/usr/lib/wxPython/bin/wx-config \&lt;br /&gt;
    --with-fftw \&lt;br /&gt;
    --with-ffmpeg --with-ffmpeg-includes=&amp;quot;/usr/include/libav* /usr/include/libpostproc /usr/include/libswscale&amp;quot; \&lt;br /&gt;
    --with-motif \&lt;br /&gt;
    --with-mysql --with-mysql-includes=/usr/include/mysql --with-mysql-libs=/usr/lib64 \&lt;br /&gt;
    --with-freetype --with-freetype-includes=/usr/include/freetype2 \&lt;br /&gt;
    --enable-largefile&lt;br /&gt;
   &lt;br /&gt;
    make&lt;br /&gt;
&lt;br /&gt;
    su&lt;br /&gt;
    # this will install into /usr/local/&lt;br /&gt;
    make install&lt;br /&gt;
    exit&lt;br /&gt;
&lt;br /&gt;
===== RPM SPEC files =====&lt;br /&gt;
&lt;br /&gt;
* ... can be found in the source code, rpm/ directory, &lt;br /&gt;
* or [http://teodori.org/repository/grass.html openSuSe]&lt;br /&gt;
* or [http://grass.itc.it/grass62/binary/linux/fedora_specs/ Fedora]&lt;br /&gt;
* or [http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/grass/ Mandriva 2008] or [http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/grass/current/SPECS/ Mandriva Cooker] (there are also [http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/proj/ proj4], [http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/geos/ geos], [http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/gdal/ gdal], [http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/gdal-grass/ gdal-grass-plugin], [http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/qgis/ qgis] etc)&lt;br /&gt;
&lt;br /&gt;
===== Zaurus =====&lt;br /&gt;
&lt;br /&gt;
... see [http://wiki.debian.org/?GrassGISonZaurus here] for instructions&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Mac OSX ====&lt;br /&gt;
&lt;br /&gt;
... see [[Compiling on MacOSX]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Solaris ====&lt;br /&gt;
&lt;br /&gt;
* ''2008 Oct 15'': see [http://lists.osgeo.org/pipermail/grass-user/2008-October/047093.html this post on the grass mailing list]&lt;br /&gt;
&lt;br /&gt;
===== 10 SPARC/i86pc =====&lt;br /&gt;
&lt;br /&gt;
* get gcc compiler and tools. There are several sources: Solaris Companion CD (SFW pkg, installs in /opt/sfw/), Blastwave ([http://www.blastwave.org], CSW pkg, installs in /opt/csw/) or Sunfreeware ([http://www.sunfreeware.com], SMC pkg, installs in /usr/local/). &lt;br /&gt;
Needed Packages from Sunfreeware: SMCbinut, SMCbison, SMCcoreu, SMCfindu, SMCflex, SMCgawk, SMCgcc, SMCgrep, SMCgzip, SMCless, SMClibt, SMClicon, SMCmake, SMCncurs, SMCproj, SMCsed, SMCtar, SMCtcl, SMCtiff, SMCtk, SMCunzip, SMCzlib. &lt;br /&gt;
&lt;br /&gt;
* compile and install fftw-library ([http://www.fftw.org]). You need to re-compile the library with: &lt;br /&gt;
&lt;br /&gt;
      ./configure --with-pic --enable-shared; make ; make install. &lt;br /&gt;
&lt;br /&gt;
The pre-built packages don't work. &lt;br /&gt;
&lt;br /&gt;
* compile and install gdal library (see documentation of gdal, [http://www.gdal.org]).&lt;br /&gt;
&lt;br /&gt;
* compile and install any additional libraries (e. g. GEOS, [http://geos.refractions.net]). &lt;br /&gt;
&lt;br /&gt;
* set compiler flags and path. e. g.: &lt;br /&gt;
&lt;br /&gt;
      # on ultra-sparc machine:&lt;br /&gt;
      CFLAGS=&amp;quot;-O3 -mcpu=v9&amp;quot;&lt;br /&gt;
      CXXFLAGS=&amp;quot;-O3 -mcpu=v9&amp;quot;&lt;br /&gt;
      PATH=&amp;quot;/usr/local/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/bin:/usr/sbin&amp;quot;&lt;br /&gt;
      export CFLAGS CXXFLAGS PATH&lt;br /&gt;
&lt;br /&gt;
Path has to be changed for the packages (Sunfreeware: /usr/local/bin, Solaris Companion: /opt/sfw/bin, Blastwave: /opt/csw/bin). &lt;br /&gt;
&lt;br /&gt;
* Next configure, e. g.: &lt;br /&gt;
&lt;br /&gt;
      ./configure --with-postgres-includes=/usr/include/pgsql/ \&lt;br /&gt;
      --with-postgres-libs=/usr/lib --with-postgres=yes \&lt;br /&gt;
      --with-includes=/usr/local/include/ncurses&lt;br /&gt;
&lt;br /&gt;
If you use n(ew)curses, you have to include the path /usr/local/include/ncurses. &lt;br /&gt;
&lt;br /&gt;
then:&lt;br /&gt;
&lt;br /&gt;
      make&lt;br /&gt;
      su&lt;br /&gt;
      make install&lt;br /&gt;
&lt;br /&gt;
If the shared libraries are not found at runtime of the modules, use 'crle' to add the paths of the libraries for the dynamic linker, e. g. as root:&lt;br /&gt;
&lt;br /&gt;
      crle -l /lib:/usr/lib:/usr/local/lib:/opt/sfw/lib:/usr/X11/lib&lt;br /&gt;
&lt;br /&gt;
Be careful not to omit a library path, the system may be unusable if you forget the /lib path.&lt;br /&gt;
&lt;br /&gt;
==== MS-Windows ====&lt;br /&gt;
&lt;br /&gt;
===== MS-Windows/Cygwin =====&lt;br /&gt;
&lt;br /&gt;
... see [http://grass.itc.it/platforms/wingrass.html here] (should be moved to the Wiki)&lt;br /&gt;
&lt;br /&gt;
===== MS-Windows/native =====&lt;br /&gt;
&lt;br /&gt;
====== Compile ======&lt;br /&gt;
&lt;br /&gt;
* [http://www.webalice.it/marco.pasetti/grass/BuildFromSource.html GRASS Windows Native Binary Building Guide] (GRASS 6.3.x)&lt;br /&gt;
* [http://trac.osgeo.org/grass/wiki/CompileOnWindows GRASS Windows Native Binary Building Guide] (GRASS 6.4.x)&lt;br /&gt;
* See/adapt [http://blog.qgis.org/node/124 idea] for unattended install of QGIS (et al) from [http://trac.osgeo.org/osgeo4w/ OSGeo4W] from the QuantumGIS Blog.&lt;br /&gt;
&lt;br /&gt;
See also [[WinGRASS Current Status]] for latest updates.&lt;br /&gt;
&lt;br /&gt;
=== Common problems and solutions ===&lt;br /&gt;
&lt;br /&gt;
During compilation, error can occur if certain packages are not installed. Here a list of problems with solution:&lt;br /&gt;
&lt;br /&gt;
* error: X11/Xlib.h: No such file or directory&lt;br /&gt;
** this suggests that you don't have the X headers installed&lt;br /&gt;
** Solution: Install the libx11-dev package&lt;br /&gt;
&lt;br /&gt;
=== Optimization ===&lt;br /&gt;
&lt;br /&gt;
GCC and other compilers support [http://gcc.gnu.org/onlinedocs/gcc-4.3.3/gcc/Optimize-Options.html#Optimize-Options optimization]&lt;br /&gt;
&lt;br /&gt;
If you would like to set compiler optimisations, for a possibly faster binary, type (don't enter a &amp;quot;;&amp;quot; anywhere):&lt;br /&gt;
&lt;br /&gt;
        CFLAGS=-O ./configure&lt;br /&gt;
or,&lt;br /&gt;
        setenv CFLAGS -O&lt;br /&gt;
        ./configure&lt;br /&gt;
&lt;br /&gt;
whichever works on your shell. Use -O2 instead of -O if your compiler supports this (note: O is the letter, not zero). Using the &amp;quot;gcc&amp;quot; compiler, you can also specify processor specific flags (examples, please suggest better settings to us):&lt;br /&gt;
&lt;br /&gt;
  CFLAGS=&amp;quot;-mcpu=athlon -O2&amp;quot; # AMD Athlon processor with code optimisations&lt;br /&gt;
  CFLAGS=&amp;quot;-mcpu=pentium&amp;quot;    # Intel Pentium processor&lt;br /&gt;
  CFLAGS=&amp;quot;-mcpu=pentium4&amp;quot;   # Intel Pentium4 processor&lt;br /&gt;
  CFLAGS=&amp;quot;-O2 -msse -msse2 -mfpmath=sse -minline-all-stringops&amp;quot; # Intel XEON 64bit processor&lt;br /&gt;
  CFLAGS=&amp;quot;-mtune=nocona -m64 -minline-all-stringops&amp;quot;            # Intel Pentium 64bit processor&lt;br /&gt;
&lt;br /&gt;
To find out optional CFLAGS for your platform, enter:&lt;br /&gt;
  gcc -dumpspecs&lt;br /&gt;
&lt;br /&gt;
See also: http://gcc.gnu.org/&lt;br /&gt;
&lt;br /&gt;
A real fast GRASS version (and small binaries) will be created with LDFLAGS set to &amp;quot;stripping&amp;quot; (but this disables debugging):&lt;br /&gt;
&lt;br /&gt;
  CFLAGS=&amp;quot;-O2 -mcpu=&amp;lt;cpu_see_above&amp;gt; -Wall&amp;quot; LDFLAGS=&amp;quot;-s&amp;quot; ./configure&lt;br /&gt;
&lt;br /&gt;
=== Configure options and their meanings ===&lt;br /&gt;
&lt;br /&gt;
For configure there are many options and some GRASS modules are built only if some options are set. Here are listed common configuration options with short explanation.&lt;br /&gt;
&lt;br /&gt;
* --prefix=/path - Sets path where GRASS will be installed. GRASS will reside in /path/grass-version.&lt;br /&gt;
* --enable-largefile - Enables large (&amp;gt;2Gb on 32bit systems) support. For current large file support status look at [[Large File Support]] page.&lt;br /&gt;
* --with-cxx - Enables compilation of C++ code. Required for r.terraflow module.&lt;br /&gt;
* --with-readline - Enables readline support. If readline is enabled, you can use its history/editing facilities when entering r.mapcalc expressions on stdin.&lt;br /&gt;
* --with-glw - Enables GLw support. The GLw library provides OpenGL &amp;quot;canvas&amp;quot; widgets for Athena and Motif. &lt;br /&gt;
 &lt;br /&gt;
 That switch is unnecessary for normal compilation. It's only&lt;br /&gt;
 required for r3.showdspf, which isn't normally built; if you &lt;br /&gt;
 want it, you have build it manually &lt;br /&gt;
 (e.g. &amp;quot;make -C raster3d/r3.showdspf&amp;quot;).&lt;br /&gt;
 As similar functionality is now provided by NVIZ, r3.showdspf&lt;br /&gt;
 is deprecated.&lt;br /&gt;
 r3.showdspf uses the Motif widget (so you also need a &lt;br /&gt;
 Motif library, e.g. Lesstif or OpenMotif).&lt;br /&gt;
 [http://grass.itc.it/pipermail/grassuser/2006-December/037475.html Glynn Clements at GRASS-user mailing list]&lt;br /&gt;
&lt;br /&gt;
=== Parallelized compilation on multi-core CPUs ===&lt;br /&gt;
&lt;br /&gt;
You can greatly accelerate the compilation of the GRASS code with the -j flag of &amp;quot;make&amp;quot; if you have a multi-core CPU system, e.g.&lt;br /&gt;
  make -j4&lt;br /&gt;
&lt;br /&gt;
== Addons ==&lt;br /&gt;
&lt;br /&gt;
=== GRASS-GDAL plugin ===&lt;br /&gt;
&lt;br /&gt;
* see [[Compile and install GRASS and QGIS with GDAL/OGR Plugin]]&lt;br /&gt;
&lt;br /&gt;
=== Compiled C modules ===&lt;br /&gt;
&lt;br /&gt;
'''Requirements:'''&lt;br /&gt;
&lt;br /&gt;
Either:&lt;br /&gt;
* a binary GRASS package, or&lt;br /&gt;
* source code which has been prepared with:&lt;br /&gt;
    ./configure [opionally flags]&lt;br /&gt;
    make libs&lt;br /&gt;
&lt;br /&gt;
Each of the [[GRASS_AddOns|addon]] modules should come with a Makefile. To compile it, just run:&lt;br /&gt;
    make MODULE_TOPDIR=/path/to/grass64/&lt;br /&gt;
&lt;br /&gt;
Installation (requires perhaps &amp;quot;sudo&amp;quot;):&lt;br /&gt;
    make MODULE_TOPDIR=/path/to/grass64/ install&lt;br /&gt;
&lt;br /&gt;
Note: Compiled addons may require a re-compilation if you changed/updated your GRASS standard binaries.&lt;br /&gt;
&lt;br /&gt;
==== If binary comes with a -dev package ====&lt;br /&gt;
&lt;br /&gt;
Nowadays one does not need to the source code, nor compiling GRASS by oneself to be able to add add-ons. On Debian, you can just install the grass-dev package and then run:&lt;br /&gt;
 make MODULE_TOPDIR=/usr/lib/grass64/&lt;br /&gt;
&lt;br /&gt;
The grass-dev package essentially provides GRASS's &amp;lt;tt&amp;gt;include&amp;lt;/tt&amp;gt; header files and Make configuration files.&lt;br /&gt;
&lt;br /&gt;
=== Scripts ===&lt;br /&gt;
&lt;br /&gt;
If the addon module is a script, it is sufficient to copy it into the (GRASS binaries) path somewhere. Alternatively, install addons into a separate GRASS addons binaries/scripts directory which is easier to maintain. It avoids getting clobbered every time you reinstall GRASS. To use these separately stored scripts, set and export the GRASS_ADDON_PATH environment variable before starting GRASS and it will automatically be added to the module search path (see the {{cmd|variables}} help page). To simplify this, do for example:&lt;br /&gt;
&lt;br /&gt;
 # add in $HOME/.bashrc:&lt;br /&gt;
 GRASS_ADDON_PATH=/usr/local/grass/addons/&lt;br /&gt;
 export GRASS_ADDON_PATH&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Documentation]]&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Compile_and_Install_Ubuntu&amp;diff=9051</id>
		<title>Compile and Install Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Compile_and_Install_Ubuntu&amp;diff=9051"/>
		<updated>2009-06-12T13:39:12Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: Ubuntu specific install howto (needs tweaking)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page shall help to install the latest GRASS on Ubuntu based systems.&lt;br /&gt;
&lt;br /&gt;
= Current Release Branch =&lt;br /&gt;
&lt;br /&gt;
The manual is based on Ubuntu 9.04.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
'''Preparation'''&lt;br /&gt;
 sudo apt-get update &amp;amp;&amp;amp; sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
* install dependencies for compiling (in general) and dependencies for GRASS: PROJ, GDAL/OGR&lt;br /&gt;
 sudo apt-get install grass build-essential flex bison libncurses5-dev zlib1g-dev libjpeg62-dev libgdal1-dev libtiff4-dev libgcc1 tcl8.4-dev tk8.4-dev fftw3-dev libfreetype6-dev libavcodec-dev libxmu-dev gdal-bin libgdal1-dev libreadline5 libreadline5-dev make python-dev python-wxversion swig libavutil-dev libavutil49 &lt;br /&gt;
sudo apt-get build-dep grass&lt;br /&gt;
&lt;br /&gt;
* install SQLite&lt;br /&gt;
 sudo apt-get install sqlite3 libsqlite3-dev&lt;br /&gt;
&lt;br /&gt;
* install SVN&lt;br /&gt;
 sudo apt-get install subversion&lt;br /&gt;
&lt;br /&gt;
* create a directory as a simple user where source code(s) are going to be stored (in our example we use a directory called '''src''' under '''/usr/local''')&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir /usr/local/src&lt;br /&gt;
&lt;br /&gt;
* grant rwx (read-write-execute) permissions for our userid/ groupid on the directory (replace words userid and groupid with real userid):&lt;br /&gt;
 sudo chown ''userid'':''groupid'' /usr/local/src&lt;br /&gt;
&lt;br /&gt;
 sudo chmod ug+rwx /usr/local/src&lt;br /&gt;
&lt;br /&gt;
* download latest source code from GRASS SVN repository in a directory on the system (e.g. /usr/local/src)&lt;br /&gt;
 svn checkout https://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 grass_current&lt;br /&gt;
&lt;br /&gt;
* Above command places GRASS' source code in '''/usr/local/src/grass_trunk'''. In case of a subsequent update use the command: '''svn up''' from within the grass_trunk directory&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
'''Before''' attempting to compile GRASS, READ section (C) in the '''INSTALL''' file located in the main directory of GRASS source code entitled:&lt;br /&gt;
'''(C) COMPILATION NOTES for 64bit platforms'''&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
====== FFMPEG ======&lt;br /&gt;
not yet succeeded.&lt;br /&gt;
&lt;br /&gt;
====== '''go for GRASS!''' ======&lt;br /&gt;
* in our example we used the /usr/local/src directory to store GRASS' source code, so:&lt;br /&gt;
 cd /usr/local/src/grass_trunk&lt;br /&gt;
&lt;br /&gt;
* configuration&lt;br /&gt;
  CFLAGS=&amp;quot;-g -Wall&amp;quot; ./configure --with-cxx --with-freetype=yes \&lt;br /&gt;
       --with-postgres=no --with-sqlite=yes --enable-largefile=yes \&lt;br /&gt;
       --with-tcltk-includes=/usr/include/tcl8.4 \&lt;br /&gt;
       --with-freetype-includes=/usr/include/freetype2 \&lt;br /&gt;
       --with-opengl-libs=/usr/include/GL --with-readline \&lt;br /&gt;
       --with-python=yes --program-suffix=-svn --with-proj-share=/usr/share/proj&lt;br /&gt;
&lt;br /&gt;
* compilation&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
* compilation is expected to end with a statement similar to the following:&lt;br /&gt;
&lt;br /&gt;
 Started compilation: Wed Feb 27 00:24:36 CET 2008&lt;br /&gt;
 --&lt;br /&gt;
 Errors in:&lt;br /&gt;
 No errors detected.&lt;br /&gt;
&lt;br /&gt;
* installation&lt;br /&gt;
 sudo checkinstall&lt;br /&gt;
&lt;br /&gt;
* launch 64-bit GRASS.6.4.svn&lt;br /&gt;
 grass64&lt;br /&gt;
&lt;br /&gt;
'''Notes'''&lt;br /&gt;
* in case of errors in future compilation attempts, remember to remove program binaries with&lt;br /&gt;
 make clean&lt;br /&gt;
* and the files created with the &amp;quot;configuration&amp;quot; from previous compilations with&lt;br /&gt;
 make distclean&lt;br /&gt;
&lt;br /&gt;
===== Current Development Branch =====&lt;br /&gt;
not yet succeeded.&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=AddOns&amp;diff=7303</id>
		<title>AddOns</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=AddOns&amp;diff=7303"/>
		<updated>2008-07-30T14:57:52Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: /* Vector add-ons */  added shapemerge&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains references to user contributions and add-ons (the original GRASS GIS software can be downloaded [http://grass.osgeo.org/download/index.php here]).&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== AddOns source code repository ==&lt;br /&gt;
&lt;br /&gt;
The AddOns source code is hosted in [http://svn.osgeo.org/grass/grass-addons/ GRASS-AddOns SVN repository].&lt;br /&gt;
&lt;br /&gt;
To checkout:&lt;br /&gt;
&lt;br /&gt;
 svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass-addons/&amp;lt;/nowiki&amp;gt; grass-addons&lt;br /&gt;
&lt;br /&gt;
Please contact the [http://lists.osgeo.org/mailman/listinfo/grass-dev grass-dev] mailing list if you would like to host your module there.&lt;br /&gt;
&lt;br /&gt;
== Adding something new ==&lt;br /&gt;
&lt;br /&gt;
Please announce your add-on to the GRASS users' mailing list so that others may be aware of your work.&lt;br /&gt;
&lt;br /&gt;
=== Copyright and licensing information ===&lt;br /&gt;
&lt;br /&gt;
''Please be sure to include copyright and licensing information in the header comments of your code so that others may know how they can use, extend, modify, and redistribute your work.''&lt;br /&gt;
&lt;br /&gt;
e.g. at the top of a shell script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
############################################################################&lt;br /&gt;
#&lt;br /&gt;
# MODULE:       v.in.e00&lt;br /&gt;
#&lt;br /&gt;
# AUTHOR(S):    Markus Neteler, Otto Dassau&lt;br /&gt;
#&lt;br /&gt;
# PURPOSE:      Import E00 data into a GRASS vector map&lt;br /&gt;
#               Imports single and split E00 files (.e00, .e01, .e02 ...)&lt;br /&gt;
#&lt;br /&gt;
# COPYRIGHT:    (c) 2004, 2005 GDF Hannover bR, http://www.gdf-hannover.de&lt;br /&gt;
#&lt;br /&gt;
#               This program is free software under the GNU General Public&lt;br /&gt;
#               License (&amp;gt;=v2). Read the file COPYING that comes with GRASS&lt;br /&gt;
#               for details.&lt;br /&gt;
#&lt;br /&gt;
#############################################################################&lt;br /&gt;
#&lt;br /&gt;
# REQUIREMENTS:&lt;br /&gt;
#      -  avcimport: http://avce00.maptools.org&lt;br /&gt;
&lt;br /&gt;
[script follows]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Coding standards ===&lt;br /&gt;
&lt;br /&gt;
Please have a look at our [http://grass.osgeo.org/grass63/source/SUBMITTING_SCRIPTS Shell script coding standards] before submitting here.&lt;br /&gt;
&lt;br /&gt;
There are other coding standards given for modules written in C, Tcl/Tk, and Python''(?)'' located in the GRASS source code.&lt;br /&gt;
&lt;br /&gt;
=== Documenting your code ===&lt;br /&gt;
&lt;br /&gt;
You can have an help page template auto-generated by using the GRASS [[module command line parser | command line parser]] with the &amp;lt;tt&amp;gt;--html-description&amp;lt;/tt&amp;gt; command line option. Please, see also the [http://grass.ibiblio.org/grass63/manuals/html63_user/g.parser.html g.parser help page]&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous Add-ons ==&lt;br /&gt;
&lt;br /&gt;
* [http://trac.osgeo.org/grass/browser/grass-addons/misc/utm_which_zone utm_which_zone.sh] is a shell script to determine UTM zone from Lat/Lon input. Requires [http://www.octave.org Octave] or Matlab to be installed. A shell-only version is [http://dcalvelo.free.fr/grass/utm_which_zone_sh.sh available] which only requires awk.&amp;lt;BR&amp;gt;'''Authors''': Hamish Bowman (Octave part), Markus Neteler (shell script wrapper), Daniel Calvelo (sh+awk version)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Perl scripts for converting data forth and back between Excel files and PostgreSQL: [http://dcalvelo.free.fr/grass/pg2xls.pl pg2xls.pl] reads data from PostgreSQL and produces an excel workbook; [http://dcalvelo.free.fr/grass/xls2sql.pl xls2sql.pl] reads excel files and outputs SQL statements to be fed into an RDBMS. Both scripts need modules from [http://www.cpan.org CPAN], especially [http://search.cpan.org/dist/Spreadsheet-ParseExcel/  Spreadsheet::ParseExcel] for xls2sql.pl and [http://search.cpan.org/~tmtm/Spreadsheet-WriteExcel-FromDB Spreadsheet::WriteExcel::FromDB] and its dependencies for pg2sql.pl. Check the source headers for more info.&amp;lt;BR&amp;gt;'''Authors:''' Daniel Calvelo (xls2sql.pl), Markus Neteler (pg2xls.pl)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [http://dream.lrrl.arch.tu-muenchen.de/~wqual/perl/dbf2sql.tgz dbf2sql] is a Perl script for translating dbf-tables into a sql-command. dbf-tables are read using dbfdump-command from dbd-xbase-perl module ([http://search.cpan.org/~janpaz/DBD-XBase-0.241/ dbd::xbase] and [http://search.cpan.org/~jv/Getopt-Long-2.35/lib/Getopt/Long.pm getopt::long] have to be installed from CPAN first). There are problems, if the last column of the table contains characters. Suggestions for improvements welcome! &amp;lt;BR&amp;gt;'''Author:'''Wolfgang Qual&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [http://www.igc.usp.br/pessoais/guano/downloads/azimuth2.c azimuth2.c] is a small C program to calculate the azimuth and length of vector lines exported by GRASS-GIS as ASCII files (like this: v.out.ascii input=vector output=ascii format=standard). It is useful for create rose diagrams of lineament maps. Improvements on the original code after suggestions by Örs Téglásy, Hungary.&amp;lt;BR&amp;gt;'''Author:''' Carlos Henrique Grohmann&lt;br /&gt;
&lt;br /&gt;
==GRASS 5.x==&lt;br /&gt;
&lt;br /&gt;
===Vector add-ons for GRASS 5===&lt;br /&gt;
&lt;br /&gt;
* See here: http://grass.osgeo.org/download/addons.php&lt;br /&gt;
&lt;br /&gt;
===Raster add-ons for GRASS 5===&lt;br /&gt;
&lt;br /&gt;
* See here: http://grass.osgeo.org/download/addons.php&lt;br /&gt;
&lt;br /&gt;
* [http://www.valledemexico.ambitiouslemon.com/gwmodelling.html r.gmtg] The groundwater modelling tool for grass. A module to use MODFLOW within GRASS. &amp;lt;BR&amp;gt;'''Author''': Jaime Carrera&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [http://www.bowdoin.edu/~ltoma/research.html r.terracost] Scalable approach for computing least-cost-path surfaces on massive grid terrains. For GRASS 5.3.&amp;lt;BR&amp;gt;'''Lead author''': Laura Toma&lt;br /&gt;
&lt;br /&gt;
==GRASS 6.x==&lt;br /&gt;
&lt;br /&gt;
=== Vector add-ons ===&lt;br /&gt;
&lt;br /&gt;
See also&lt;br /&gt;
&lt;br /&gt;
 svn co https://svn.osgeo.org/grass/grass-addons/vector&lt;br /&gt;
&lt;br /&gt;
==== v.append ====&lt;br /&gt;
&lt;br /&gt;
[http://www.public.asu.edu/~cmbarton/files/grass_scripts/v.append v.append] is a shell script combining two vector files AND their associated attribute tables. The vector files should be of the same type and, for best results, should have identically formatted attribute tables.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Michael Barton &lt;br /&gt;
&lt;br /&gt;
==== v.breach ====&lt;br /&gt;
&lt;br /&gt;
[http://kufaya.googlepages.com/v.breach.zip v.breach] creates vector maps of lines and points of continously lowering elevation down the input watercourses, based on the input raster DEM.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Maciej Sieczka&lt;br /&gt;
&lt;br /&gt;
==== v.colors ====&lt;br /&gt;
&lt;br /&gt;
[http://trac.osgeo.org/grass/browser/grass-addons/vector/v.colors v.colors] is a shell script for populating a GRASSRGB column based on a numeric database column and a ''r.colors'' rules file. Works just like ''r.colors'', but for vector maps.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Hamish Bowman&lt;br /&gt;
&lt;br /&gt;
==== v.count.points.sh ====&lt;br /&gt;
&lt;br /&gt;
[http://wiki.iosa.it/dokuwiki/spatial_analysis:feature_count v.count.points.sh] counts point features in areas, generates table good as input to d.vect.chart.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Stefano Costa&lt;br /&gt;
&lt;br /&gt;
==== v.digatt ====&lt;br /&gt;
&lt;br /&gt;
[http://phygeo7.geo.uni-augsburg.de/gis2/scripts/v.digatt v.digatt] (shell script) Interactively assign numeric table attributes to series of vector objects. It is meant to be effective by avoiding to type in the attribute value for all single objects again and again. The user is prompted for typing in an attribute value which is assigned to all objects selected by mouseclick afterwards. Next the display is redrawn after updating the table column. Zooming allows to change the region before the old value can be reused or a new one can be typed in (or copied by mouse from another object) in order to assign it to the next series of objects etc. It is tested not very extensively yet. Therefore better work with a copy of your map and consider using v.digit or d.what.vect -e alternatively. [http://phygeo7.geo.uni-augsburg.de/gis2/scripts/v.digatt.png screenshot].&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Andreas Philipp&lt;br /&gt;
&lt;br /&gt;
==== v.dip ====&lt;br /&gt;
&lt;br /&gt;
[http://marcin.slodkowski.googlepages.com/v.dip.tgz v.dip] creates points of thickness vectors from the vectors of strike and dip angles. The v.dip is the main ANSI C core program. Program so-called v.dip can run without GRASS environment.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Marcin Slodkowski&lt;br /&gt;
&lt;br /&gt;
==== v.flip ====&lt;br /&gt;
&lt;br /&gt;
[http://kufaya.googlepages.com/v.flip.zip v.flip] flips the direction of selected vector lines (redundant since GRASS 6.3 - there is &amp;quot;v.edit tool=flip&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Maciej Sieczka&lt;br /&gt;
&lt;br /&gt;
==== v.group ====&lt;br /&gt;
&lt;br /&gt;
[http://www.shockfamily.net/cedric/grass/v.group v.group] generates a new vector map with the same geometry as an existing map. The new map has categories and a table based on grouping by the values in certain columns of the existing map's table. The values in these columns are preserved in the table for the new map. It's like a v.reclass that preserves data.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Cedric Shock&lt;br /&gt;
&lt;br /&gt;
==== v.in.gama ====&lt;br /&gt;
&lt;br /&gt;
[http://k153-85.fsv.cvut.cz/cgi-bin/viewcvs.cgi/grass6/vector/v.in.gama/ v.in.gama] converts [http://www.gnu.org/software/gama/ GNU GaMa] XML output file to a GRASS vector map layer.&lt;br /&gt;
&lt;br /&gt;
:'''Author:''' Martin Landa&lt;br /&gt;
&lt;br /&gt;
==== v.in.ncdc ====&lt;br /&gt;
&lt;br /&gt;
[http://trac.osgeo.org/grass/browser/grass-addons/vector/v.in.ncdc v.in.ncdc] imports an [http://www.ncdc.noaa.gov NCDC] stn file (station data) into a GRASS vector map.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Huidae Cho&lt;br /&gt;
&lt;br /&gt;
==== v.in.osm ====&lt;br /&gt;
&lt;br /&gt;
[http://kripton.kripserver.net/software/v.in.osm/ v.in.osm]: OpenStreetMap import into GRASS. Yet only supports deprecated API 0.4, will be modified to work with API 0.5 some time soon.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Jannis Achstetter&lt;br /&gt;
&lt;br /&gt;
See also [http://hamish.bowman.googlepages.com/gpsdrivefiles#osm osm2grass.sh] by H Bowman&lt;br /&gt;
&lt;br /&gt;
==== v.in.ovl ====&lt;br /&gt;
&lt;br /&gt;
[http://grasslab.gisix.com/scripts/v.in.ovl/ v.in.ovl] is a shell script that imports an ASCII vector file created with TOP10|25|50 or similar products.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Peter Löwe&lt;br /&gt;
&lt;br /&gt;
==== v.lda ====&lt;br /&gt;
&lt;br /&gt;
[http://www.public.asu.edu/~cmbarton/files/grass_scripts/v.lda v.lda] is a shell script for calculating Ian Johnson's (U. Sidney) Local Density Analysis values to measure clustering of point data at different neighborhood radii. There is an option to create a simple line graph of the results. There have been reports of problems creating the line graph on Cygwin installations of GRASS.&lt;br /&gt;
&lt;br /&gt;
==== v.line.center ====&lt;br /&gt;
&lt;br /&gt;
[http://kufaya.googlepages.com/v.line.center.zip v.line.center] creates a points vector map with each point located in the middle of the length of the input vector line.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Maciej Sieczka&lt;br /&gt;
&lt;br /&gt;
==== v.lmeasure ====&lt;br /&gt;
&lt;br /&gt;
[http://ngeo.de/grassstuff/v.lmeasure v.lmeasure] and [http://ngeo.de/grassstuff/v.revlmeasure v.revlmeasure] are two perl scripts that place equidistant vector points along a given arbitrary vector line starting from the beginning or end of the vector line, respectively. Resulting  vector points are labeled with the distance from origin.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Mats Schuh&lt;br /&gt;
&lt;br /&gt;
==== v.out.ascii.db ====&lt;br /&gt;
&lt;br /&gt;
: [http://trac.osgeo.org/grass/browser/grass-addons/vector/v.out.ascii.db v.out.ascii.db] is a shell script for exporting vector point data coordinates and selected attribute columns to either a file or to the console.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Hamish Bowman&lt;br /&gt;
&lt;br /&gt;
==== v.out.ascii.mat ====&lt;br /&gt;
&lt;br /&gt;
: [http://trac.osgeo.org/grass/browser/grass-addons/vector/v.out.ascii.mat v.out.ascii.mat] is a shell script for exporting vector polygon and polyline data into an ASCII text file suitable for loading into Matlab (or [http://www.gnu.org/software/octave/ Octave]).&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Hamish Bowman&lt;br /&gt;
&lt;br /&gt;
==== v.out.gmt ====&lt;br /&gt;
&lt;br /&gt;
[http://trac.osgeo.org/grass/browser/grass-addons/vector/v.out.gmt v.out.gmt] is a shell script that exports a polygon vector file into GMT xy file. psbasemap code was copied from Hamish's r.out.gmt.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Huidae Cho, Hamish Bowman, Dylan Beaudette&lt;br /&gt;
&lt;br /&gt;
==== v.out.kml ====&lt;br /&gt;
&lt;br /&gt;
[http://grasslab.gisix.com/scripts/v.out.kml/ v.out.kml] is a shell script that exports a vector file into a KML file for Google Earth or Worldwind.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Peter Löwe&lt;br /&gt;
&lt;br /&gt;
==== v.out.svg ====&lt;br /&gt;
&lt;br /&gt;
[http://svg.cc/grass/index.html v.out.svg] is a module that exports SVG notation along with optional attribute data directly from GRASS 6.x vector layers. Now part of [http://svn.osgeo.org/grass/grass/trunk/vector/v.out.svg/ grass6-svn].&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Klaus Förster&lt;br /&gt;
&lt;br /&gt;
==== v.random.cover ====&lt;br /&gt;
&lt;br /&gt;
[http://trac.osgeo.org/grass/browser/grass-addons/vector/v.random.cover v.random.cover] is a shell script for creating random points constrained within an irregularly shaped vector area. (v.random places points only in current region rectangle). Optionally the user can upload raster values at the points. See also '&amp;lt;tt&amp;gt;r.random cover= vector_output=&amp;lt;/tt&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Hamish Bowman&lt;br /&gt;
&lt;br /&gt;
==== v.rasterbounds ====&lt;br /&gt;
&lt;br /&gt;
[http://les-ejk.cz/programs v.rasterbounds] is a shell script for creating polygon-vector file of rasterfile boundaries. The best version of GRASS is 6.1+. If you are using GRASS &amp;lt; 6.1, you  have to be in the same mapset as your raster maps are from.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Jachym Cepicky&lt;br /&gt;
&lt;br /&gt;
==== v.sample.buffer ====&lt;br /&gt;
&lt;br /&gt;
[http://www.clubwebcanada.ca/twiens/v.sample.buffer.tgz v.sample.buffer] is a shell script that samples rasters in buffers of a specified size around features in a specified vector file. Sampling results are added as attributes to the vector file. This script was designed for sampling vegetation indices and DEM derived attributes for bird point counts. Sampling results can be one or more basic statistics such as mean, range, max, etc.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Trevor Wiens&lt;br /&gt;
&lt;br /&gt;
==== v.select.region ====&lt;br /&gt;
&lt;br /&gt;
[ftp://gsca.nrcan.gc.ca/outgoing/Patton/Grass/Scripts/v.select.region.tar.bz2 v.select.region] is a shell script that prints out the names of all vectors matching an input search pattern that has geometry (points, line, areas) that fall within a region bounded by an existing vector map, or within the current Grass region.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Eric Patton&lt;br /&gt;
&lt;br /&gt;
==== v.surf.icw ====&lt;br /&gt;
&lt;br /&gt;
[http://trac.osgeo.org/grass/browser/grass-addons/vector/v.surf.icw v.surf.icw] is an IDW interpolation method using true distance cost instead of euclidean shortest distance, i.e. ''as the fish swims around an island'' not ''as the bird flies''. This will cleanly travel around hard barriers and a cost surface map may be used to model expensive-cross barriers. Input data points do not need direct line of sight to be considered, but should be kept within a few dozen as the module becomes very computationally expensive. A number of radial basis function options are available. ([http://grass.gdf-hannover.de/wiki/Image:Inlets_03_SurfSal_icw_big.png screenshot])&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Hamish Bowman&lt;br /&gt;
&lt;br /&gt;
==== v.surf.idwpow ====&lt;br /&gt;
&lt;br /&gt;
[http://www.geospatial.it/allegri/grass/v.surf.idwpow.zip v.surf.idwpow] integrates the common v.surf.idw algorithm with the exponential parameter for the distance weights&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Giovanni Allegri&lt;br /&gt;
&lt;br /&gt;
==== v.surf.krige ====&lt;br /&gt;
&lt;br /&gt;
[http://www.gfosservices.it/?q=node/61 v.surf.krige] is a script that do a surface interpolation from vector point data by Kriging method. The interpolated value of a cell is determined by using an omnidirectional variogram model fitted starting from model parameter given by user shown from the experimental semi variogram produced by v.variogram. The script can perform also the Leave-One-out cross validation to test the variogram model &amp;quot;fitted by eye&amp;quot; and an automatic fitted variogram model. The cross validation helps the user to choose the best variogram model to interpolate own data.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Pierluigi De Rosa.&lt;br /&gt;
&lt;br /&gt;
==== v.strahler ====&lt;br /&gt;
&lt;br /&gt;
[http://www.pois.org/florian/downloads/grass/v.strahler.tgz v.strahler] is a module that calculates the Strahler Order for all lines of a given dendritic network.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Florian Kindl. Available via SVN:&lt;br /&gt;
&lt;br /&gt;
 svn co https://svn.osgeo.org/grass/grass-addons/vector/v.strahler&lt;br /&gt;
&lt;br /&gt;
==== v.swathwidth ====&lt;br /&gt;
&lt;br /&gt;
[http://david.p.finlayson.googlepages.com/v.swathwidth v.swathwidth] creates a vector map representing the sea bottom coverage of a multibeam (swath) sonar survey.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' David Finlayson&lt;br /&gt;
&lt;br /&gt;
==== v.thickness ====&lt;br /&gt;
&lt;br /&gt;
[http://marcin.slodkowski.googlepages.com/v.thickness.tgz v.thickness] creates points of thickness vectors from the vectors of strike and dip angles.The v.thickness is GUI GRASS script for v.dip.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Marcin Slodkowski&lt;br /&gt;
&lt;br /&gt;
==== v.trees3d ====&lt;br /&gt;
&lt;br /&gt;
[http://les-ejk.cz/programs/ v.trees3d] is a module for making 3D trees from input vector point file.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Jachym Cepicky&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== v.trimesh ====&lt;br /&gt;
[http://www.valledemexico.ambitiouslemon.com/vtrimesh.html v.trimesh] creates a triangular mesh from a vector map using areal constraints for refinement. It uses Jonathan Shewchuk's Triangle library.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Jaime Carrera&lt;br /&gt;
&lt;br /&gt;
==== v.variogram ====&lt;br /&gt;
&lt;br /&gt;
[http://www.gfosservices.it/?q=node/61 v.variogram] is a script that create an omnidirectional experimental semi-variogram. This scripts require R-statistics software installed on your machine. Now the script is updated to run on spgrass6 &amp;gt;= 0.3 and sp &amp;gt;= 0.9 [http://grass.osgeo.org/pipermail/statsgrass/2006-October/000455.html reply].&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Ivan Marchesini, Pierluigi De Rosa.&lt;br /&gt;
&lt;br /&gt;
==== AniMove ====&lt;br /&gt;
&lt;br /&gt;
[http://www.faunalia.it/animov/ AniMove] is software for analysis of animal movement and ranging behaviour using QGIS+GRASS+R.&lt;br /&gt;
&lt;br /&gt;
:'''Authors:''' Support by Faunalia.it&lt;br /&gt;
&lt;br /&gt;
==== Utilities ====&lt;br /&gt;
&lt;br /&gt;
===== Shapemerge =====&lt;br /&gt;
&lt;br /&gt;
[http://perrygeo.googlecode.com/svn/trunk/gis-bin/shpmerge.sh shpmerge] merges all the shapefiles in the current directory into a single output shapefile&lt;br /&gt;
&lt;br /&gt;
:'''Authors:''' Perrygeo&lt;br /&gt;
&lt;br /&gt;
=== Raster add-ons ===&lt;br /&gt;
&lt;br /&gt;
See also&lt;br /&gt;
&lt;br /&gt;
 svn co https://svn.osgeo.org/grass/grass-addons/raster&lt;br /&gt;
&lt;br /&gt;
==== r.bilateral ====&lt;br /&gt;
&lt;br /&gt;
[http://les-ejk.cz/files/programs/grass/r.bilateral.tgz r.bilateral] Bilateral filter is an edge-preserving filter, which combines domain and range filtering. It is written in C language.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Jachym Cepicky&lt;br /&gt;
&lt;br /&gt;
==== r.boxcount ====&lt;br /&gt;
&lt;br /&gt;
r.boxcount and r.boxcount.sh calculate the fractal dimension for a given map. These are versions for grass6 of [http://www.ucl.ac.uk/~tcrnmar/ Mark Lake's modules] for grass43.&lt;br /&gt;
&lt;br /&gt;
: '''Authors:''' Mark Lake, grass6 port: Florian Kindl.&lt;br /&gt;
&lt;br /&gt;
Available via SVN:&lt;br /&gt;
&lt;br /&gt;
 svn co https://svn.osgeo.org/grass/grass-addons/raster/r.boxcount/&lt;br /&gt;
 svn co https://svn.osgeo.org/grass/grass-addons/raster/r.boxcount.sh/&lt;br /&gt;
&lt;br /&gt;
==== r.colors.stddev ====&lt;br /&gt;
&lt;br /&gt;
[http://hamish.bowman.googlepages.com/grass_color_maps r.colors.stddev] is a GRASS shell script for creating dynamic color rules for raster maps based on univariate statistics.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Hamish Bowman&lt;br /&gt;
&lt;br /&gt;
==== r.cpt2grass ====&lt;br /&gt;
&lt;br /&gt;
[http://hamish.bowman.googlepages.com/grass_color_maps r.cpt2grass] is a GRASS script for importing a [http://www.soest.hawaii.edu/gmt/ GMT] .cpt color table into GRASS. It can save to a text file suitable for r.colors or automatically apply the color table to a raster map.&amp;lt;BR&amp;gt;For a large collection of GMT .cpt files see http://sview01.wiredworkplace.net/pub/cpt-city/&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Hamish Bowman&lt;br /&gt;
&lt;br /&gt;
==== r.csr ====&lt;br /&gt;
&lt;br /&gt;
[ftp://gsca.nrcan.gc.ca/outgoing/Patton/Grass/Scripts/r.csr.tar.bz2 r.csr] integrates several Grass programs to produce colored, shaded-relief rasters in one step. Accepts single or multiple elevation/bathymetry maps as input; optionally will fill data holidays with 3x3 median filter, multiple times, if required; can apply color maps from a) input raster, b) another raster in MAPSET, or c) from a rules file; otherwise, rainbow colorbar is applied. Output colored, shaded-relief rasters can optionally be exported to tiff format and archived using tar with gzip/bzip2 compression if appropriate flags are given. Shading parameters can be modified, though useful defaults are given.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Eric Patton&lt;br /&gt;
&lt;br /&gt;
==== r.dominant_dir.m and r.calc_terraflow_dir.m ====&lt;br /&gt;
&lt;br /&gt;
[http://trac.osgeo.org/grass/browser/grass-addons/raster/r.terraflow.tools dominant_dir.m and calc_terraflow_dir.m] are two Matlab scripts for determining the dominant flow direction from a r.terraflow MFD map and converting into a GRASS aspect map for use with d.rast.arrow, etc.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Hamish Bowman&lt;br /&gt;
&lt;br /&gt;
==== r.eucdist ====&lt;br /&gt;
&lt;br /&gt;
[http://david.p.finlayson.googlepages.com/r.eucdist r.eucdist] creates a raster map estimating the euclidean distance from known cells.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' David Finlayson&lt;br /&gt;
&lt;br /&gt;
==== r.fragment ====&lt;br /&gt;
&lt;br /&gt;
[ftp://gsca.nrcan.gc.ca/outgoing/Patton/Grass/Scripts/r.fragment.tar.bz2 r.fragment] fragments a raster into a user-defined set of smaller tiles according to an input number of rows and columns. Optionally, a null value threshold can be set to filter out candidate tiles that would have a large percentage of null cells.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Eric Patton&lt;br /&gt;
&lt;br /&gt;
==== r.game_of_life ====&lt;br /&gt;
&lt;br /&gt;
[http://trac.osgeo.org/grass/browser/grass-addons/raster/r.game_of_life r.game_of_life] is a shell script which runs Conway's classic Game of Life using GRASS raster modules. It is meant to demonstrate how easy it is to program cellular automata in GRASS as well as various 3D raster volume and time series visualization techniques.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Hamish Bowman&lt;br /&gt;
&lt;br /&gt;
==== r.gauss ====&lt;br /&gt;
&lt;br /&gt;
[http://www.les-ejk.cz/files/programs/grass/r.gauss.tgz r.gauss] is Gaussian and Laplacian of Gaussian filter for GRASS. It is written in C language.&lt;br /&gt;
&lt;br /&gt;
:'''Author:''' Jachym Cepicky&lt;br /&gt;
&lt;br /&gt;
==== r.gradgrid4 ====&lt;br /&gt;
&lt;br /&gt;
[http://www.uibk.ac.at/geographie/personal/mergili/gradgrid4.zip gradgrid4] is a tool for interpolating values of discrete data points to a raster map, applying a local regression approach with a predictor raster. The model is based on shell and python scripts as well as an R batchfile. It was tested on Fedora Core 6 with GRASS 6.2.1 and R 2.5.1, but should work under most UNIX systems. After unzipping the gradgrid4 folder, store it at any place in your local file system. In the subfolder docs you can find a manual and a publication draft with a detailed description of the concept and the example of an application. The subfolder testloc constitutes a GRASS location with test data.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Martin Mergili&lt;br /&gt;
&lt;br /&gt;
==== r.in.onearth ====&lt;br /&gt;
&lt;br /&gt;
[http://www-pool.math.tu-berlin.de/~soeren/grass/modules/ r.in.onearth] for download and import satellite images direct from the NASA onearth WMS server into GRASS.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Soeren Gebbert&lt;br /&gt;
&lt;br /&gt;
==== r.in.wms ====&lt;br /&gt;
&lt;br /&gt;
[http://les-ejk.cz/files/programs/grass/r.in.wms.tgz r.in.wms] for download and import maps direct from  WMS servers into GRASS. This script is written in Python Programming language. Note GRASS 6.2+ provides a shell script version of r.in.wms, take care of which one is actually being run.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Jachym Cepicky&lt;br /&gt;
&lt;br /&gt;
==== r.inund.fluv ====&lt;br /&gt;
&lt;br /&gt;
[https://svn.osgeo.org/grass/grass-addons/raster/r.inund.fluv/ r.inund.fluv]This command allows to obtain a fluvial potentially inundation map given a high-resolution DTM of the area surrounding the river and a water surface profile calculated through an 1-D hydrodinamic model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: '''Authors:''' Roberto Marzocchi, Bianca Federici, Domenico Sguerso&lt;br /&gt;
&lt;br /&gt;
==== r.interp.mask ====&lt;br /&gt;
&lt;br /&gt;
[http://david.p.finlayson.googlepages.com/r.interp.mask r.interp.mask] Creates a user-specified buffer around interpolation points that can be used as a MASK to prevent or clip excessive extrapolation artifacts. This works much better than a standard convex hull around the points.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' David Finlayson&lt;br /&gt;
&lt;br /&gt;
==== r.li ====&lt;br /&gt;
&lt;br /&gt;
[http://www.faunalia.it/download/r_li/ r.li] is a more flexible and faster replacement of the old r.le. '''''Moved into 6.3-SVN'''''.&lt;br /&gt;
&lt;br /&gt;
: '''Authors:''' Claudio Porta, Davide Spano, Serena Pallecchi, [http://www.faunalia.it Faunalia]&lt;br /&gt;
&lt;br /&gt;
==== r.local_max.pl ====&lt;br /&gt;
&lt;br /&gt;
[http://les-ejk.cz/files/programs/local_max.pl Local maxima] is a Perl script for &amp;lt;code&amp;gt;r.mapcalc&amp;lt;/code&amp;gt;. It detects local maxima of the image.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Jachym Cepicky&lt;br /&gt;
&lt;br /&gt;
==== r.mandelbrot ====&lt;br /&gt;
&lt;br /&gt;
[http://grasslab.gisix.com/scripts/r.mandelbrot r.mandelbrot] is a shell script to calculate the Mandelbrot set.- for GRASS versions 6.X.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Peter Löwe&lt;br /&gt;
&lt;br /&gt;
==== r.mlv ====&lt;br /&gt;
&lt;br /&gt;
[http://les-ejk.cz/files/programs/grass/r.mlv.tgz r.mlv] is Mean of least variance filter for GRASS. It is an edge-preserving (or even edge-enhacing) filter, which should serve for removing additive noise from images. It is written in C language.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Jachym Cepicky&lt;br /&gt;
&lt;br /&gt;
==== r.out.jpeg ====&lt;br /&gt;
&lt;br /&gt;
[http://www.geospatial.it/allegri/grass/r.out.jpeg_ r.out.jpeg] is a simple GRASS script to export georeferenced JPEG images from rasters, keeping the associated color table. It is a two-step export: first a ppm file is created, then it is converted to jpeg usgin the &amp;quot;convert&amp;quot; command from ImageMagick&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Giovanni Allegri&lt;br /&gt;
&lt;br /&gt;
==== r.out.gmt ====&lt;br /&gt;
&lt;br /&gt;
[http://trac.osgeo.org/grass/browser/grass-addons/raster/r.out.gmt r.out.gmt] is a GRASS script for exporting a GRASS raster map into a [http://www.soest.hawaii.edu/gmt/ GMT] grid file. It also creates a GMT color table from the data and can generate some GMT commands for plotting a postscript file. (code is experimental, but functional)&amp;lt;BR&amp;gt;see  also http://169.237.35.250/~dylan/grass_user_group/#GMT_and_GRASS-overview&lt;br /&gt;
&lt;br /&gt;
: '''Authors:''' Hamish Bowman, Dylan Beaudette&lt;br /&gt;
&lt;br /&gt;
==== r.out.gmt2 ====&lt;br /&gt;
&lt;br /&gt;
[http://trac.osgeo.org/grass/browser/grass-addons/raster/r.out.gmt2 r.out.gmt2] is a modified version of Hamish's r.out.gmt.  Added options for title, xlabel, ylabel, comment, and map width.  Removed any settings that can be changed by gmtset for more flexibility.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Huidae Cho, Hamish Bowman, Dylan Beaudette&lt;br /&gt;
&lt;br /&gt;
==== r.pack ====&lt;br /&gt;
&lt;br /&gt;
[http://trac.osgeo.org/grass/browser/grass-addons/raster/r.pack r.pack and r.unpack] are two GRASS scripts for transfering raster maps to another computer as a single file.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Hamish Bowman&lt;br /&gt;
&lt;br /&gt;
==== r.roughness ====&lt;br /&gt;
&lt;br /&gt;
[http://www.igc.usp.br/pessoais/guano/downloads/r.roughness r.roughness] is a shell script to calculate the surface roughness of a DEM, using r.surf.area and v.surf.rst. (for GRASS versions 6.1 and above)&lt;br /&gt;
&lt;br /&gt;
[http://www.igc.usp.br/pessoais/guano/downloads/r.roughness60 r.roughness60] - for GRASS versions 6.0.X&lt;br /&gt;
&lt;br /&gt;
[http://www.igc.usp.br/pessoais/guano/downloads/r.roughness.window.area r.roughness.window.area] - calculate surface roughness as the ratio of real (surface) area and planar area, using a moving-window approach.&lt;br /&gt;
&lt;br /&gt;
[http://www.igc.usp.br/pessoais/guano/downloads/r.roughness.window.vector r.roughness.window.vector] - calculate surface roughness as vector dispersion, using a moving-window approach. Resulting maps are: Vector Strength (R) and Inverted Fisher's k parameter. &lt;br /&gt;
&lt;br /&gt;
[http://www.igc.usp.br/pessoais/guano/downloads/r.roughness.window.vector.html r.roughness.window.vector.html] - provisional help page for r.roughness.window.vector.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Carlos Henrique Grohmann&lt;br /&gt;
&lt;br /&gt;
==== r.smoothpatch ====&lt;br /&gt;
&lt;br /&gt;
[http://david.p.finlayson.googlepages.com/r.smoothpatch r.smoothpatch] creates a composite of two rasters using a distance-weighted average across the transition to smooth the edges.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' David Finlayson&lt;br /&gt;
&lt;br /&gt;
==== r.soils.texture ====&lt;br /&gt;
&lt;br /&gt;
[http://geonomica.googlepages.com/r.soils.texture.zip r.soils.texture] is a module to define soils texture from sand and clay raster file with a schema text file (now only USDA schema). It is written in C language. - for GRASS versions 6.X - For bugs and suggest: g_massa@libero.it &lt;br /&gt;
&lt;br /&gt;
:'''Author:''' Gianluca Massei&lt;br /&gt;
&lt;br /&gt;
==== r.surf.nnbathy ====&lt;br /&gt;
&lt;br /&gt;
[http://kufaya.googlepages.com/r.surf.nnbathy.zip r.surf.nnbathy] interpolates a surface from a raster input using the [http://www.marine.csiro.au/~sakov/ nn] natural neighbor interpolation library. Provides triangulation, Sibson natural neighbor interpolation and non-Sibsonian interpolation.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Maciej Sieczka&lt;br /&gt;
&lt;br /&gt;
==== r.tileset ====&lt;br /&gt;
&lt;br /&gt;
[http://www.shockfamily.net/cedric/grass/r.tileset r.tileset] generates a list of tiles and sizes in a source projection that cover the region in the current database with appropriate resolution. The size of individual tiles can be constrained. Only tiles intersecting the current region are returned. These tilings are appropriate for requesting data from another projection to meet the specifications of the current region. For example, it could be used to generate tile requests to a latitude / longitude WMS server like this &amp;lt;code&amp;gt;r.tileset -w sourceproj=&amp;quot;+init=epsg:4326&amp;quot;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Cedric Shock&lt;br /&gt;
&lt;br /&gt;
==== r.traveltime ====&lt;br /&gt;
&lt;br /&gt;
[http://jesbergwetter.twoday.net/stories/4845555/ r.traveltime] computes the travel time of surface runoff to an outlet. The program starts at the basin outlet and calculates the travel time at each raster cell recursively. A drainage area related threhold considers even  surface and also channel runoff. Travel times are derived by assuming kinematic wave approximation. The results can be used to derive a time-area function. This might be usefull for precipitation-runoff calculations (estimation of flood predictions) with a lumped hydrologic model (user-specified unit hydrograph).&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Kristian Förster&lt;br /&gt;
&lt;br /&gt;
==== r.zc.pl ====&lt;br /&gt;
&lt;br /&gt;
[http://les-ejk.cz/files/programs/zc.pl Zero crossing] is a simple Perl script, finds the ,,zero crossings`` from the Laplacian of Gaussian filter (see above). It is really &amp;lt;em&amp;gt;very&amp;lt;/em&amp;gt; simple, the edges don't need to be really on that pixel, where they are detected, no interpolation is performed.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Jachym Cepicky&lt;br /&gt;
&lt;br /&gt;
==== GIPE ====&lt;br /&gt;
&lt;br /&gt;
The GRASS Image Processing Environment (GIPE) has USLE, Energy-balance and radiance-reflectance correction models.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Yann Chemin (unless specified otherwise).&lt;br /&gt;
   &lt;br /&gt;
 svn co https://svn.osgeo.org/grass/grass-addons/gipe&lt;br /&gt;
&lt;br /&gt;
:* r.hydro.CASC2D, ported from GRASS 5.x version, is temporarily here waiting to return to main GRASS.&lt;br /&gt;
&lt;br /&gt;
:* r.soiltex2prop creates porosity, Saturated Hydraulic conductivity (Ksat) and wetting front pressure head (Hf) from percentage of sand and clay after Rawls et al., 1990. This is a must for r.hydro.CASC2D.&lt;br /&gt;
&lt;br /&gt;
:* r.usler creates USLE R factor (Rainfall erosivity) from annual precipitations. It has 4 methods, Morgan, Roose, Foster and El-Swaify to choose from. '''Authors:''' Natalia Medvedeva and Yann Chemin &lt;br /&gt;
&lt;br /&gt;
:* r.uslek creates USLE K factor (soil erodibility) from sand, clay, silt fractions and organic matter fraction. Based on USDA 1951 (p209) quoted in FAO World Soil CD, and from some generic [soil class+OM] to K conversion table. &lt;br /&gt;
&lt;br /&gt;
:* i.albedo creates Albedo. Albedo is the shortwave surface reflectance in the range of 0.3-3 micro-meters. This module takes Modis, Aster, Landsat or AVHRR individual surface reflectance bands to calculate Albedo. This module is a precursor to r.sun  or any Energy-Balance related processing. &lt;br /&gt;
&lt;br /&gt;
:* i.biomass creates biomass growth map from fPAR, lightuse efficiency, water availability (or evap.fraction), Lat, doy and tsw.&lt;br /&gt;
&lt;br /&gt;
:* i.dn2ref.l7, r.dn2ref.ast create top of atmosphere reflectance for Landsat 7ETM+ and ASTER. These modules also have a flag for radiance output. Updated i.dn2ref.l7 to read .met calibration file.  &lt;br /&gt;
&lt;br /&gt;
:* i.dn2full.l[5,7] is an attempt to get all bands of Landsat[5,7] calibrated and corrected to either reflectance or temperature, reads only the .met file.  &lt;br /&gt;
&lt;br /&gt;
:* i.dn2potrad.l[5,7] is an attempt to get ET potential from DN of Landsat 7 (Careful! No Atmospheric correction!).  &lt;br /&gt;
&lt;br /&gt;
:* i.eb.* are a set of 10+ GRASS modules that together perform the main functions of  the SEBAL model (Bastiaanssen, 1995). Those functions include (but are not limited to) Soil heat flux, sensible heat flux, net radiation, evaporative fraction at satellite overpass, diurnal actual evapotranspiration, momentum roughness length, etc. These  modules are also part of any Energy-Balance related processing. &lt;br /&gt;
&lt;br /&gt;
:* i.evapo.potrad creates diurnal Potential evapotranspiration assuming all net radiation becomes ET, according to SEBAL model (Bastiaanssen, 1995). This module also has a flag for diurnal net radiation as required by SEBAL in i.eb.eta. &lt;br /&gt;
&lt;br /&gt;
:* i.evapo.SENAY creates actual evapotranspiration following the regional method of Senay (2007). &lt;br /&gt;
&lt;br /&gt;
:* i.lmf creates a Local Maximum Fitting on the temporal dimension of the multi-date input dataset, working, but more precision still to be added.&lt;br /&gt;
&lt;br /&gt;
:* i.vi creates a given Vegetation index from a list of 13 of them, most of them only requiring Red and NIR. Updated to accept all types of input data. '''Authors:''' Baburao Kamble and Yann Chemin&lt;br /&gt;
&lt;br /&gt;
:* i.vi.mpi is the mpi verion for cluster GRASS GIS education (no speed up here!) '''Author:''' Shamim Akhter &lt;br /&gt;
&lt;br /&gt;
:* i.qc.modis extracts Quality Assessment information from Modis 250m (MOD09Q) or 500m (MOD09A) products.&lt;br /&gt;
&lt;br /&gt;
:* i.water creates a Water Mask from NDVI and Albedo, or specifically for Modis: NDVI and Band 7.&lt;br /&gt;
&lt;br /&gt;
:* i.wi creates a given Water Index (only one so far).&lt;br /&gt;
&lt;br /&gt;
==== HydroFOSS ====&lt;br /&gt;
&lt;br /&gt;
HydroFOSS - a GIS embedded approach for Free &amp;amp; Open Source Hydrological modeling.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Massimiliano Cannata&lt;br /&gt;
 &lt;br /&gt;
 svn co https://svn.osgeo.org/grass/grass-addons/HydroFOSS/&lt;br /&gt;
&lt;br /&gt;
==== hikereport ====&lt;br /&gt;
&lt;br /&gt;
python script that computes length, cumulative uphill and downhill, average slopes on an interactively drawn path. Based on r.profile's output.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Stefano Negri&lt;br /&gt;
&lt;br /&gt;
 http://tracce.wordpress.com/?attachment_id=71&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===General add-ons===&lt;br /&gt;
&lt;br /&gt;
==== g.laptop.sh ====&lt;br /&gt;
&lt;br /&gt;
: [http://www.nature-consult.de/dassau/g.laptop/g.laptop.sh g.laptop.sh] is an interactive shell script to extract raster and vector data from current Location into a new one. Data can be copied or extracted in current or original resolution and region extend. This script was written to extract smaller parts of a GRASS location to be able to present them on a laptop without the necessity to transfer huge data. Maps do not have to be in the same mapset.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Otto Dassau &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Readline completion ====&lt;br /&gt;
&lt;br /&gt;
: '''''Readline completion''''' for GRASS commands under the bash shell: [http://www.sorokine.info/grass-complete/ grass-complete] won't clutter the environment but needs to be installed; [http://dcalvelo.free.fr/grass/grass_rlcompleter.sh grass_rlcompleter.sh] needs almost no installation but will pollute the environment. Grass-Complete currently requires Bash version 2.05 for proper install.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Alexandre Sorokine (grass-complete), Daniel Calvelo (grass_rlcompleter.sh)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== g.region.point ====&lt;br /&gt;
&lt;br /&gt;
: [http://trac.osgeo.org/grass/browser/grass-addons/general/g.region.point g.region.point] is a shell script which resets the computational region to a square box around a given coordinate. It is intended for use within GRASS scripts to speed up processing by limiting expensive raster calculations to a small area of interest.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Hamish Bowman&lt;br /&gt;
&lt;br /&gt;
==== g.xlist ====&lt;br /&gt;
&lt;br /&gt;
: [http://trac.osgeo.org/grass/browser/grass-addons/general/g.xlist g.xlist] is a C implementation of g.mlist. g.xlist searches for data files matching a pattern given by wildcards or POSIX Extended Regular Expressions. POSIX regex(3) functions are required.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Huidae Cho&lt;br /&gt;
&lt;br /&gt;
==== g.xremove ====&lt;br /&gt;
&lt;br /&gt;
: [http://trac.osgeo.org/grass/browser/grass-addons/general/g.xremove g.xremove] is a C implementation of g.mremove. g.xremove removes data files matching a pattern given by wildcards or POSIX Extended Regular Expressions. POSIX regex(3) functions are required.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Huidae Cho&lt;br /&gt;
&lt;br /&gt;
=== Imagery add-ons ===&lt;br /&gt;
&lt;br /&gt;
See also&lt;br /&gt;
&lt;br /&gt;
 svn co https://svn.osgeo.org/grass/grass-addons/imagery&lt;br /&gt;
&lt;br /&gt;
==== i.atcorr ====&lt;br /&gt;
&lt;br /&gt;
Atmospheric Correction using Christo Zietsman's implementation of 6s code in C/C++.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Christo Zietsman. Recently incorporated into main [http://svn.osgeo.org/grass/grass/trunk/imagery/i.atcorr/ SVN].&lt;br /&gt;
&lt;br /&gt;
==== i.points.reproj ====&lt;br /&gt;
&lt;br /&gt;
[http://trac.osgeo.org/grass/browser/grass-addons/imagery/i.points.reproj i.points.reproj] is a shell script that will use cs2cs to reproject the target coordinates of a group's POINTS file. By running i.rectify directly to the new target projection, a generation of resampling data loss can be avoided (versus i.rectify + r.proj). On the other hand, i.rectify does not calculate cell resolution well if the map is to be rotated ([http://intevation.de/rt/webrt?serial_num=3296 bug #3296]), in those cases i.rectify+r.proj may be the better option.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Hamish Bowman&lt;br /&gt;
&lt;br /&gt;
==== i.pr ====&lt;br /&gt;
&lt;br /&gt;
Image classification: implements k-NN (multiclass), classification trees (multiclass), maximum likelihood (multiclass), Support Vector Machines (binary), bagging versions of all the base classifiers, AdaBoost for binary trees and support vector machines. It allows feature manipulation (normalization, principal components,...). It also implements feature selection techniques (RFE, E-RFE,...), statistical tests on variables, tools for resampling (cross-validation and bootstrap) and cost-sensitive techniques for trees and support vector machines.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Stefano Merler. Available via SVN:&lt;br /&gt;
&lt;br /&gt;
   svn co https://svn.osgeo.org/grass/grass-addons/imagery/i.pr&lt;br /&gt;
&lt;br /&gt;
==== i.warp ====&lt;br /&gt;
&lt;br /&gt;
[http://trac.osgeo.org/grass/browser/grass-addons/imagery/i.warp i.warp] is a shell script that will use gdalwarp to rectify a raw input image using thin plate splines. The map should be imported into GRASS with r.in.gdal and GCPs set with i.points. Input is the raw image (GeoTIFF, JPEG, etc). Output is a GeoTIFF in the imagery group's target location's map projection. Requires a recent (early 2006) version of GRASS 6.1, or newer.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Hamish Bowman&lt;br /&gt;
&lt;br /&gt;
=== Display add-ons ===&lt;br /&gt;
&lt;br /&gt;
See also&lt;br /&gt;
&lt;br /&gt;
 svn co https://svn.osgeo.org/grass/grass-addons/display&lt;br /&gt;
&lt;br /&gt;
==== d.edit.rast ====&lt;br /&gt;
&lt;br /&gt;
[http://trac.osgeo.org/grass/browser/grass-addons/display/d.edit.rast d.edit.rast] edits cells in an existing raster map displayed on the current monitor.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Huidae Cho&lt;br /&gt;
&lt;br /&gt;
==== d.frame.quarter ====&lt;br /&gt;
&lt;br /&gt;
[http://trac.osgeo.org/grass/browser/grass-addons/display/d.frame.split d.frame.quarter] is a shell script that will split the display into four quadrants (or sixths) using ''d.frame''. Individual frames are named ''uno, dos, tres, cuatro'', and ''full_screen''.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Hamish Bowman&lt;br /&gt;
&lt;br /&gt;
==== d.frame.split ====&lt;br /&gt;
&lt;br /&gt;
[http://trac.osgeo.org/grass/browser/grass-addons/display/d.frame.split d.frame.split] is similar as ''d.frame.quarter'', but works for 2,4,6,8,9,12, and 16 subframes and gives an option to spread the frames horizontally or vertically. Replacement for ''d.split'' and ''d.frame.quarter''. Used in GRASS 7 as ''d.split''.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Hamish Bowman&lt;br /&gt;
&lt;br /&gt;
==== d.hyperlink ====&lt;br /&gt;
&lt;br /&gt;
[ftp://gsca.nrcan.gc.ca/outgoing/Patton/Grass/Scripts/d.hyperlink.tar.bz2 d.hyperlink] is an interactive shell script that allows the viewing of hyperlinked images from a vector's attribute table in an external image viewer. Queries can be made via SQL statements or interactive mouse-clicking. The attribute table must be pre-populated with a column containing the image to link the vector to; the user also specifies the image folder in the current MAPSET where the images are located. The script currently supports gimp, Eye of Gnome, gthumb, gpdf, and Inkscape image viewers.&lt;br /&gt;
&lt;br /&gt;
: '''Author: '''Eric Patton&lt;br /&gt;
&lt;br /&gt;
==== d.mark ====&lt;br /&gt;
&lt;br /&gt;
[http://trac.osgeo.org/grass/browser/grass-addons/display/d.shortcuts d.mark] is a shell script that quickly displays a marker on the display at a given coordinate.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Hamish Bowman &lt;br /&gt;
&lt;br /&gt;
==== d.region.box ====&lt;br /&gt;
&lt;br /&gt;
[http://trac.osgeo.org/grass/browser/grass-addons/display/d.region.box d.region.box] is a shell script that quickly displays a box around the current region.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Hamish Bowman&lt;br /&gt;
&lt;br /&gt;
==== d.stations ====&lt;br /&gt;
&lt;br /&gt;
[http://trac.osgeo.org/grass/browser/grass-addons/display/d.shortcuts   d.stations] is a shell script that quickly displays vector points (or sites for GRASS 5.4 and below).&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Hamish Bowman &lt;br /&gt;
&lt;br /&gt;
==== d.varea ====&lt;br /&gt;
&lt;br /&gt;
[http://trac.osgeo.org/grass/browser/grass-addons/display/d.shortcuts d.varea] is a shell script that quickly displays vector areas.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Hamish Bowman&lt;br /&gt;
&lt;br /&gt;
==== [[IconSymbols]] ====&lt;br /&gt;
&lt;br /&gt;
* [[IconSymbols|Symbols]] which can be used with ''d.vect, d.graph'', and ''ps.map''.&lt;br /&gt;
&lt;br /&gt;
==== pd-GRASS ====&lt;br /&gt;
&lt;br /&gt;
[http://www.ornl.gov/sci/gist/software/grass/ pd-GRASS]: Parallel Display for GRASS GIS&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Alex Sorokine&lt;br /&gt;
&lt;br /&gt;
=== Postscript add-ons ===&lt;br /&gt;
&lt;br /&gt;
See also [[ps.map scripts|ps.map samples and templates]].&lt;br /&gt;
&lt;br /&gt;
==== ps.atlas ====&lt;br /&gt;
&lt;br /&gt;
[http://les-ejk.cz/programs/grass/ps.atlas ps.atlas] is a shell script that makes more maps on current region according to input *.psmap file. General map can be stored as vector file. The resulting *.eps maps can be automatically converted to *.pdf files.&lt;br /&gt;
&lt;br /&gt;
: '''Author:''' Jachym Cepicky&lt;br /&gt;
&lt;br /&gt;
==== [[AreaFillPatterns]] ====&lt;br /&gt;
&lt;br /&gt;
* Hatches for ps.map's vareas&lt;br /&gt;
&lt;br /&gt;
===GRASS and UMN Mapserver===&lt;br /&gt;
&lt;br /&gt;
* [http://www.mail-archive.com/mapserver-users@lists.umn.edu/msg00086.html See interesting posting]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Community]]&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Documentation]]&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Talk:Development&amp;diff=7261</id>
		<title>Talk:Development</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Talk:Development&amp;diff=7261"/>
		<updated>2008-07-16T22:45:52Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: reporting a broken link here&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Broken link:&lt;br /&gt;
GRDSS (Geographic Resources Decision Support System) - http://wgbis.ces.iisc.ernet.in/grdss/index.php&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Talk:AddOns&amp;diff=7260</id>
		<title>Talk:AddOns</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Talk:AddOns&amp;diff=7260"/>
		<updated>2008-07-16T22:01:04Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: /* Repository */ new section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;this page has grown very large. we should try and figure out a way to break it down into smaller sections. Anyone have ideas how? --HB&lt;br /&gt;
&lt;br /&gt;
== Installation notes ==&lt;br /&gt;
&lt;br /&gt;
There are not installation notes on this pages on how one would add the addons to a GRASS standard installation.&lt;br /&gt;
&lt;br /&gt;
== Repository ==&lt;br /&gt;
&lt;br /&gt;
QGIS now has online XML based repositories for plug-ins. The user only has to go to the halp menu and click at the addons to be installed.&lt;br /&gt;
See: http://wiki.qgis.org/qgiswiki/PluginRepositories&lt;br /&gt;
&lt;br /&gt;
Is such a process possible with GRASS, too?&lt;br /&gt;
&lt;br /&gt;
This would enrich the user experience and motivate more people to release their addons.&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Talk:AddOns&amp;diff=7259</id>
		<title>Talk:AddOns</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Talk:AddOns&amp;diff=7259"/>
		<updated>2008-07-16T21:55:25Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: /* Installation notes */ new section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;this page has grown very large. we should try and figure out a way to break it down into smaller sections. Anyone have ideas how? --HB&lt;br /&gt;
&lt;br /&gt;
== Installation notes ==&lt;br /&gt;
&lt;br /&gt;
There are not installation notes on this pages on how one would add the addons to a GRASS standard installation.&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Usability&amp;diff=6496</id>
		<title>Usability</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Usability&amp;diff=6496"/>
		<updated>2008-04-29T20:39:14Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: /* The current usability show-stoppers */ documenation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction and Rationale ==&lt;br /&gt;
&lt;br /&gt;
As GRASS is growing in size and functionality and targeting new user groups through being [[WinGRASS_Current_Status|ported to MS Windows]], getting a greater attention as a [http://www.osgeo.org OSGeo] project and the [[GRASS_GUI|new GUI in development]] it is time to consider the usability of the program.&lt;br /&gt;
&lt;br /&gt;
This augmented visibility will bring many new users to GRASS who may have known GRASS for long but never dared to use it for one or the other reasons. Other may be totally new to GIS and geospatial analysis or drawn to GRASS by its great capabilities. GRASS should have the best possible user interface to provide a appealing working environment to the new and experienced users to enable them to do their work effectively and without reading tons of documentation and mailing list archives.&lt;br /&gt;
&lt;br /&gt;
== Usability Review ==&lt;br /&gt;
=== The great Chance ===&lt;br /&gt;
&lt;br /&gt;
[http://openusability.org OpenUsability] the initiative that promotes usability in free and open source software (F/OSS) development has a call open until February 20th for interested projects to benefit from the work of willing students to review and improve overall usability or the usability of special parts of a program just as Google Summer of Code does it with new program feature.&lt;br /&gt;
GRASS should strongly consider applying and take this nice opportunity for the reasons mentioned above.&lt;br /&gt;
&lt;br /&gt;
=== Current Status ===&lt;br /&gt;
&lt;br /&gt;
The organisers of the OpenUsability Initiative told the GRASS informed on 17.03.2008 that GRASS wasn't selected for the 2008 review phase.&lt;br /&gt;
Nevertheless, we should bear in mind that improvements in th usability will significatly raise the workflow efficieny and visibility og GRASS.&lt;br /&gt;
We should therefore continue to list and discuss usability blockers on this page and convert them into enhancement requests on the bug tracker.&lt;br /&gt;
&lt;br /&gt;
== User interfaces ==&lt;br /&gt;
&lt;br /&gt;
There are a number of user interfaces available for GRASS 6:&lt;br /&gt;
&lt;br /&gt;
* Old Tcl/Tk GUI ([http://grass.osgeo.org/grass63/manuals/html63_user/d.m.html d.m], functional but unmaintained)&lt;br /&gt;
* Tcl/Tk GUI (current [http://grass.osgeo.org/grass63/manuals/html63_user/gis.m.html gis.m] GUI, limited new development)&lt;br /&gt;
* wxPython ([http://grass.osgeo.org/grass63/manuals/html63_user/wxGUI.html wxGUI], functional, but still under heavy development, see also [[WxPython-based_GUI_for_GRASS]])&lt;br /&gt;
: '''Usability improvement efforts should be concentrated on the wxGUI.'''&lt;br /&gt;
&lt;br /&gt;
* Text based command line interface (CLI)&lt;br /&gt;
: The CLI is in pretty good shape WRT modules, due to the near universal use of G_parser() and the [http://grass.osgeo.org/grass63/manuals/html63_user/g.parser.html g.parser] module. Option and flags could perhaps be more consistent between modules (e.g. sep= -&amp;gt; fs=) but these are frozen between minor versions (will be fixed in [http://trac.osgeo.org/grass/wiki/Grass7Planning GRASS 7]).&lt;br /&gt;
* [http://trac.osgeo.org/grass/wiki/HowToProgram The C API] - it can be a bit inconsistent, but it's not intended to normal users but developers.&lt;br /&gt;
* [[GRASS_and_Python#Python-SWIG-GRASS_interface|SWIG interface]] (Python, Perl, ..) to the GRASS libraries&lt;br /&gt;
&lt;br /&gt;
* Modules could make better use of 'guisections' (tabs).&lt;br /&gt;
&lt;br /&gt;
== The current usability show-stoppers ==&lt;br /&gt;
&lt;br /&gt;
Please list here the issue where you think that usability needs to be improved. Please mention the version of GRASS used.&lt;br /&gt;
&lt;br /&gt;
=== GUI related ===&lt;br /&gt;
Where could the usability of the GUI (please state which referring to) be improved?&lt;br /&gt;
&lt;br /&gt;
* -&lt;br /&gt;
* -&lt;br /&gt;
&lt;br /&gt;
=== Workflow related ===&lt;br /&gt;
&lt;br /&gt;
Where do you feel your workflow being blocked?&lt;br /&gt;
* Visual interpretation of satellite (and aerial) imagery for land cover mapping/ change detection purposes&lt;br /&gt;
There is no option to link two displays (wether using the X monitors or the Map Display of the GIS Manager) for an effective side-by-side visual comparison of data (all kinds of data: imagery, vector, raster, other ancillary data) over the same geographic region, projected of course on the same coordinate system. Having a linked pointer (pointing at the same location/ coordinates) on two different maps is an efficient way to compare images (e.g. winter vs. summer acquisitions over the same location) or to visually judge how effective was a georectification process. There are many other situations were this is &amp;quot;linking&amp;quot; option is useful/ critical.&lt;br /&gt;
&lt;br /&gt;
To implement an automatic replay of all actions (pan, zoom, load/ unload and overlay other data) taking place in one X monitor into another X monitor (or from one Map Display?) requires scripting and even then is not &amp;quot;automatic&amp;quot; as it is probably necessary to re-run the script.&lt;br /&gt;
&lt;br /&gt;
To exemplify, OpenEV (Edit Toolbar... &amp;gt; Link Views/ Cursor) is a very good tool to do this work. It's light, supports almost everything (based on gdal/ogr), smooth panning/ zooming, quick digitising and more.&lt;br /&gt;
&lt;br /&gt;
The combination of GRASS (for the analysis) and OpenEV (for an easy visual cross-comparison of results) is ideal. Yet there are time consuming limitations: e.g. exporting from GRASS to some format, careful selection of export parameters etc. Maybe it would be enough to create an easy to use export tool (from GRASS format in... ?) or why not the option to access GRASS' locations from OpenEV? The latter would be of course an OpenEV issue, if at all.&lt;br /&gt;
&lt;br /&gt;
=== Dokumentation ===&lt;br /&gt;
&lt;br /&gt;
* Where can I find a indexed search or search the manuals?&lt;br /&gt;
** E. g. I have the following issue &amp;quot; remove mapset&amp;quot;, where/how can I search for this issue?&lt;br /&gt;
** Good example for a full text searchable documentation: http://docs.python.org/dev/&lt;br /&gt;
&lt;br /&gt;
== Links to other initiatives ==&lt;br /&gt;
&lt;br /&gt;
* [http://developer.gnome.org/projects/gup/hig/ GNOME Human Interface Guidelines]&lt;br /&gt;
* [http://wiki.gimp.org/gimp/GimpUsability GimpUsability - Wilber's Wiki]&lt;br /&gt;
* [http://www.freedesktop.org/wiki/Standards freedesktop.org standards]&lt;br /&gt;
* [http://tango.freedesktop.org Tango Desktop Project]&lt;br /&gt;
* [http://usability.kde.org/ KDE Usability Project - KDE Usability Project]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:GUI]]&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Usability&amp;diff=6487</id>
		<title>Usability</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Usability&amp;diff=6487"/>
		<updated>2008-04-28T20:55:23Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: /* status of usability review updated */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction and Rationale ==&lt;br /&gt;
&lt;br /&gt;
As GRASS is growing in size and functionality and targeting new user groups through being [[WinGRASS_Current_Status|ported to MS Windows]], getting a greater attention as a [http://www.osgeo.org OSGeo] project and the [[GRASS_GUI|new GUI in development]] it is time to consider the usability of the program.&lt;br /&gt;
&lt;br /&gt;
This augmented visibility will bring many new users to GRASS who may have known GRASS for long but never dared to use it for one or the other reasons. Other may be totally new to GIS and geospatial analysis or drawn to GRASS by its great capabilities. GRASS should have the best possible user interface to provide a appealing working environment to the new and experienced users to enable them to do their work effectively and without reading tons of documentation and mailing list archives.&lt;br /&gt;
&lt;br /&gt;
== Usability Review ==&lt;br /&gt;
=== The great Chance ===&lt;br /&gt;
&lt;br /&gt;
[http://openusability.org OpenUsability] the initiative that promotes usability in free and open source software (F/OSS) development has a call open until February 20th for interested projects to benefit from the work of willing students to review and improve overall usability or the usability of special parts of a program just as Google Summer of Code does it with new program feature.&lt;br /&gt;
GRASS should strongly consider applying and take this nice opportunity for the reasons mentioned above.&lt;br /&gt;
&lt;br /&gt;
=== Current Status ===&lt;br /&gt;
&lt;br /&gt;
The organisers of the OpenUsability Initiative told the GRASS informed on 17.03.2008 that GRASS wasn't selected for the 2008 review phase.&lt;br /&gt;
Nevertheless, we should bear in mind that improvements in th usability will significatly raise the workflow efficieny and visibility og GRASS.&lt;br /&gt;
We should therefore continue to list and discuss usability blockers on this page and convert them into enhancement requests on the bug tracker.&lt;br /&gt;
&lt;br /&gt;
== User interfaces ==&lt;br /&gt;
&lt;br /&gt;
There are a number of user interfaces available for GRASS 6:&lt;br /&gt;
&lt;br /&gt;
* Tcl/Tk GUI (current [http://grass.osgeo.org/grass63/manuals/html63_user/gis.m.html gis.m] GUI, limited new development)&lt;br /&gt;
* Old Tcl/Tk GUI ([http://grass.osgeo.org/grass63/manuals/html63_user/d.m.html d.m], functional but unmaintained)&lt;br /&gt;
* wxPython ([http://grass.osgeo.org/grass63/manuals/html63_user/wxGUI.html wxGUI], functional, but still under heavy development)&lt;br /&gt;
: '''Usability improvement efforts should be concentrated on the wxGUI.'''&lt;br /&gt;
&lt;br /&gt;
* Text based command line interface (CLI)&lt;br /&gt;
: The CLI is in pretty good shape WRT modules, due to the near universal use of G_parser() and the [http://grass.osgeo.org/grass63/manuals/html63_user/g.parser.html g.parser] module. Option and flags could perhaps be more consistent between modules (e.g. sep= -&amp;gt; fs=) but these are frozen between minor versions.&lt;br /&gt;
* [http://grass.osgeo.org/devel/index.php#prog The C API] - it can be a bit inconsistent, but it's not exposed to users.&lt;br /&gt;
* [[GRASS_and_Python#Python-SWIG-GRASS_interface|SWIG interface]] (Python, Perl, ..) to the GRASS libraries&lt;br /&gt;
&lt;br /&gt;
* Modules could make better use of guisections (tabs).&lt;br /&gt;
&lt;br /&gt;
== The current usability show-stoppers ==&lt;br /&gt;
&lt;br /&gt;
Please list here the issue where you think that usability needs to be improved. Please mention the version of GRASS used.&lt;br /&gt;
&lt;br /&gt;
=== GUI related ===&lt;br /&gt;
Where could the usability of the GUI (please state which referring to) be improved?&lt;br /&gt;
&lt;br /&gt;
* -&lt;br /&gt;
* -&lt;br /&gt;
&lt;br /&gt;
=== Workflow related ===&lt;br /&gt;
&lt;br /&gt;
Where do you feel your workflow being blocked?&lt;br /&gt;
* Visual interpretation of satellite (and aerial) imagery for land cover mapping/ change detection purposes&lt;br /&gt;
There is no option to link two displays (wether using the X monitors or the Map Display of the GIS Manager) for an effective side-by-side visual comparison of data (all kinds of data: imagery, vector, raster, other ancillary data) over the same geographic region, projected of course on the same coordinate system. Having a linked pointer (pointing at the same location/ coordinates) on two different maps is an efficient way to compare images (e.g. winter vs. summer acquisitions over the same location) or to visually judge how effective was a georectification process. There are many other situations were this is &amp;quot;linking&amp;quot; option is useful/ critical.&lt;br /&gt;
&lt;br /&gt;
To implement an automatic replay of all actions (pan, zoom, load/ unload and overlay other data) taking place in one X monitor into another X monitor (or from one Map Display?) requires scripting and even then is not &amp;quot;automatic&amp;quot; as it is probably necessary to re-run the script.&lt;br /&gt;
&lt;br /&gt;
To exemplify, OpenEV (Edit Toolbar... &amp;gt; Link Views/ Cursor) is a very good tool to do this work. It's light, supports almost everything (based on gdal/ogr), smooth panning/ zooming, quick digitising and more.&lt;br /&gt;
&lt;br /&gt;
The combination of GRASS (for the analysis) and OpenEV (for an easy visual cross-comparison of results) is ideal. Yet there are time consuming limitations: e.g. exporting from GRASS to some format, careful selection of export parameters etc. Maybe it would be enough to create an easy to use export tool (from GRASS format in... ?) or why not the option to access GRASS' locations from OpenEV? The latter would be of course an OpenEV issue, if at all.&lt;br /&gt;
&lt;br /&gt;
* -&lt;br /&gt;
&lt;br /&gt;
== Links to other initiatives ==&lt;br /&gt;
&lt;br /&gt;
* [http://developer.gnome.org/projects/gup/hig/ GNOME Human Interface Guidelines]&lt;br /&gt;
* [http://wiki.gimp.org/gimp/GimpUsability GimpUsability - Wilber's Wiki]&lt;br /&gt;
* [http://www.freedesktop.org/wiki/Standards freedesktop.org standards]&lt;br /&gt;
* [http://tango.freedesktop.org Tango Desktop Project]&lt;br /&gt;
* [http://usability.kde.org/ KDE Usability Project - KDE Usability Project]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:GUI]]&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Usability&amp;diff=6028</id>
		<title>Usability</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Usability&amp;diff=6028"/>
		<updated>2008-03-12T23:04:49Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: /* The current usability show-stoppers: more sections  */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction and Rationale ==&lt;br /&gt;
&lt;br /&gt;
As GRASS is growing in size and functionality and targeting new user groups through being [[WinGRASS_Current_Status|ported to MS Windows]], getting a greater attention as a [http://www.osgeo.org OSGeo] project and the [[GRASS_GUI|new GUI in development]] it is time to consider the usability of the program.&lt;br /&gt;
&lt;br /&gt;
This augmented visibility will bring many new users to GRASS who may have known GRASS for long but never dared to use it for one or the other reasons. Other may be totally new to GIS and geospatial analysis or drawn to GRASS by its great capabilities. GRASS should have the best possible user interface to provide a appealing working environment to the new and experienced users to enable them to do their work effectively and without reading tons of documentation and mailing list archives.&lt;br /&gt;
&lt;br /&gt;
== The great Chance ==&lt;br /&gt;
&lt;br /&gt;
[http://openusability.org OpenUsability] the initiative that promotes usability in free and open source software (F/OSS) development has a call open until February 20th for interested projects to benefit from the work of willing students to review and improve overall usability or the usability of special parts of a program just as Google Summer of Code does it with new program feature.&lt;br /&gt;
GRASS should strongly consider applying and take this nice opportunity for the reasons mentioned above&lt;br /&gt;
&lt;br /&gt;
== User interfaces ==&lt;br /&gt;
&lt;br /&gt;
There are a number of user interfaces available for GRASS 6:&lt;br /&gt;
* Tcl/Tk GUI (current gis.m GUI, limited new development)&lt;br /&gt;
* Old Tcl/Tk GUI (d.m, functional but unmaintained)&lt;br /&gt;
* wxPython (wxgui, functional but still under heavy development)&lt;br /&gt;
: Usability improvement efforts should be concentrated on the wxGUI.&lt;br /&gt;
* Text based command line interface (CLI)&lt;br /&gt;
: The CLI is in pretty good shape WRT modules, due to the near universal use of G_parser() and the [http://grass.osgeo.org/grass63/manuals/html63_user/g.parser.html g.parser] module. Option and flags could perhaps be more consistent between modules (e.g. sep= -&amp;gt; fs=) but these are frozen between minor versions.&lt;br /&gt;
* [http://grass.osgeo.org/devel/index.php#prog The C API] - it can be a bit inconsistent, but it's not exposed to users.&lt;br /&gt;
* [[GRASS_and_Python#Python-SWIG-GRASS_interface|SWIG interface]] (Python, Perl, ..) to the GRASS libraries&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Modules could make better use of guisections (tabs).&lt;br /&gt;
&lt;br /&gt;
== The current usability show-stoppers ==&lt;br /&gt;
&lt;br /&gt;
Please list here the issue where you think that usability needs to be improved. Please mention the version of GRASS used.&lt;br /&gt;
&lt;br /&gt;
=== GUI related ===&lt;br /&gt;
Where could the usability of the GUI (please state which referring to) be improved?&lt;br /&gt;
&lt;br /&gt;
* -&lt;br /&gt;
* -&lt;br /&gt;
&lt;br /&gt;
=== Workflow related ===&lt;br /&gt;
&lt;br /&gt;
Where do you feel your workflow beeing blocked?&lt;br /&gt;
* -&lt;br /&gt;
* -&lt;br /&gt;
&lt;br /&gt;
== Links to other initiatives ==&lt;br /&gt;
&lt;br /&gt;
* [http://developer.gnome.org/projects/gup/hig/ GNOME Human Interface Guidelines]&lt;br /&gt;
* [http://wiki.gimp.org/gimp/GimpUsability GimpUsability - Wilber's Wiki]&lt;br /&gt;
* [http://www.freedesktop.org/wiki/Standards freedesktop.org standards]&lt;br /&gt;
* [http://tango.freedesktop.org Tango Desktop Project]&lt;br /&gt;
* [http://usability.kde.org/ KDE Usability Project - KDE Usability Project]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:GUI]]&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Dbase&amp;diff=5904</id>
		<title>Dbase</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Dbase&amp;diff=5904"/>
		<updated>2008-02-25T22:55:57Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: Dbase moved to Dbase (DBF): some know only the extension&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Dbase (DBF)]]&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Dbase_(DBF)&amp;diff=5903</id>
		<title>Dbase (DBF)</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Dbase_(DBF)&amp;diff=5903"/>
		<updated>2008-02-25T22:55:57Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: Dbase moved to Dbase (DBF): some know only the extension&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Some ML-Threads ==&lt;br /&gt;
&lt;br /&gt;
=== [http://article.gmane.org/gmane.comp.gis.grass.user/21672/ Is there a simple way to join some attribute data in a comma separated text file to an existing GRASS vector map?] ===&lt;br /&gt;
The data in the CSV file does not have any coordinates but a primary key field that also exists in the polygon map it needs to be joined to.&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.grass.user/21674 Answer 1]:&lt;br /&gt;
#*  use rdbms as data backend (including for the map you want the data to be connected to)&lt;br /&gt;
#*  db.in.ogr&lt;br /&gt;
#*  create view combining map attribute table with new table from csv-file (using key)&lt;br /&gt;
#*  v.db.connect -o map table=NewView&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.grass.user/21688 Answer 2]: &lt;br /&gt;
#* install SQLite (it does not need setup but works out of the box)&lt;br /&gt;
#* set the DBMI settings with db.connect (see manual page for copy-paste example)&lt;br /&gt;
#* use v.db.join&lt;br /&gt;
#* use g.copy or db.copy to easily transform from DBF (or whatever to SQLite).&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.grass.user/21674 Answer 3]:&lt;br /&gt;
#*  identify names and types of columns in csv file&lt;br /&gt;
#*  v.db.addcol the relevant columns&lt;br /&gt;
#*  for each line in csv file: v.db.update&lt;br /&gt;
=== [http://article.gmane.org/gmane.comp.gis.freegis/2193 Is there a tool which can convert a dBase file into a ASCII or CSV file?] ===&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.freegis/2193 Answer 1]:&lt;br /&gt;
#* Freeware tool from a German website: [WinDBF32 Datenbank Editor http://www.buchenwald.de/software/index.html]&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.freegis/2194 Answer 2]:&lt;br /&gt;
#* ogr2ogr -f CSV output world.shp world&lt;br /&gt;
#  [http://article.gmane.org/gmane.comp.gis.freegis/2195 Answer 3]:&lt;br /&gt;
#*  db.out.ogr &lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.freegis/2198 Answer 4]:&lt;br /&gt;
#* [http://sourceforge.net/projects/xdb/ xbase ]&lt;br /&gt;
#* [http://sourceforge.net/projects/dbf/ dbf]&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.freegis/2204 Answer 4]:&lt;br /&gt;
#* [http://thread.gmane.org/gmane.comp.gis.freegis/2193 dbftools]&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.freegis/2198 Answer 5]:&lt;br /&gt;
#* OO.org Base instead of Calc&lt;br /&gt;
=== [http://thread.gmane.org/gmane.comp.gis.grass.user/21244/focus=21248 Is it safe to edit the DBF-table outside of GRASS in another program?] ===&lt;br /&gt;
For instance in OpenOfficeCalc? Or even as a CSV with Python, IDL, etc.?&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.grass.user/21248 Answer]:&lt;br /&gt;
#* Yes. You can actually create whatever dbf you want, wherever you want as long as it contains a column with the id's of the objects. Then you can connnect your vector map to this dbf with v.db.connect.&lt;br /&gt;
=== [http://thread.gmane.org/gmane.comp.gis.grass.user/21244/focus=21248 I need to do some calculations on my attribute tables. What is the corresponding command in GRASS for this?] ===&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.grass.user/21248 Answer]:&lt;br /&gt;
#* v.db.addcol&lt;br /&gt;
#* v.db.update&lt;br /&gt;
[[Category:FAQ]]&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Dbase_(DBF)&amp;diff=5902</id>
		<title>Dbase (DBF)</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Dbase_(DBF)&amp;diff=5902"/>
		<updated>2008-02-25T22:54:10Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: added to FAQ category&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Some ML-Threads ==&lt;br /&gt;
&lt;br /&gt;
=== [http://article.gmane.org/gmane.comp.gis.grass.user/21672/ Is there a simple way to join some attribute data in a comma separated text file to an existing GRASS vector map?] ===&lt;br /&gt;
The data in the CSV file does not have any coordinates but a primary key field that also exists in the polygon map it needs to be joined to.&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.grass.user/21674 Answer 1]:&lt;br /&gt;
#*  use rdbms as data backend (including for the map you want the data to be connected to)&lt;br /&gt;
#*  db.in.ogr&lt;br /&gt;
#*  create view combining map attribute table with new table from csv-file (using key)&lt;br /&gt;
#*  v.db.connect -o map table=NewView&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.grass.user/21688 Answer 2]: &lt;br /&gt;
#* install SQLite (it does not need setup but works out of the box)&lt;br /&gt;
#* set the DBMI settings with db.connect (see manual page for copy-paste example)&lt;br /&gt;
#* use v.db.join&lt;br /&gt;
#* use g.copy or db.copy to easily transform from DBF (or whatever to SQLite).&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.grass.user/21674 Answer 3]:&lt;br /&gt;
#*  identify names and types of columns in csv file&lt;br /&gt;
#*  v.db.addcol the relevant columns&lt;br /&gt;
#*  for each line in csv file: v.db.update&lt;br /&gt;
=== [http://article.gmane.org/gmane.comp.gis.freegis/2193 Is there a tool which can convert a dBase file into a ASCII or CSV file?] ===&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.freegis/2193 Answer 1]:&lt;br /&gt;
#* Freeware tool from a German website: [WinDBF32 Datenbank Editor http://www.buchenwald.de/software/index.html]&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.freegis/2194 Answer 2]:&lt;br /&gt;
#* ogr2ogr -f CSV output world.shp world&lt;br /&gt;
#  [http://article.gmane.org/gmane.comp.gis.freegis/2195 Answer 3]:&lt;br /&gt;
#*  db.out.ogr &lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.freegis/2198 Answer 4]:&lt;br /&gt;
#* [http://sourceforge.net/projects/xdb/ xbase ]&lt;br /&gt;
#* [http://sourceforge.net/projects/dbf/ dbf]&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.freegis/2204 Answer 4]:&lt;br /&gt;
#* [http://thread.gmane.org/gmane.comp.gis.freegis/2193 dbftools]&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.freegis/2198 Answer 5]:&lt;br /&gt;
#* OO.org Base instead of Calc&lt;br /&gt;
=== [http://thread.gmane.org/gmane.comp.gis.grass.user/21244/focus=21248 Is it safe to edit the DBF-table outside of GRASS in another program?] ===&lt;br /&gt;
For instance in OpenOfficeCalc? Or even as a CSV with Python, IDL, etc.?&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.grass.user/21248 Answer]:&lt;br /&gt;
#* Yes. You can actually create whatever dbf you want, wherever you want as long as it contains a column with the id's of the objects. Then you can connnect your vector map to this dbf with v.db.connect.&lt;br /&gt;
=== [http://thread.gmane.org/gmane.comp.gis.grass.user/21244/focus=21248 I need to do some calculations on my attribute tables. What is the corresponding command in GRASS for this?] ===&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.grass.user/21248 Answer]:&lt;br /&gt;
#* v.db.addcol&lt;br /&gt;
#* v.db.update&lt;br /&gt;
[[Category:FAQ]]&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Dbase_(DBF)&amp;diff=5901</id>
		<title>Dbase (DBF)</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Dbase_(DBF)&amp;diff=5901"/>
		<updated>2008-02-25T22:53:09Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Some ML-Threads ==&lt;br /&gt;
&lt;br /&gt;
=== [http://article.gmane.org/gmane.comp.gis.grass.user/21672/ Is there a simple way to join some attribute data in a comma separated text file to an existing GRASS vector map?] ===&lt;br /&gt;
The data in the CSV file does not have any coordinates but a primary key field that also exists in the polygon map it needs to be joined to.&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.grass.user/21674 Answer 1]:&lt;br /&gt;
#*  use rdbms as data backend (including for the map you want the data to be connected to)&lt;br /&gt;
#*  db.in.ogr&lt;br /&gt;
#*  create view combining map attribute table with new table from csv-file (using key)&lt;br /&gt;
#*  v.db.connect -o map table=NewView&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.grass.user/21688 Answer 2]: &lt;br /&gt;
#* install SQLite (it does not need setup but works out of the box)&lt;br /&gt;
#* set the DBMI settings with db.connect (see manual page for copy-paste example)&lt;br /&gt;
#* use v.db.join&lt;br /&gt;
#* use g.copy or db.copy to easily transform from DBF (or whatever to SQLite).&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.grass.user/21674 Answer 3]:&lt;br /&gt;
#*  identify names and types of columns in csv file&lt;br /&gt;
#*  v.db.addcol the relevant columns&lt;br /&gt;
#*  for each line in csv file: v.db.update&lt;br /&gt;
=== [http://article.gmane.org/gmane.comp.gis.freegis/2193 Is there a tool which can convert a dBase file into a ASCII or CSV file?] ===&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.freegis/2193 Answer 1]:&lt;br /&gt;
#* Freeware tool from a German website: [WinDBF32 Datenbank Editor http://www.buchenwald.de/software/index.html]&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.freegis/2194 Answer 2]:&lt;br /&gt;
#* ogr2ogr -f CSV output world.shp world&lt;br /&gt;
#  [http://article.gmane.org/gmane.comp.gis.freegis/2195 Answer 3]:&lt;br /&gt;
#*  db.out.ogr &lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.freegis/2198 Answer 4]:&lt;br /&gt;
#* [http://sourceforge.net/projects/xdb/ xbase ]&lt;br /&gt;
#* [http://sourceforge.net/projects/dbf/ dbf]&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.freegis/2204 Answer 4]:&lt;br /&gt;
#* [http://thread.gmane.org/gmane.comp.gis.freegis/2193 dbftools]&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.freegis/2198 Answer 5]:&lt;br /&gt;
#* OO.org Base instead of Calc&lt;br /&gt;
=== [http://thread.gmane.org/gmane.comp.gis.grass.user/21244/focus=21248 Is it safe to edit the DBF-table outside of GRASS in another program?] ===&lt;br /&gt;
For instance in OpenOfficeCalc? Or even as a CSV with Python, IDL, etc.?&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.grass.user/21248 Answer]:&lt;br /&gt;
#* Yes. You can actually create whatever dbf you want, wherever you want as long as it contains a column with the id's of the objects. Then you can connnect your vector map to this dbf with v.db.connect.&lt;br /&gt;
=== [http://thread.gmane.org/gmane.comp.gis.grass.user/21244/focus=21248 I need to do some calculations on my attribute tables. What is the corresponding command in GRASS for this?] ===&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.grass.user/21248 Answer]:&lt;br /&gt;
#* v.db.addcol&lt;br /&gt;
#* v.db.update&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Dbase_(DBF)&amp;diff=5900</id>
		<title>Dbase (DBF)</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Dbase_(DBF)&amp;diff=5900"/>
		<updated>2008-02-25T22:51:59Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: some more info to tabel calculations&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Some ML-Threads ==&lt;br /&gt;
&lt;br /&gt;
=== [http://article.gmane.org/gmane.comp.gis.grass.user/21672/ Is there a simple way to join some attribute data in a comma separated text file to an existing GRASS vector map?] ===&lt;br /&gt;
The data in the CSV file does not have any coordinates but a primary key field that also exists in the polygon map it needs to be joined to.&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.grass.user/21674 Answer 1]:&lt;br /&gt;
#*  use rdbms as data backend (including for the map you want the data to be connected to)&lt;br /&gt;
#*  db.in.ogr&lt;br /&gt;
#*  create view combining map attribute table with new table from csv-file (using key)&lt;br /&gt;
#*  v.db.connect -o map table=NewView&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.grass.user/21688 Answer 2]: &lt;br /&gt;
#* install SQLite (it does not need setup but works out of the box)&lt;br /&gt;
#* set the DBMI settings with db.connect (see manual page for copy-paste example)&lt;br /&gt;
#* use v.db.join&lt;br /&gt;
#* use g.copy or db.copy to easily transform from DBF (or whatever to SQLite).&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.grass.user/21674 Answer 3]:&lt;br /&gt;
#*  identify names and types of columns in csv file&lt;br /&gt;
#*  v.db.addcol the relevant columns&lt;br /&gt;
#*  for each line in csv file: v.db.update&lt;br /&gt;
=== [http://article.gmane.org/gmane.comp.gis.freegis/2193 Is there a tool which can convert a dBase file into a ASCII or CSV file?] ===&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.freegis/2193 Answer 1]:&lt;br /&gt;
#* Freeware tool from a German website: [WinDBF32 Datenbank Editor http://www.buchenwald.de/software/index.html]&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.freegis/2194 Answer 2]:&lt;br /&gt;
#* ogr2ogr -f CSV output world.shp world&lt;br /&gt;
#  [http://article.gmane.org/gmane.comp.gis.freegis/2195 Answer 3]:&lt;br /&gt;
#*  db.out.ogr &lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.freegis/2198 Answer 4]:&lt;br /&gt;
#* [http://sourceforge.net/projects/xdb/ xbase ]&lt;br /&gt;
#* [http://sourceforge.net/projects/dbf/ dbf]&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.freegis/2204 Answer 4]:&lt;br /&gt;
#* [http://thread.gmane.org/gmane.comp.gis.freegis/2193 dbftools]&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.freegis/2198 Answer 5]:&lt;br /&gt;
#* OO.org Base instead of Calc&lt;br /&gt;
=== [http://thread.gmane.org/gmane.comp.gis.grass.user/21244/focus=21248 Is it safe to edit the DBF-table outside of GRASS in another program? ===&lt;br /&gt;
For instance in OpenOfficeCalc? Or even as a CSV with Python, IDL, etc.?] ===&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.grass.user/21248 Answer]:&lt;br /&gt;
#* Yes. You can actually create whatever dbf you want, wherever you want as long as it contains a column with the id's of the objects. Then you can connnect your vector map to this dbf with v.db.connect.&lt;br /&gt;
=== [I need to do some calculations on my attribute tables. What is the corresponding command in GRASS for this?] ===&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.grass.user/21248 Answer]:&lt;br /&gt;
#* v.db.addcol&lt;br /&gt;
#* v.db.update&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Dbase_(DBF)&amp;diff=5899</id>
		<title>Dbase (DBF)</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Dbase_(DBF)&amp;diff=5899"/>
		<updated>2008-02-25T22:43:59Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: first text input: summaraized  threads from ML&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Some ML-Threads ==&lt;br /&gt;
&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.grass.user/21672/ Is there a simple way to join some attribute data in a comma separated text file to an existing GRASS vector map?]The data in the CSV file does not have any coordinates but a primary key field that also exists in the polygon map it needs to be joined to.&lt;br /&gt;
## [http://article.gmane.org/gmane.comp.gis.grass.user/21674 Answer 1]:&lt;br /&gt;
##*  use rdbms as data backend (including for the map you want the data to be connected to)&lt;br /&gt;
##*  db.in.ogr&lt;br /&gt;
##*  create view combining map attribute table with new table from csv-file (using key)&lt;br /&gt;
##*  v.db.connect -o map table=NewView&lt;br /&gt;
## [http://article.gmane.org/gmane.comp.gis.grass.user/21688 Answer 2]: &lt;br /&gt;
##* install SQLite (it does not need setup but works out of the box)&lt;br /&gt;
##* set the DBMI settings with db.connect (see manual page for copy-paste example)&lt;br /&gt;
##* use v.db.join&lt;br /&gt;
##* use g.copy or db.copy to easily transform from DBF (or whatever to SQLite).&lt;br /&gt;
## [http://article.gmane.org/gmane.comp.gis.grass.user/21674 Answer 3]:&lt;br /&gt;
##*  identify names and types of columns in csv file&lt;br /&gt;
##*  v.db.addcol the relevant columns&lt;br /&gt;
##*  for each line in csv file: v.db.update&lt;br /&gt;
# [http://article.gmane.org/gmane.comp.gis.freegis/2193 Is there a tool which can convert a dBase file into a ASCII or CSV file?]&lt;br /&gt;
## [http://article.gmane.org/gmane.comp.gis.freegis/2193 Answer 1]:&lt;br /&gt;
##* Freeware tool from a German website: [WinDBF32 Datenbank Editor http://www.buchenwald.de/software/index.html]&lt;br /&gt;
## [http://article.gmane.org/gmane.comp.gis.freegis/2194 Answer 2]:&lt;br /&gt;
##* ogr2ogr -f CSV output world.shp world&lt;br /&gt;
##  [http://article.gmane.org/gmane.comp.gis.freegis/2195 Answer 3]:&lt;br /&gt;
##*  db.out.ogr &lt;br /&gt;
## [http://article.gmane.org/gmane.comp.gis.freegis/2198 Answer 4]:&lt;br /&gt;
##* [http://sourceforge.net/projects/xdb/ xbase ]&lt;br /&gt;
##* [http://sourceforge.net/projects/dbf/ dbf]&lt;br /&gt;
## [http://article.gmane.org/gmane.comp.gis.freegis/2204 Answer 4]:&lt;br /&gt;
##* [http://thread.gmane.org/gmane.comp.gis.freegis/2193 dbftools]&lt;br /&gt;
## [http://article.gmane.org/gmane.comp.gis.freegis/2198 Answer 5]:&lt;br /&gt;
##* OO.org Base instead of Calc&lt;br /&gt;
# [http://thread.gmane.org/gmane.comp.gis.grass.user/21244/focus=21248s Is it safe to edit the DBF-table outside of GRASS in another program? For instance in OpenOfficeCalc? Or even as a CSV with Python, IDL, etc.?]&lt;br /&gt;
## Answer:&lt;br /&gt;
##* Yes. You can actually create whatever dbf you want, wherever you want as long as it contains a column with the id's of the objects. Then you can connnect your vector map to this dbf with v.db.connect.&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Usability&amp;diff=5845</id>
		<title>Usability</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Usability&amp;diff=5845"/>
		<updated>2008-02-13T21:56:33Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: added showstoppers&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction and Rationale ==&lt;br /&gt;
&lt;br /&gt;
As GRASS is growing in size and functionality and trageting new user groups through being ported to windows, getting a greater attention as a OSGEO project and the new GUI in development it is time to consider the usability of the program.&lt;br /&gt;
This augmented visibilty will bring many new users to GRASS who may have known GRASS for long but never dared to use it for one or the other reasons. Other may be totally new to GIS and geospacial analysis or drawn to GRASS by its gret capabilities. GRASS should have the best possible user interface to provide a appealing working environment to the new and experienced users to enable them to do their work effectively and without reading tons of documentation and maillist archives.&lt;br /&gt;
&lt;br /&gt;
== The great Chance ==&lt;br /&gt;
&lt;br /&gt;
[http://openusability.org OpenUsability] the initiative that promotes usability in free and open source software (F/OSS) development has a call open until February 20th for interested projects to benefit from the work of willing students to review and improve overall usability or the usability of special parts of a program just as Google Summer of Code does it with new program feature.&lt;br /&gt;
GRASS should strongly consider appliying and take this nice opportunity for the reasons mentioned above&lt;br /&gt;
&lt;br /&gt;
== The current usability show-stoppers ==&lt;br /&gt;
&lt;br /&gt;
Please list here the issue where you think that usability needs to be improved. Pleas emention the version of GRASS used.&lt;br /&gt;
&lt;br /&gt;
== Links to other inititives ==&lt;br /&gt;
&lt;br /&gt;
* [http://developer.gnome.org/projects/gup/hig/ GNOME Human Interface Guidelines]&lt;br /&gt;
* [http://wiki.gimp.org/gimp/GimpUsability GimpUsability - Wilber's Wiki]&lt;br /&gt;
* [http://www.freedesktop.org/wiki/Standards freedesktop.org standards]&lt;br /&gt;
* [http://tango.freedesktop.org Tango Desktop Project]&lt;br /&gt;
* [http://usability.kde.org/ KDE Usability Project - KDE Usability Project]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:GUI]]&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Usability&amp;diff=5844</id>
		<title>Usability</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Usability&amp;diff=5844"/>
		<updated>2008-02-13T21:44:12Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: new article about Usability&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction and Rationale ==&lt;br /&gt;
&lt;br /&gt;
As GRASS is growing in size and functionality and trageting new user groups through being ported to windows, getting a greater attention as a OSGEO project and the new GUI in development it is time to consider the usability of the program.&lt;br /&gt;
This augmented visibilty will bring many new users to GRASS who may have known GRASS for long but never dared to use it for one or the other reasons. Other may be totally new to GIS and geospacial analysis or drawn to GRASS by its gret capabilities. GRASS should have the best possible user interface to provide a appealing working environment to the new and experienced users to enable them to do their work effectively and without reading tons of documentation and maillist archives.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The great Chance ==&lt;br /&gt;
&lt;br /&gt;
[http://openusability.org OpenUsability] the initiative that promotes usability in free and open source software (F/OSS) development has a call open until February 20th for interested projects to benefit from the work of willing students to review and improve overall usability or the usability of special parts of a program just as Google Summer of Code does it with new program feature.&lt;br /&gt;
GRASS should strongly consider appliying and take this nice opportunity for the reasons mentioned above&lt;br /&gt;
&lt;br /&gt;
== Links to other inititives ==&lt;br /&gt;
&lt;br /&gt;
* [http://developer.gnome.org/projects/gup/hig/ GNOME Human Interface Guidelines]&lt;br /&gt;
* [http://wiki.gimp.org/gimp/GimpUsability GimpUsability - Wilber's Wiki]&lt;br /&gt;
* [http://www.freedesktop.org/wiki/Standards freedesktop.org standards]&lt;br /&gt;
* [http://tango.freedesktop.org Tango Desktop Project]&lt;br /&gt;
* [http://usability.kde.org/ KDE Usability Project - KDE Usability Project]&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_GMT&amp;diff=5706</id>
		<title>GRASS and GMT</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_GMT&amp;diff=5706"/>
		<updated>2008-01-13T16:05:02Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: added tutorial&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= GMT (The Generic Mapping Tools) =&lt;br /&gt;
&lt;br /&gt;
GMT (Generic Mapping Tools) is a Free software package for creating publication quality cartography.&lt;br /&gt;
&lt;br /&gt;
GMT homepage:  http://gmt.soest.hawaii.edu&lt;br /&gt;
&lt;br /&gt;
== Importing from GMT ==&lt;br /&gt;
&lt;br /&gt;
* Use r.in.bin with the -h flag, or try the [http://www.gdal.org/frmt_various.html#GMT netCDF GDAL driver] with r.in.gdal.&lt;br /&gt;
&lt;br /&gt;
* Import GMT style .cpt color table files with the r.cpt2grass script on the [[GRASS_AddOns|Add-ons]] page.&lt;br /&gt;
:For a large collection of GMT .cpt files see http://sview01.wiredworkplace.net/pub/cpt-city/&lt;br /&gt;
&lt;br /&gt;
== Exporting GRASS maps to GMT ==&lt;br /&gt;
&lt;br /&gt;
* Overview: http://169.237.35.250/~dylan/grass_user_group/#GMT_and_GRASS-overview&lt;br /&gt;
&amp;lt;BR&amp;gt;(Supplied by the GRASS Users Group of Davis, California)&lt;br /&gt;
&lt;br /&gt;
Currently there are several *.out.GMT permutations on the [[GRASS_AddOns|Add-ons]] page, in several different languages (bash, python, etc.), and each of which with relative pros/cons. An effort to unify these approaches would save much of the current difficulties in moving complex raster+vector data into a GMT-friendly format. A simple road map toward this goal is outlined:&lt;br /&gt;
&lt;br /&gt;
=== Proper conversion of GRASS raster color data into GMT compatible CPT files ===&lt;br /&gt;
David Finlayson's [http://david.p.finlayson.googlepages.com/gisscripts r.out.gmt.py] does a nice job of this. Once we decide on an optimal language to implement the routines in this may need translation.&lt;br /&gt;
&lt;br /&gt;
=== Proper conversion of GRASS raster data to GMT compatible binary grids ===&lt;br /&gt;
A combination of r.out.bin | xyz2grd can accomplish this. Several attempts at generalizing this procedure have been proposed: [http://david.p.finlayson.googlepages.com/gisscripts r.out.gmt.py], [http://bambi.otago.ac.nz/hamish/grass/r.out.gmt r.out.gmt] (Hamish and Dylan), [http://169.237.35.250/~dylan/grass_user_group/r.out.gmt.sh r.out.gmt.sh] (Dylan, based Hamish's work).&lt;br /&gt;
&lt;br /&gt;
=== Proper conversion of GRASS vector data to GMT compatible ascii files ===&lt;br /&gt;
There is currently an effort (with some funding!), see some of the chatter on the GRASS and GMT mailing lists:&lt;br /&gt;
[http://grass.itc.it/pipermail/grassuser/2006-April/033659.html GRASS-list]&lt;br /&gt;
[http://www.nabble.com/Ideas-needed-regarding-OGR-reformatter-for-GMT-vector-(point-multiline)-files.-t2605255.html GMT-help]&lt;br /&gt;
&lt;br /&gt;
=== Automatic conversion of symbology data stored in a gis.m or QGIS saved state to GMT options ===&lt;br /&gt;
&lt;br /&gt;
Ideas expressed on various mailing list, haven't seem much since. It ''should'' be a relatively simple excercise in XML parsing to convert symbology stored in a QGIS project file into something that GMT can use.&lt;br /&gt;
&lt;br /&gt;
=== General approach ===&lt;br /&gt;
Since GMT relies on a sequence of specialized programs to &amp;quot;build-up&amp;quot; a postscript file, some thought must be put into how the conversion should take place. As usual, form should follow function- maximum flexibility, robustness, and accuracy being primary objectives. However, a simple means of creating high quality 2D maps would be a tremendous (I think) addition to the GRASS toolset. Especially since this is something frequently cited by critics. --[[User:DylanBeaudette|DylanBeaudette]] 02:47, 10 December 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
1. should we continue down the well troden path of single-use, highly efficient programs for the various conversion steps: i.e v.out.GMT, r.out.GMT, etc.?&lt;br /&gt;
&lt;br /&gt;
2. should there be a unified approach to the process: something akin to ps.map - ''GMT.map'' ?&lt;br /&gt;
&lt;br /&gt;
= Tutorials =&lt;br /&gt;
* [http://netgis.geo.uw.edu.pl/srtm/ Dane DEM uzyskane z radarowej misji promu kosmicznego - SRTM-3]: Tutorial in Polish&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Compile_and_Install&amp;diff=4278</id>
		<title>Compile and Install</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Compile_and_Install&amp;diff=4278"/>
		<updated>2007-05-31T11:10:30Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: /* Ubuntu 6.06 */ checkinstall for Ubuntu added&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to do compilation and installation of GRASS 6? ==&lt;br /&gt;
&lt;br /&gt;
Here we explain the procedure to compile GRASS from CVS, but it also applies to official GRASS 6 releases.&lt;br /&gt;
&lt;br /&gt;
''For installation of precompiled binary packages, see the main [[Installation Guide]].''&lt;br /&gt;
&lt;br /&gt;
For detailed information on compilation, please see the [http://grass.itc.it/grass61/source/INSTALL INSTALL] file in the source code.&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
&lt;br /&gt;
GRASS needs at least two extra libraries: PROJ and GDAL/OGR&lt;br /&gt;
&lt;br /&gt;
''Note: if you want to have DBMS support in GDAL (subsequently in GRASS) you have to perform the &amp;quot;Optional&amp;quot; steps below as well.''&lt;br /&gt;
&lt;br /&gt;
* [http://proj.maptools.org PROJ4] for management of projections (with proj-datumgrid-1.3.zip support)&lt;br /&gt;
* Optional: [http://geos.refractions.net GEOS]&lt;br /&gt;
* Optional: [http://www.postgresql.org PostgreSQL], [http://www.mysql.org mySQL], [http://www.unixodbc.org unixODBC], [http://www.sqlite.org SQLite] (SQLite is needed for QGIS)&lt;br /&gt;
* [http://www.gdal.org GDAL/OGR] for reading and writing various GIS data formats (interoperability)&lt;br /&gt;
&lt;br /&gt;
You have to install these two libraries '''first'''.&lt;br /&gt;
&lt;br /&gt;
It is easiest to obtain a prepackaged version of these libraries (e.g., .rpm; .deb) for your particular operating system and run the corresponding package installation (e.g., rpm -Uhv packagename.rpm; apt-get) in a terminal window. Take care to also install the development packages of these libraries (...-devel packages). If there is no prepackage version, then you will have to download the source code (see links above, source code packages usually ends in .tar.gz or .zip) and compile it (you must have a C compiler installed as part of your operating system). The Web sites show the steps to compile the libraries.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other libraries needed to run GRASS are listed here: [http://grass.itc.it/grass63/source/REQUIREMENTS.html REQUIREMENTS]. To compile, you will also need the respective &amp;quot;-devel&amp;quot; packages.&lt;br /&gt;
&lt;br /&gt;
=== Generic Compilation and installation procedure ===&lt;br /&gt;
&lt;br /&gt;
* checkout the grass6 module from cvs (read http://grass.itc.it/faq/cvs_howto.html grass CVS howto instructions)&lt;br /&gt;
* It is wise that compilation processes are carried out as a normal user: If you want to get the source code in a place where  you do not have write permissions (e.g. in /usr/local/src/cvs) just follow this:&lt;br /&gt;
      cd /usr/local/src/cvs &lt;br /&gt;
      su -c 'mkdir grass6'&lt;br /&gt;
      su -c 'chown yourlogin:yourgroup grass6'&lt;br /&gt;
* do a checkout (co) of the repository&lt;br /&gt;
      cvs -z3 co grass6&lt;br /&gt;
* in the grass6 directory, you will find the precious INSTALL file, open it with your favourite pager/editor and read it carefully!&lt;br /&gt;
* run configure with parameters to adapt the compile process to your own system. To see what options can be passed to it, run configure --help. The minimum set of configure parameters is  (refers to GRASS 6 from CVS, not to 6.x release):&lt;br /&gt;
      ./configure ### It may (!) look like this:&lt;br /&gt;
      ./configure \&lt;br /&gt;
          --with-cxx \&lt;br /&gt;
          --with-sqlite \&lt;br /&gt;
          --with-postgres-libs=/usr/include/pgsql/libpq \&lt;br /&gt;
          --with-postgres-includes=/usr/include/pgsql \&lt;br /&gt;
          --with-freetype \&lt;br /&gt;
          --with-freetype-includes=/usr/include/freetype2 \&lt;br /&gt;
          --with-motif \&lt;br /&gt;
          --with-glw \&lt;br /&gt;
          --with-proj-share=/usr/share/proj&lt;br /&gt;
&lt;br /&gt;
You may have to explicitly state the path for certain packages (i.e., gdal). The Unix 'locate' command will come in handy for finding the path of the package you need (you may have to run locate as root ex: sudo locate gdal-config).&lt;br /&gt;
&lt;br /&gt;
Please note that the paths mentioned may widely vary due to the distribution used. At the end of configuration process you should get report not much different from this:&lt;br /&gt;
&lt;br /&gt;
GRASS is now configured for:  i686-pc-linux-gnu&lt;br /&gt;
 &lt;br /&gt;
 Source directory:            /usr/src/grass6&lt;br /&gt;
 Build directory:             /usr/src/grass6&lt;br /&gt;
 Installation directory:      /usr/local/grass-6.1.cvs&lt;br /&gt;
 Startup script in directory: ${exec_prefix}/bin&lt;br /&gt;
 C compiler:                  gcc -g -O2 &lt;br /&gt;
 C++ compiler:                c++ -g -O2&lt;br /&gt;
 FORTRAN compiler:            &lt;br /&gt;
 Building shared libraries:   yes&lt;br /&gt;
 64bit support:               no&lt;br /&gt;
 &lt;br /&gt;
  NVIZ:                       yes&lt;br /&gt;
 &lt;br /&gt;
  BLAS support:               no&lt;br /&gt;
  C++ support:                yes&lt;br /&gt;
  DWG support:                no&lt;br /&gt;
  FFMPEG support:             no&lt;br /&gt;
  FFTW support:               yes&lt;br /&gt;
  FreeType support:           yes&lt;br /&gt;
  GDAL support:               yes&lt;br /&gt;
  GLw support:                no&lt;br /&gt;
  JPEG support:               yes&lt;br /&gt;
  LAPACK support:             no&lt;br /&gt;
  Large File Support (LFS):   no&lt;br /&gt;
  Motif support:              no&lt;br /&gt;
  MySQL support:              no&lt;br /&gt;
  NLS support:                no&lt;br /&gt;
  ODBC support:               no&lt;br /&gt;
  OGR support:                yes&lt;br /&gt;
  OpenGL(R) support:          yes&lt;br /&gt;
  PNG support:                yes&lt;br /&gt;
  PostgreSQL support:         yes&lt;br /&gt;
  Readline support:           no&lt;br /&gt;
  SQLite support:             no&lt;br /&gt;
  Tcl/Tk support:             yes&lt;br /&gt;
  TIFF support:               yes&lt;br /&gt;
  X11 support:                yes&lt;br /&gt;
  &lt;br /&gt;
* Let's compile it (takes a little while...)!&lt;br /&gt;
      make&lt;br /&gt;
* At the end, you should get report not much different from this:&lt;br /&gt;
 ----------------------------------------------------------------------&lt;br /&gt;
 Following modules are missing the 'description.html' file in src code:&lt;br /&gt;
 ----------------------------------------------------------------------&lt;br /&gt;
 GRASS GIS compilation log&lt;br /&gt;
 -------------------------&lt;br /&gt;
 Started compilation: Ne kvě 28 13:18:43 CEST 2006&lt;br /&gt;
 --&lt;br /&gt;
 Errors in:&lt;br /&gt;
 --&lt;br /&gt;
 Finished compilation: Ne kvě 28 13:43:40 CEST 2006&lt;br /&gt;
 (In case of errors please change into the directory with error and run 'make')&lt;br /&gt;
&lt;br /&gt;
* If there is any error, change directory to directory with error and run &amp;quot;make&amp;quot; again. Report occuring bug to grass mailing list&lt;br /&gt;
* Once the installation process is finished, you're ready to install GRASS system wide.&lt;br /&gt;
      su -c 'make install'&lt;br /&gt;
* enjoy GRASS: &lt;br /&gt;
      grass61&lt;br /&gt;
&lt;br /&gt;
=== What else? ===&lt;br /&gt;
&lt;br /&gt;
If you want to use [http://www.qgis.org QGIS], then also compile the GRASS-GDAL/OGR plugin. This is also useful to access your GRASS-data&lt;br /&gt;
from other application using GDAL/OGR like [http://thuban.intevation.de thuban].&lt;br /&gt;
* [[Compile and install GRASS and QGIS with GDAL/OGR Plugin]] (enables QGIS to read GRASS data directly)&lt;br /&gt;
&lt;br /&gt;
=== Platform Specific Notes ===&lt;br /&gt;
&lt;br /&gt;
==== Debian ====&lt;br /&gt;
&lt;br /&gt;
      # first install PROJ, then GDAL.&lt;br /&gt;
      cd grass63/&lt;br /&gt;
      fakeroot buildpackage&lt;br /&gt;
&lt;br /&gt;
* [http://hamish.bowman.googlepages.com/debiangisfiles#compile Compiling GRASS 6.1-CVS on Debian/Stable (aka 3.1, Sarge)]&lt;br /&gt;
&lt;br /&gt;
* Official [http://pkg-grass.alioth.debian.org/cgi-bin/wiki.pl DebianGIS] packaging [http://svn.debian.org/wsvn/pkg-grass/packages/grass/branches/ control files].&lt;br /&gt;
&lt;br /&gt;
==== Ubuntu 6.06 ====&lt;br /&gt;
&lt;br /&gt;
* [http://david.p.finlayson.googlepages.com/makegrass.sh makegrass.sh] is script designed to automate most of the download, configuration and compilation of GRASS 6.x-CVS&lt;br /&gt;
** it is advised use [https://help.ubuntu.com/community/CheckInstall checkinstall] (''sudo apt-get install checkinstall'') instead of ''make install'' to keep track of installed software &lt;br /&gt;
* [[User:Steko/Automated_CVS_compiling|Here]] is another of these scripts, it's homemade so probably you'll find the above more useful for production sites.&lt;br /&gt;
&lt;br /&gt;
==== RPM SPEC files ====&lt;br /&gt;
&lt;br /&gt;
... can be found in the source code, rpm/ directory, or [http://www.gdf-hannover.de/media.php?id=1&amp;amp;lg=en here]&lt;br /&gt;
&lt;br /&gt;
==== MS-Windows/Cygwin ====&lt;br /&gt;
&lt;br /&gt;
... see [http://grass.itc.it/platforms/wingrass.html here] (should be moved to the Wiki)&lt;br /&gt;
&lt;br /&gt;
==== MS-Windows/native ====&lt;br /&gt;
&lt;br /&gt;
See also [[WinGRASS Current Status]] for latest updates.&lt;br /&gt;
&lt;br /&gt;
For this, you need MinGW and MSys, including gcc, g++, binutils, flex, bison, make, and pdcurses, all from:&lt;br /&gt;
http://www.mingw.org/download.shtml&lt;br /&gt;
&lt;br /&gt;
You also need this version of the XDR library:&lt;br /&gt;
http://wiki.qgis.org/qgiswiki/BuildingWindowsBinaryOnLinux?action=AttachFile&amp;amp;do=get&amp;amp;target=xdr-4.0-mingw2.tar.gz&lt;br /&gt;
&lt;br /&gt;
The above is a stripped-down version of the Sun RPC library, which only includes the XDR [de]serialisation code, with the networking code removed.&lt;br /&gt;
&lt;br /&gt;
You will first need to build and install zlib, PNG, PROJ, GDAL and the above XDR library. Then, building GRASS is similar to building it on Linux, except that you need to disable most of the optional features (including the use of shared libraries).&lt;br /&gt;
&lt;br /&gt;
Aside: it might encourage more people to work on the Windows version if the GRASS site contained binary versions of the necessary libraries. Having to build XDR, PROJ, GDAL, zlib, PNG, Tcl/Tk and possibly other stuff from source before you can start to compile GRASS is a major nuisance.&lt;br /&gt;
&lt;br /&gt;
... or see [http://wiki.qgis.org/qgiswiki/BuildingWindowsBinaryOnLinux here incl. QGIS compilation] (with MinGW)&lt;br /&gt;
&lt;br /&gt;
==== Mac OSX ====&lt;br /&gt;
&lt;br /&gt;
... see [http://grass.itc.it/platforms/macgrass.php here] for instructions&lt;br /&gt;
&lt;br /&gt;
... [[Compiling on MacOSX|or this other way]]&lt;br /&gt;
&lt;br /&gt;
==== Zaurus====&lt;br /&gt;
&lt;br /&gt;
... see [http://wiki.debian.org/?GrassGISonZaurus here] for instructions&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Common problems and solutions ===&lt;br /&gt;
&lt;br /&gt;
During compilation, error can occur if certain packages are not installed. Here a list of problems with solution:&lt;br /&gt;
&lt;br /&gt;
* error: X11/Xlib.h: No such file or directory&lt;br /&gt;
** this suggests that you don't have the X headers installed&lt;br /&gt;
** Solution: Install the libx11-dev package&lt;br /&gt;
&lt;br /&gt;
=== Configure options and their meanings ===&lt;br /&gt;
&lt;br /&gt;
For configure there are many options and some GRASS modules are built only if some options are set. Here are listed common configuration options with short explanation.&lt;br /&gt;
&lt;br /&gt;
* --prefix=/path - Sets path where GRASS will be installed. GRASS will reside in /path/grass-version.&lt;br /&gt;
* --enable-largefile - Enables large (&amp;gt;2Gb on 32bit systems) support. For current large file support status look at [[Large File Support]] page.&lt;br /&gt;
* --with-cxx - Enables compilation of C++ code. Required for r.terraflow module.&lt;br /&gt;
* --with-readline - Enables readline support. If readline is enabled, you can use its history/editing facilities when entering r.mapcalc expressions on stdin.&lt;br /&gt;
* --with-glw - Enables GLw support. The GLw library provides OpenGL &amp;quot;canvas&amp;quot; widgets for Athena and Motif. &lt;br /&gt;
 &lt;br /&gt;
 That switch is unnecessary for normal compilation. It's only&lt;br /&gt;
 required for r3.showdspf, which isn't normally built; if you &lt;br /&gt;
 want it, you have build it manually &lt;br /&gt;
 (e.g. &amp;quot;make -C raster3d/r3.showdspf&amp;quot;).&lt;br /&gt;
 As similar functionality is now provided by NVIZ, r3.showdspf&lt;br /&gt;
 is deprecated.&lt;br /&gt;
 r3.showdspf uses the Motif widget (so you also need a &lt;br /&gt;
 Motif library, e.g. Lesstif or OpenMotif).&lt;br /&gt;
 [http://grass.itc.it/pipermail/grassuser/2006-December/037475.html Glynn Clements at GRASS-user mailing list]&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Documentation]]&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GRASS_GUI&amp;diff=4162</id>
		<title>GRASS GUI</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_GUI&amp;diff=4162"/>
		<updated>2007-05-07T21:52:16Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: /* Discussion / Comments */ request for usability tests&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Graphical toolkit choice =&lt;br /&gt;
&lt;br /&gt;
* [http://www.wxwidgets.org/wiki/index.php/WxWidgets_Compared_To_Other_Toolkits WxWidgets Compared To Other Toolkits]&lt;br /&gt;
* [http://freshmeat.net/articles/view/928 GUI Toolkits for The X Window System]&lt;br /&gt;
&lt;br /&gt;
== [http://sourceforge.net/softwaremap/trove_list.php Sourceforge.net statistics] ==&lt;br /&gt;
&lt;br /&gt;
* Projects using Python as programming language: 6217&lt;br /&gt;
* Projects using '''GTK+''': 1328&lt;br /&gt;
* Projects using '''GTK+''' graphical library and Python programming language: 348&lt;br /&gt;
* Projects using '''GTK+''' graphical library and Python programming language and '''OpenGL''': 7&lt;br /&gt;
* Projects using '''wxWidgets''': 880&lt;br /&gt;
* Projects using '''wxWidgets''' graphical library and Python programming language: 360&lt;br /&gt;
* Projects using '''wxWidgets''' graphical library and Python programming language and '''OpenGL''': 4&lt;br /&gt;
&lt;br /&gt;
= wxPython GUI =&lt;br /&gt;
&lt;br /&gt;
* Generic [[GRASS and Python]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== General GUI Design ===&lt;br /&gt;
''''' Move into [[GRASS_GUI#Components|Components]] section below '''''&lt;br /&gt;
&lt;br /&gt;
==== User's point of view ====&lt;br /&gt;
* GUI has multiple map displays&lt;br /&gt;
* Each map display has several buttons for basic functions&lt;br /&gt;
** Zooming and Paning&lt;br /&gt;
** Data Quering&lt;br /&gt;
* Each map display will be able to fire up pop-up toolbar with more complicated  and not-so-often-used display functions (substitutions for d.measure, d.profile, d.text, ...)&lt;br /&gt;
* Each map display will be able to fire up pop-up toolbar with v.digit substitution&lt;br /&gt;
* Monitors can be started from the command line and from the GIS Manager&lt;br /&gt;
* Monitors must be able to display following types of layers&lt;br /&gt;
** GRASS Raster&lt;br /&gt;
** GRASS Vector&lt;br /&gt;
** GDAL Raster&lt;br /&gt;
** GDAL Vector&lt;br /&gt;
** WMS Layer from remote server&lt;br /&gt;
** WCS and WFS layers too&lt;br /&gt;
** Text layers&lt;br /&gt;
** Graphics layers&lt;br /&gt;
** Grid&lt;br /&gt;
** Image layers&lt;br /&gt;
** ...&lt;br /&gt;
* GIS Manager is tool for &lt;br /&gt;
** Monitors management and monitor content management &lt;br /&gt;
** Layer look management&lt;br /&gt;
** Modules starting (from integrated command line or menu)&lt;br /&gt;
** Displaying output from modules (G_message, G_warning, G_fatal_error, G_percent)&lt;br /&gt;
* GIS Manager must be able to save and restore session&lt;br /&gt;
* There should be default session file, which will be loaded by default ones GRASS is started with -gui parameter&lt;br /&gt;
* Georectification tool should be part of new GUI. It should be special type of monitor with added GCP function&lt;br /&gt;
* Map Composer should be part of the new GUI. This tool should generate configuration files for hardcopy maps. The configuration files should be either ps.map files or maybe SVG&lt;br /&gt;
&lt;br /&gt;
==== Coder's point of view ====&lt;br /&gt;
NOTE: As I have no coders background, sorry for inept formulated thoughts. --[[User:Jachym|Jachym]] 09:13, 2 February 2007 (CET)&lt;br /&gt;
&lt;br /&gt;
List of suggested classes and their purpose.&lt;br /&gt;
&lt;br /&gt;
* '''Layer''' -- Raster, vector, WMS, whatever layer&lt;br /&gt;
** '''Attributes''' -- Attributes are depending on layer type, but there are also common attributes marked with prefix &amp;quot;l_&amp;quot;  (for 'layer'):&lt;br /&gt;
*** l_type -- vector, raster, wms, text, graph, ...&lt;br /&gt;
*** l_mapfile -- renderd ppm file&lt;br /&gt;
*** l_maskfile -- pgm file with layer's alpha channel&lt;br /&gt;
*** l_active -- layer is active, will be rendered only if True&lt;br /&gt;
*** l_hidden - layer is hidden, will be allways rendered&lt;br /&gt;
*** l_opacity - layer opacity [0-1]&lt;br /&gt;
** '''Methods'''&lt;br /&gt;
*** Render -- runs d.* and similar commands for making content of l_mapfile&lt;br /&gt;
&lt;br /&gt;
* '''Map''' -- Set of layers renderd to single PNG image, ready to display in Map display frame&lt;br /&gt;
** '''Attributes'''&lt;br /&gt;
*** Width -- map width&lt;br /&gt;
*** Height -- map height&lt;br /&gt;
*** Region -- Region boundaries and resolution&lt;br /&gt;
*** Layers -- Array of ''Layer''s displayed in this &amp;quot;map&amp;quot;&lt;br /&gt;
*** MapFile -- path to resulting PNG file with rendered map&lt;br /&gt;
** '''Methods'''&lt;br /&gt;
*** AddRasterLayer -- Adds GRASS-raster layer to list of layers&lt;br /&gt;
*** AddVectorLayer -- Adds GRASS-vector layer to list of layers&lt;br /&gt;
*** Add...Layer -- Adds some type of layer (wms, wfs, text, ...) to list of layers&lt;br /&gt;
*** GetListOfLayers -- Returns array of layers (''active, hidden, type'')&lt;br /&gt;
*** Render -- Creates final PNG image and stores it's path to ''MapFile''&lt;br /&gt;
&lt;br /&gt;
''TSW Comment: perhaps it would be simpler to have AddLayer and pass the type as a parameter. Automatic would be nice, but since it is possible for vector and raster files to have the same name, this wouldn't work. Another option to consider would be to use AddLayer as a base class AddLayerRaster, ... as subclasses. This would make things more modular and theoretically at least, easier to maintain and develop.''&lt;br /&gt;
&lt;br /&gt;
''JC Comment: I made separate functions for raster and vector, because of their attributes are completely different. There should be also AddWMSLayer etc. functions. IMHO it does not matter, if we have general AddLayer with parameter layer_type, or separate functions for all layer types.''&lt;br /&gt;
&lt;br /&gt;
* '''DigitToolbar''' -- Pop-up toolbar with digitising functions&lt;br /&gt;
* '''DisplayToolBar''' -- Pop-up toolbar with substitution of other d.* modules&lt;br /&gt;
&lt;br /&gt;
* '''MapDisplay''' -- Frame (in [http://wiki.wxpython.org/index.cgi/Frequently_Asked_Questions#head-829eea79fe17c04c65c00a7dc0bffa69f2473167 wxWidgets terminology]) with embed toolbar for zooming and paning and maybe data quering and pop-up toolbar for substitution of other d.* modules (d.path, d.profile, ...)&lt;br /&gt;
NOTE: This section should be completed&lt;br /&gt;
** '''Attributes'''&lt;br /&gt;
*** Width&lt;br /&gt;
*** Height&lt;br /&gt;
*** Mouse -- mouse actions, movements, presed buttons etc.&lt;br /&gt;
*** Map -- ''Map'' class&lt;br /&gt;
** ''Methods'' -- just very coarse definition&lt;br /&gt;
*** Zoom -- for zooming and paning&lt;br /&gt;
*** DrawBox -- For box drawing&lt;br /&gt;
*** DrawLine -- For line drawing&lt;br /&gt;
*** DrawPoint -- for points drawing&lt;br /&gt;
&lt;br /&gt;
* '''GisManager''' -- GIS Manager frame&lt;br /&gt;
** '''Attributes''' &lt;br /&gt;
*** Displays -- array with map displayes&lt;br /&gt;
** '''Methods'''&lt;br /&gt;
*** AddDisplay -- Creates new map display&lt;br /&gt;
*** AddLayer -- Adds layer of defined type&lt;br /&gt;
*** EditLayer -- Opens pop-up window with layer attributes definition&lt;br /&gt;
*** ExecuteCommand -- Executes module from command line or menu&lt;br /&gt;
&lt;br /&gt;
* '''GCPDisplay''' -- Special type of MapDisplay with tool for setting GCPs&lt;br /&gt;
* '''HCPDisplay''' -- Special type of MapDisplay with tools for creating configuration files for hardcopy maps&lt;br /&gt;
&lt;br /&gt;
=== Used tools ===&lt;br /&gt;
[http://www.wxpython.org wxPython] seems to be the best tool for &amp;quot;new generation gui&amp;quot;, because of it's multiplatformity and native look&amp;amp;feel on various platforms.&lt;br /&gt;
&lt;br /&gt;
* [http://www.poromenos.org/tutorials/python 10 minute Python tutorial] for programmers of other languages&lt;br /&gt;
&lt;br /&gt;
==== Packages ====&lt;br /&gt;
&lt;br /&gt;
wxPython 2.8 or newer is needed.&lt;br /&gt;
&lt;br /&gt;
* Debian packages: wx2.8 python-wxgtk2.8 python-wxtools wx2.8-i18n&lt;br /&gt;
: (''these don't yet exist at time of writing, check [http://packages.debian.org/cgi-bin/search_packages.pl?exact=0&amp;amp;searchon=names&amp;amp;keywords=python-wxgtk here]'')&lt;br /&gt;
&lt;br /&gt;
* Ubuntu packages: [http://wxpython.wxcommunity.com/apt/ubuntu/ wxcommunity.com]&lt;br /&gt;
&lt;br /&gt;
=== Where to get it ===&lt;br /&gt;
Jachym suggests to move the development to GRASS-Addons subversion repository, until it is &amp;quot;mature enough&amp;quot;. Subversion enables for example to rename files, which could be useful. Current version can be found at https://grasssvn.itc.it/grasssvn/grassaddons/trunk/grassaddons/gui/#_trunk_grassaddons_gui_ and downloaded with command&lt;br /&gt;
&lt;br /&gt;
 svn co https://grasssvn.itc.it/svn/grassaddons/trunk/grassaddons/gui&lt;br /&gt;
&lt;br /&gt;
Write access to the GRASS-Addons SVN is managed by Markus Neteler.&lt;br /&gt;
&lt;br /&gt;
=== Layout Concepts ===&lt;br /&gt;
&lt;br /&gt;
==== Screenshots with proposed shapes ====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
| [[Image:Gism.png]] || [[Image:Gism2.jpeg]]&lt;br /&gt;
|- &lt;br /&gt;
| The wxGlade definition file is avaliable [https://grasssvn.itc.it/grasssvn/grassaddons/trunk/grassaddons/gui/gism.wxg in the subversion repository] || Another proposal by Michael Barton&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Discussion / Comments ====&lt;br /&gt;
&lt;br /&gt;
If the goal is to move toward a single command line interface integrated into the GUI, perhaps we should use the shape of a terminal window as the the shape of the new GIS manager. In this way the layers tree could appear next to the layer attributes in the same way the currently gis.m displays the layer attributes below the tree. The downside to this is having space on the desktop.&lt;br /&gt;
&lt;br /&gt;
Another possibility would be to link the command window to the map display in the shape of an xterm, in this way the gis manager could have a profile shape by default that could easily fit onto a single screen for those without multiple display systems. Another possibility that might be desirable is to be able to 'tear off' the command window separately or link it to either the GIS manager tree or the display window.&lt;br /&gt;
&lt;br /&gt;
It appears in the screen shots that multiple command windows are being considered (1 per map). In some ways this is potentially quite elegant especially if they are set up as separate sessions altogether so we wouldn't need to use win override. What we do encounter is issues related to multiple users which are non-trivial. Still as the layout suggest this it may be worth considering the impact of this, although the current solution in gis.m is probably the best for now.&lt;br /&gt;
&lt;br /&gt;
Please use icons that adhere the [http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines icon style guideline]. They will make Grass look more professional and consistent with other FOSS applications.&lt;br /&gt;
&lt;br /&gt;
Make usability test of the new interface to enshure that Grass will be easy and intuitive for users.&lt;br /&gt;
&lt;br /&gt;
=== GUI History ===&lt;br /&gt;
'''[http://www.public.asu.edu/~cmbarton/files/grass_wxpython/ Link to wxPython prototype GUI for GRASS 6]'''&lt;br /&gt;
&lt;br /&gt;
'''Update 18:02, 14 August 2006 (CEST) '''New version implements double buffered drawing to fix display issues on Debian, including flickering why panning and display being erased by overlaying windows. Output to PNG file added. Better looking zoom rectangles.&lt;br /&gt;
&lt;br /&gt;
'''*****The wxPython code is moving to the GRASS CVS. You should look for the newest versions there. Volunteers to help with the new GUI are welcomed!*****''' [[User:Cmbarton|Cmbarton]]&lt;br /&gt;
&lt;br /&gt;
'''Update 00:50, 9 August 2006 (CEST) '''New version will run directly from GRASS prompt with new startup script. Now put gism.py and associated files into $GISBASE/etc/gmwxp and add a new script (gm.wxp) to the $GISBASE/scripts folder. Then simply type gm.wxp&amp;amp; from the GRASS command prompt to get the new prototype wxPython GUI for GRASS. See instructions in today's package update. [[User:Cmbarton|Cmbarton]]&lt;br /&gt;
&lt;br /&gt;
'''Update 23:59, 7 August 2006 (CEST) '''New version with nearly complete raster menu by Yann Chemin. [[User:Cmbarton|Cmbarton]]&lt;br /&gt;
&lt;br /&gt;
'''Update 19:02, 7 August 2006 (CEST)'''I just uploaded a new version of gism.py and related files. I'll keep an archive and so am changing the link to go to the folder rather than the file itself so I won't have to keep changing the link. This update includes the following changes:&lt;br /&gt;
*The biggest change in wrapping in grassgui.py. This provides autogenerated wxPython GUI dialogs for all grass commands.&lt;br /&gt;
This can now be called from the command console (just type in the command name with no arguments as you do now) or the&lt;br /&gt;
prototype menus. I updated grassgui.py to current wxPython syntax (mostly) and added methods to make it callable from&lt;br /&gt;
other modules.&lt;br /&gt;
*Methods added to gism.py and grassgui.py that automatically restart them with pythonw for the Mac&lt;br /&gt;
--[[User:Cmbarton|Cmbarton]] 19:02, 7 August 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
Initial development has begun on the next generation UI for GRASS. wxPython is the leading contender for a platform in which to continue development of the GRASS GUI. wxPython is a Python implementation of the well known wxWidgets (formerly wxWindows) interface development platform for C++. An initial demonstration was developed by Jachym Cepicky to show the possibility of controling GRASS via wxPython. A second generation prototype has been completed, building on Jachym's work. It is available for testing and further development at link above.&lt;br /&gt;
--[[User:Cmbarton|Cmbarton]] 07:15, 4 August 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
== Components ==&lt;br /&gt;
&lt;br /&gt;
=== Core GIS manager ===&lt;br /&gt;
* name? (does it even need one?)&lt;br /&gt;
&lt;br /&gt;
=== Module GUIs ===&lt;br /&gt;
* Generate from XML --interface-description or new --wxpython switch?&lt;br /&gt;
&lt;br /&gt;
=== Startup GUI ===&lt;br /&gt;
* for picking mapset etc&lt;br /&gt;
&lt;br /&gt;
=== New location GUI ===&lt;br /&gt;
* Wizard for creating new location &amp;amp; region.&lt;br /&gt;
:see QGIS's one&lt;br /&gt;
&lt;br /&gt;
=== Cartography: GUI front end for ps.map ===&lt;br /&gt;
&lt;br /&gt;
* This is a cartographic composer, intended to be a stand alone hardcopy plot generator. It is not meant to be a '''Print''' button for the maps currently displayed in the GIS manager, that will need it own controls.&lt;br /&gt;
&lt;br /&gt;
* The GUI will prepare a semi-WYSIWYG + tree menu controls which can write a ps.map control file, and then run ps.map to create PostScript and PDF output directly. Loading a ps.map control file is harder and can happen later.&lt;br /&gt;
&lt;br /&gt;
* For a start at a Tcl/Tk composer see gui/tcltk/d.m/print.tcl&lt;br /&gt;
&lt;br /&gt;
* Start with most important mapping instructions&lt;br /&gt;
** paper&lt;br /&gt;
** scale&lt;br /&gt;
** maploc&lt;br /&gt;
** rast&lt;br /&gt;
** vects&lt;br /&gt;
** grids&lt;br /&gt;
** scalebar&lt;br /&gt;
** mapinfo&lt;br /&gt;
** text labels&lt;br /&gt;
&lt;br /&gt;
==== Outputs ====&lt;br /&gt;
&lt;br /&gt;
* ps.map instructions file&lt;br /&gt;
* PostScript file [ps.map instructions tmp file]&lt;br /&gt;
* lpr [PostScript tmp file]&lt;br /&gt;
* PDF File (pstopdf? ps2pdf? GNU Ghostscript?) [PostScript tmp file]&lt;br /&gt;
&lt;br /&gt;
==== Inputs ====&lt;br /&gt;
&lt;br /&gt;
* Ability to load in saved ps.map scripts. I consider this to be a low priority, deal with it after map creation is fully functional. Start with scripts saved using the GUI, after that is working expand to load any ps.map instructions file.&lt;br /&gt;
&lt;br /&gt;
=== Georectifier ===&lt;br /&gt;
* Should be a simple port of Michael's tcltk Georectifier for gis.m&lt;br /&gt;
&lt;br /&gt;
=== Digitizer ===&lt;br /&gt;
&lt;br /&gt;
==== Vector ====&lt;br /&gt;
&lt;br /&gt;
* Rewrite v.digit. Replace r.digit (r.in.poly format isn't far from v.in.ascii standard format)&lt;br /&gt;
* v.edit?&lt;br /&gt;
* Integrate d.rast.edit, d.rast.num functionality in another tool?&lt;br /&gt;
* We can use QGIS's digitizer in the interim.&lt;br /&gt;
* When to drop v.digit?&lt;br /&gt;
&lt;br /&gt;
==== Raster ====&lt;br /&gt;
* r.digit (merge with v.digit?)&lt;br /&gt;
* d.rast.edit&lt;br /&gt;
: Idea: get cell center coords and new values from GUI interaction, then pass those through r.in.xyz, and r.patch the new values over the top of the old map.&lt;br /&gt;
&lt;br /&gt;
* merge with Georectifier? (i.points, i.vpoints)&lt;br /&gt;
&lt;br /&gt;
==== Ortho photos ====&lt;br /&gt;
* To replace i.ortho.photo and friends&lt;br /&gt;
&lt;br /&gt;
= Tcl/Tk GUI =&lt;br /&gt;
Screenshots: http://grass.itc.it/grass61/screenshots/index.php&lt;br /&gt;
&lt;br /&gt;
===Draft GUI design specifications===&lt;br /&gt;
&lt;br /&gt;
* See attached file&lt;br /&gt;
&lt;br /&gt;
===Summary of 2005 discussions on next generation UI for GRASS===&lt;br /&gt;
&lt;br /&gt;
* Attached file gives a distillation of several months of emails on the GRASS developers list. It includes a series of desired design features and specifications, along with supporting quotes.&lt;br /&gt;
&lt;br /&gt;
===Compiled emails from 2005 discussions on next generation UI for GRASS===&lt;br /&gt;
&lt;br /&gt;
* Attached file compiles all (or all that I could find) of the late 2005 emails on the GRASS developers list discussing proposed specifications for a next generation GRASS GUI. It is a series of rtm files that group the discussions according to a series of topics.&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GRASS_GUI&amp;diff=4161</id>
		<title>GRASS GUI</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_GUI&amp;diff=4161"/>
		<updated>2007-05-07T21:50:48Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: /* Discussion / Comments */  added whish for inclusion of Tango icons&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Graphical toolkit choice =&lt;br /&gt;
&lt;br /&gt;
* [http://www.wxwidgets.org/wiki/index.php/WxWidgets_Compared_To_Other_Toolkits WxWidgets Compared To Other Toolkits]&lt;br /&gt;
* [http://freshmeat.net/articles/view/928 GUI Toolkits for The X Window System]&lt;br /&gt;
&lt;br /&gt;
== [http://sourceforge.net/softwaremap/trove_list.php Sourceforge.net statistics] ==&lt;br /&gt;
&lt;br /&gt;
* Projects using Python as programming language: 6217&lt;br /&gt;
* Projects using '''GTK+''': 1328&lt;br /&gt;
* Projects using '''GTK+''' graphical library and Python programming language: 348&lt;br /&gt;
* Projects using '''GTK+''' graphical library and Python programming language and '''OpenGL''': 7&lt;br /&gt;
* Projects using '''wxWidgets''': 880&lt;br /&gt;
* Projects using '''wxWidgets''' graphical library and Python programming language: 360&lt;br /&gt;
* Projects using '''wxWidgets''' graphical library and Python programming language and '''OpenGL''': 4&lt;br /&gt;
&lt;br /&gt;
= wxPython GUI =&lt;br /&gt;
&lt;br /&gt;
* Generic [[GRASS and Python]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== General GUI Design ===&lt;br /&gt;
''''' Move into [[GRASS_GUI#Components|Components]] section below '''''&lt;br /&gt;
&lt;br /&gt;
==== User's point of view ====&lt;br /&gt;
* GUI has multiple map displays&lt;br /&gt;
* Each map display has several buttons for basic functions&lt;br /&gt;
** Zooming and Paning&lt;br /&gt;
** Data Quering&lt;br /&gt;
* Each map display will be able to fire up pop-up toolbar with more complicated  and not-so-often-used display functions (substitutions for d.measure, d.profile, d.text, ...)&lt;br /&gt;
* Each map display will be able to fire up pop-up toolbar with v.digit substitution&lt;br /&gt;
* Monitors can be started from the command line and from the GIS Manager&lt;br /&gt;
* Monitors must be able to display following types of layers&lt;br /&gt;
** GRASS Raster&lt;br /&gt;
** GRASS Vector&lt;br /&gt;
** GDAL Raster&lt;br /&gt;
** GDAL Vector&lt;br /&gt;
** WMS Layer from remote server&lt;br /&gt;
** WCS and WFS layers too&lt;br /&gt;
** Text layers&lt;br /&gt;
** Graphics layers&lt;br /&gt;
** Grid&lt;br /&gt;
** Image layers&lt;br /&gt;
** ...&lt;br /&gt;
* GIS Manager is tool for &lt;br /&gt;
** Monitors management and monitor content management &lt;br /&gt;
** Layer look management&lt;br /&gt;
** Modules starting (from integrated command line or menu)&lt;br /&gt;
** Displaying output from modules (G_message, G_warning, G_fatal_error, G_percent)&lt;br /&gt;
* GIS Manager must be able to save and restore session&lt;br /&gt;
* There should be default session file, which will be loaded by default ones GRASS is started with -gui parameter&lt;br /&gt;
* Georectification tool should be part of new GUI. It should be special type of monitor with added GCP function&lt;br /&gt;
* Map Composer should be part of the new GUI. This tool should generate configuration files for hardcopy maps. The configuration files should be either ps.map files or maybe SVG&lt;br /&gt;
&lt;br /&gt;
==== Coder's point of view ====&lt;br /&gt;
NOTE: As I have no coders background, sorry for inept formulated thoughts. --[[User:Jachym|Jachym]] 09:13, 2 February 2007 (CET)&lt;br /&gt;
&lt;br /&gt;
List of suggested classes and their purpose.&lt;br /&gt;
&lt;br /&gt;
* '''Layer''' -- Raster, vector, WMS, whatever layer&lt;br /&gt;
** '''Attributes''' -- Attributes are depending on layer type, but there are also common attributes marked with prefix &amp;quot;l_&amp;quot;  (for 'layer'):&lt;br /&gt;
*** l_type -- vector, raster, wms, text, graph, ...&lt;br /&gt;
*** l_mapfile -- renderd ppm file&lt;br /&gt;
*** l_maskfile -- pgm file with layer's alpha channel&lt;br /&gt;
*** l_active -- layer is active, will be rendered only if True&lt;br /&gt;
*** l_hidden - layer is hidden, will be allways rendered&lt;br /&gt;
*** l_opacity - layer opacity [0-1]&lt;br /&gt;
** '''Methods'''&lt;br /&gt;
*** Render -- runs d.* and similar commands for making content of l_mapfile&lt;br /&gt;
&lt;br /&gt;
* '''Map''' -- Set of layers renderd to single PNG image, ready to display in Map display frame&lt;br /&gt;
** '''Attributes'''&lt;br /&gt;
*** Width -- map width&lt;br /&gt;
*** Height -- map height&lt;br /&gt;
*** Region -- Region boundaries and resolution&lt;br /&gt;
*** Layers -- Array of ''Layer''s displayed in this &amp;quot;map&amp;quot;&lt;br /&gt;
*** MapFile -- path to resulting PNG file with rendered map&lt;br /&gt;
** '''Methods'''&lt;br /&gt;
*** AddRasterLayer -- Adds GRASS-raster layer to list of layers&lt;br /&gt;
*** AddVectorLayer -- Adds GRASS-vector layer to list of layers&lt;br /&gt;
*** Add...Layer -- Adds some type of layer (wms, wfs, text, ...) to list of layers&lt;br /&gt;
*** GetListOfLayers -- Returns array of layers (''active, hidden, type'')&lt;br /&gt;
*** Render -- Creates final PNG image and stores it's path to ''MapFile''&lt;br /&gt;
&lt;br /&gt;
''TSW Comment: perhaps it would be simpler to have AddLayer and pass the type as a parameter. Automatic would be nice, but since it is possible for vector and raster files to have the same name, this wouldn't work. Another option to consider would be to use AddLayer as a base class AddLayerRaster, ... as subclasses. This would make things more modular and theoretically at least, easier to maintain and develop.''&lt;br /&gt;
&lt;br /&gt;
''JC Comment: I made separate functions for raster and vector, because of their attributes are completely different. There should be also AddWMSLayer etc. functions. IMHO it does not matter, if we have general AddLayer with parameter layer_type, or separate functions for all layer types.''&lt;br /&gt;
&lt;br /&gt;
* '''DigitToolbar''' -- Pop-up toolbar with digitising functions&lt;br /&gt;
* '''DisplayToolBar''' -- Pop-up toolbar with substitution of other d.* modules&lt;br /&gt;
&lt;br /&gt;
* '''MapDisplay''' -- Frame (in [http://wiki.wxpython.org/index.cgi/Frequently_Asked_Questions#head-829eea79fe17c04c65c00a7dc0bffa69f2473167 wxWidgets terminology]) with embed toolbar for zooming and paning and maybe data quering and pop-up toolbar for substitution of other d.* modules (d.path, d.profile, ...)&lt;br /&gt;
NOTE: This section should be completed&lt;br /&gt;
** '''Attributes'''&lt;br /&gt;
*** Width&lt;br /&gt;
*** Height&lt;br /&gt;
*** Mouse -- mouse actions, movements, presed buttons etc.&lt;br /&gt;
*** Map -- ''Map'' class&lt;br /&gt;
** ''Methods'' -- just very coarse definition&lt;br /&gt;
*** Zoom -- for zooming and paning&lt;br /&gt;
*** DrawBox -- For box drawing&lt;br /&gt;
*** DrawLine -- For line drawing&lt;br /&gt;
*** DrawPoint -- for points drawing&lt;br /&gt;
&lt;br /&gt;
* '''GisManager''' -- GIS Manager frame&lt;br /&gt;
** '''Attributes''' &lt;br /&gt;
*** Displays -- array with map displayes&lt;br /&gt;
** '''Methods'''&lt;br /&gt;
*** AddDisplay -- Creates new map display&lt;br /&gt;
*** AddLayer -- Adds layer of defined type&lt;br /&gt;
*** EditLayer -- Opens pop-up window with layer attributes definition&lt;br /&gt;
*** ExecuteCommand -- Executes module from command line or menu&lt;br /&gt;
&lt;br /&gt;
* '''GCPDisplay''' -- Special type of MapDisplay with tool for setting GCPs&lt;br /&gt;
* '''HCPDisplay''' -- Special type of MapDisplay with tools for creating configuration files for hardcopy maps&lt;br /&gt;
&lt;br /&gt;
=== Used tools ===&lt;br /&gt;
[http://www.wxpython.org wxPython] seems to be the best tool for &amp;quot;new generation gui&amp;quot;, because of it's multiplatformity and native look&amp;amp;feel on various platforms.&lt;br /&gt;
&lt;br /&gt;
* [http://www.poromenos.org/tutorials/python 10 minute Python tutorial] for programmers of other languages&lt;br /&gt;
&lt;br /&gt;
==== Packages ====&lt;br /&gt;
&lt;br /&gt;
wxPython 2.8 or newer is needed.&lt;br /&gt;
&lt;br /&gt;
* Debian packages: wx2.8 python-wxgtk2.8 python-wxtools wx2.8-i18n&lt;br /&gt;
: (''these don't yet exist at time of writing, check [http://packages.debian.org/cgi-bin/search_packages.pl?exact=0&amp;amp;searchon=names&amp;amp;keywords=python-wxgtk here]'')&lt;br /&gt;
&lt;br /&gt;
* Ubuntu packages: [http://wxpython.wxcommunity.com/apt/ubuntu/ wxcommunity.com]&lt;br /&gt;
&lt;br /&gt;
=== Where to get it ===&lt;br /&gt;
Jachym suggests to move the development to GRASS-Addons subversion repository, until it is &amp;quot;mature enough&amp;quot;. Subversion enables for example to rename files, which could be useful. Current version can be found at https://grasssvn.itc.it/grasssvn/grassaddons/trunk/grassaddons/gui/#_trunk_grassaddons_gui_ and downloaded with command&lt;br /&gt;
&lt;br /&gt;
 svn co https://grasssvn.itc.it/svn/grassaddons/trunk/grassaddons/gui&lt;br /&gt;
&lt;br /&gt;
Write access to the GRASS-Addons SVN is managed by Markus Neteler.&lt;br /&gt;
&lt;br /&gt;
=== Layout Concepts ===&lt;br /&gt;
&lt;br /&gt;
==== Screenshots with proposed shapes ====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
| [[Image:Gism.png]] || [[Image:Gism2.jpeg]]&lt;br /&gt;
|- &lt;br /&gt;
| The wxGlade definition file is avaliable [https://grasssvn.itc.it/grasssvn/grassaddons/trunk/grassaddons/gui/gism.wxg in the subversion repository] || Another proposal by Michael Barton&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Discussion / Comments ====&lt;br /&gt;
&lt;br /&gt;
If the goal is to move toward a single command line interface integrated into the GUI, perhaps we should use the shape of a terminal window as the the shape of the new GIS manager. In this way the layers tree could appear next to the layer attributes in the same way the currently gis.m displays the layer attributes below the tree. The downside to this is having space on the desktop.&lt;br /&gt;
&lt;br /&gt;
Another possibility would be to link the command window to the map display in the shape of an xterm, in this way the gis manager could have a profile shape by default that could easily fit onto a single screen for those without multiple display systems. Another possibility that might be desirable is to be able to 'tear off' the command window separately or link it to either the GIS manager tree or the display window.&lt;br /&gt;
&lt;br /&gt;
It appears in the screen shots that multiple command windows are being considered (1 per map). In some ways this is potentially quite elegant especially if they are set up as separate sessions altogether so we wouldn't need to use win override. What we do encounter is issues related to multiple users which are non-trivial. Still as the layout suggest this it may be worth considering the impact of this, although the current solution in gis.m is probably the best for now.&lt;br /&gt;
&lt;br /&gt;
Please use icons that adhere the [http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines icon style guideline]. They will make Grass look more professional and consistent with other FOSS applications.&lt;br /&gt;
&lt;br /&gt;
=== GUI History ===&lt;br /&gt;
'''[http://www.public.asu.edu/~cmbarton/files/grass_wxpython/ Link to wxPython prototype GUI for GRASS 6]'''&lt;br /&gt;
&lt;br /&gt;
'''Update 18:02, 14 August 2006 (CEST) '''New version implements double buffered drawing to fix display issues on Debian, including flickering why panning and display being erased by overlaying windows. Output to PNG file added. Better looking zoom rectangles.&lt;br /&gt;
&lt;br /&gt;
'''*****The wxPython code is moving to the GRASS CVS. You should look for the newest versions there. Volunteers to help with the new GUI are welcomed!*****''' [[User:Cmbarton|Cmbarton]]&lt;br /&gt;
&lt;br /&gt;
'''Update 00:50, 9 August 2006 (CEST) '''New version will run directly from GRASS prompt with new startup script. Now put gism.py and associated files into $GISBASE/etc/gmwxp and add a new script (gm.wxp) to the $GISBASE/scripts folder. Then simply type gm.wxp&amp;amp; from the GRASS command prompt to get the new prototype wxPython GUI for GRASS. See instructions in today's package update. [[User:Cmbarton|Cmbarton]]&lt;br /&gt;
&lt;br /&gt;
'''Update 23:59, 7 August 2006 (CEST) '''New version with nearly complete raster menu by Yann Chemin. [[User:Cmbarton|Cmbarton]]&lt;br /&gt;
&lt;br /&gt;
'''Update 19:02, 7 August 2006 (CEST)'''I just uploaded a new version of gism.py and related files. I'll keep an archive and so am changing the link to go to the folder rather than the file itself so I won't have to keep changing the link. This update includes the following changes:&lt;br /&gt;
*The biggest change in wrapping in grassgui.py. This provides autogenerated wxPython GUI dialogs for all grass commands.&lt;br /&gt;
This can now be called from the command console (just type in the command name with no arguments as you do now) or the&lt;br /&gt;
prototype menus. I updated grassgui.py to current wxPython syntax (mostly) and added methods to make it callable from&lt;br /&gt;
other modules.&lt;br /&gt;
*Methods added to gism.py and grassgui.py that automatically restart them with pythonw for the Mac&lt;br /&gt;
--[[User:Cmbarton|Cmbarton]] 19:02, 7 August 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
Initial development has begun on the next generation UI for GRASS. wxPython is the leading contender for a platform in which to continue development of the GRASS GUI. wxPython is a Python implementation of the well known wxWidgets (formerly wxWindows) interface development platform for C++. An initial demonstration was developed by Jachym Cepicky to show the possibility of controling GRASS via wxPython. A second generation prototype has been completed, building on Jachym's work. It is available for testing and further development at link above.&lt;br /&gt;
--[[User:Cmbarton|Cmbarton]] 07:15, 4 August 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
== Components ==&lt;br /&gt;
&lt;br /&gt;
=== Core GIS manager ===&lt;br /&gt;
* name? (does it even need one?)&lt;br /&gt;
&lt;br /&gt;
=== Module GUIs ===&lt;br /&gt;
* Generate from XML --interface-description or new --wxpython switch?&lt;br /&gt;
&lt;br /&gt;
=== Startup GUI ===&lt;br /&gt;
* for picking mapset etc&lt;br /&gt;
&lt;br /&gt;
=== New location GUI ===&lt;br /&gt;
* Wizard for creating new location &amp;amp; region.&lt;br /&gt;
:see QGIS's one&lt;br /&gt;
&lt;br /&gt;
=== Cartography: GUI front end for ps.map ===&lt;br /&gt;
&lt;br /&gt;
* This is a cartographic composer, intended to be a stand alone hardcopy plot generator. It is not meant to be a '''Print''' button for the maps currently displayed in the GIS manager, that will need it own controls.&lt;br /&gt;
&lt;br /&gt;
* The GUI will prepare a semi-WYSIWYG + tree menu controls which can write a ps.map control file, and then run ps.map to create PostScript and PDF output directly. Loading a ps.map control file is harder and can happen later.&lt;br /&gt;
&lt;br /&gt;
* For a start at a Tcl/Tk composer see gui/tcltk/d.m/print.tcl&lt;br /&gt;
&lt;br /&gt;
* Start with most important mapping instructions&lt;br /&gt;
** paper&lt;br /&gt;
** scale&lt;br /&gt;
** maploc&lt;br /&gt;
** rast&lt;br /&gt;
** vects&lt;br /&gt;
** grids&lt;br /&gt;
** scalebar&lt;br /&gt;
** mapinfo&lt;br /&gt;
** text labels&lt;br /&gt;
&lt;br /&gt;
==== Outputs ====&lt;br /&gt;
&lt;br /&gt;
* ps.map instructions file&lt;br /&gt;
* PostScript file [ps.map instructions tmp file]&lt;br /&gt;
* lpr [PostScript tmp file]&lt;br /&gt;
* PDF File (pstopdf? ps2pdf? GNU Ghostscript?) [PostScript tmp file]&lt;br /&gt;
&lt;br /&gt;
==== Inputs ====&lt;br /&gt;
&lt;br /&gt;
* Ability to load in saved ps.map scripts. I consider this to be a low priority, deal with it after map creation is fully functional. Start with scripts saved using the GUI, after that is working expand to load any ps.map instructions file.&lt;br /&gt;
&lt;br /&gt;
=== Georectifier ===&lt;br /&gt;
* Should be a simple port of Michael's tcltk Georectifier for gis.m&lt;br /&gt;
&lt;br /&gt;
=== Digitizer ===&lt;br /&gt;
&lt;br /&gt;
==== Vector ====&lt;br /&gt;
&lt;br /&gt;
* Rewrite v.digit. Replace r.digit (r.in.poly format isn't far from v.in.ascii standard format)&lt;br /&gt;
* v.edit?&lt;br /&gt;
* Integrate d.rast.edit, d.rast.num functionality in another tool?&lt;br /&gt;
* We can use QGIS's digitizer in the interim.&lt;br /&gt;
* When to drop v.digit?&lt;br /&gt;
&lt;br /&gt;
==== Raster ====&lt;br /&gt;
* r.digit (merge with v.digit?)&lt;br /&gt;
* d.rast.edit&lt;br /&gt;
: Idea: get cell center coords and new values from GUI interaction, then pass those through r.in.xyz, and r.patch the new values over the top of the old map.&lt;br /&gt;
&lt;br /&gt;
* merge with Georectifier? (i.points, i.vpoints)&lt;br /&gt;
&lt;br /&gt;
==== Ortho photos ====&lt;br /&gt;
* To replace i.ortho.photo and friends&lt;br /&gt;
&lt;br /&gt;
= Tcl/Tk GUI =&lt;br /&gt;
Screenshots: http://grass.itc.it/grass61/screenshots/index.php&lt;br /&gt;
&lt;br /&gt;
===Draft GUI design specifications===&lt;br /&gt;
&lt;br /&gt;
* See attached file&lt;br /&gt;
&lt;br /&gt;
===Summary of 2005 discussions on next generation UI for GRASS===&lt;br /&gt;
&lt;br /&gt;
* Attached file gives a distillation of several months of emails on the GRASS developers list. It includes a series of desired design features and specifications, along with supporting quotes.&lt;br /&gt;
&lt;br /&gt;
===Compiled emails from 2005 discussions on next generation UI for GRASS===&lt;br /&gt;
&lt;br /&gt;
* Attached file compiles all (or all that I could find) of the late 2005 emails on the GRASS developers list discussing proposed specifications for a next generation GRASS GUI. It is a series of rtm files that group the discussions according to a series of topics.&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Contact_Databases&amp;diff=4105</id>
		<title>Contact Databases</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Contact_Databases&amp;diff=4105"/>
		<updated>2007-04-21T09:33:52Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: /* German: */  added Kiel University&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Contact Database=&lt;br /&gt;
&lt;br /&gt;
Here we can collect all contacts where we can send press releases. I will build a webbased formular later. &lt;br /&gt;
The following is ordered by language.&lt;br /&gt;
&lt;br /&gt;
==English==&lt;br /&gt;
*[http://www.slashgeo.org slashgeo] (online)&lt;br /&gt;
&lt;br /&gt;
==German==&lt;br /&gt;
*c't (print / online)&lt;br /&gt;
&lt;br /&gt;
presse_at_ct.heise.de&lt;br /&gt;
&lt;br /&gt;
*[http://www.harzer.de www.harzer.de] (online)&lt;br /&gt;
news_at_geobranchen.de&lt;br /&gt;
&lt;br /&gt;
* Universities&lt;br /&gt;
&lt;br /&gt;
** [http://www.gis.uni-kiel.de/index.phtml LearnGIS]: Giszentrum der Universität Kiel&lt;br /&gt;
&lt;br /&gt;
=Translators=&lt;br /&gt;
Please add yourself here (should be more than one for every language).&lt;br /&gt;
&lt;br /&gt;
==German==&lt;br /&gt;
* Malte Halbey-Martin&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[Category:Promotion]]&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GRASS_promotion_team&amp;diff=3988</id>
		<title>GRASS promotion team</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_promotion_team&amp;diff=3988"/>
		<updated>2007-03-27T13:32:18Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: add pages for &amp;quot;Case Histories of GRASS adoption&amp;quot;: publications and use cases. maybe this could come on a more prominent page in the wiki?&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=GRASS Promotion=&lt;br /&gt;
Here can the GRASS promotion team coordinate its work.&lt;br /&gt;
&lt;br /&gt;
'''Where can we get some ressources (financial or support) to print the brochures'''&lt;br /&gt;
&lt;br /&gt;
= Todo (add yourself) =&lt;br /&gt;
== As soon as possible ==&lt;br /&gt;
1. [[Grassbrochure]] (Latex based for easy translation) [Malte Halbey-Martin]&lt;br /&gt;
&lt;br /&gt;
2. [[Technical Data sheet]] (maybe second side of the brochure)&lt;br /&gt;
&lt;br /&gt;
3. Newbie friendly tutorial&lt;br /&gt;
* Update Lorzeno Moretti's &amp;quot;''[http://wwwamb.bologna.enea.it/forgrass/documents/Grass-6-Visual-Tutorial.pdf Visual Tutorial for GRASS 6]''&amp;quot;?&lt;br /&gt;
* [[GRASS_Help#First_Day_Documentation|First day documentation]]&lt;br /&gt;
&lt;br /&gt;
4. Live CD (maintenance to keep uptodate,)&lt;br /&gt;
* OSGeo viscom team hopes that they will have a fancy promo CD soon ''We should wait for that one''&lt;br /&gt;
* Maybe together with OSGEo Viscom to create a FOSSGIS presentation CD &lt;br /&gt;
* [http://ldap.telascience.org/foss4g/ FOSS4G2006 Lausanne/Switzerland ''GRASS Workshop LiveCD 2006'']&lt;br /&gt;
* Others: http://grass.ibiblio.org/download/cdrom.php&lt;br /&gt;
&lt;br /&gt;
5. Find some funding for printing the brochure&lt;br /&gt;
* German GRASS user group offers some funding&lt;br /&gt;
* How much is needed?&lt;br /&gt;
&lt;br /&gt;
''Depends on the quality &amp;amp; number of flyers we want to order''&lt;br /&gt;
''I found one shop where we can get 2500 flyer for about 170 - 270 € (aprox. 225 - 355 US $. depending on paper/colors...)''&lt;br /&gt;
* Find a way to spread the flyer&lt;br /&gt;
&lt;br /&gt;
== Later or synchronous == &lt;br /&gt;
* &amp;lt;strike&amp;gt;Newbie Forum&amp;lt;/strike&amp;gt; (done)&lt;br /&gt;
* Contact Databases&lt;br /&gt;
* Case Histories of GRASS adoption (?)&lt;br /&gt;
** [[Publications|Publications made with GRASS]]: on this page publications made with GRASS should be listened&lt;br /&gt;
** [[Use Cases|Use Cases successful applications with GRASS]]&lt;br /&gt;
* Nice Posters with applications where GRASS hass been adopted&lt;br /&gt;
* workaround of [http://www.osgeo.org/grass http://www.osgeo.org/grass]&lt;br /&gt;
* Maybe offer some stuff on coffeepress (?)&lt;br /&gt;
* Stickers, just an idea: [http://www.perlomat.de/headlogo_bg.png www.perlomat.de/headlogo_bg.png]&lt;br /&gt;
&lt;br /&gt;
= People (add yourself here) =&lt;br /&gt;
* Malte Halbey-Martin (maltehalbey on irc): email malte [at] geog.fu-berlin.de&lt;br /&gt;
* Ominiverdi ( doktoreas or ominoverde on irc ) : email info [at] ominiverdi.org&lt;br /&gt;
* Chip Mefford (cpm on irc) : email cpm [at] daviswv.net or cpm [at] well.com&lt;br /&gt;
* Carlos Grohmann: email carlos.grohmann [at] gmail.com&lt;br /&gt;
&lt;br /&gt;
[[Category:Promotion]]&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Publications&amp;diff=3987</id>
		<title>Publications</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Publications&amp;diff=3987"/>
		<updated>2007-03-27T13:29:24Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: first entry: PVGIS&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;On this page publications made with the help of GRASS could be listed:&lt;br /&gt;
&lt;br /&gt;
* [http://re.jrc.ec.europa.eu/pvgis/index.htm PVGIS: Geographical Assessment of Solar Energy Resource and Photovoltaic Technology]&lt;br /&gt;
** [http://re.jrc.ec.europa.eu/pvgis/imaps/index.htm Interactive maps]: result maps&lt;br /&gt;
** [http://re.jrc.ec.europa.eu/pvgis/solres/solrespvgis.htm PVGIS]: information on the methodology&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GRASS_promotion_team&amp;diff=3985</id>
		<title>GRASS promotion team</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_promotion_team&amp;diff=3985"/>
		<updated>2007-03-27T13:26:06Z</updated>

		<summary type="html">&lt;p&gt;⚠️Timmie: /* Later or synchronous */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=GRASS Promotion=&lt;br /&gt;
Here can the GRASS promotion team coordinate its work.&lt;br /&gt;
&lt;br /&gt;
'''Where can we get some ressources (financial or support) to print the brochures'''&lt;br /&gt;
&lt;br /&gt;
= Todo (add yourself) =&lt;br /&gt;
== As soon as possible ==&lt;br /&gt;
1. [[Grassbrochure]] (Latex based for easy translation) [Malte Halbey-Martin]&lt;br /&gt;
&lt;br /&gt;
2. [[Technical Data sheet]] (maybe second side of the brochure)&lt;br /&gt;
&lt;br /&gt;
3. Newbie friendly tutorial&lt;br /&gt;
* Update Lorzeno Moretti's &amp;quot;''[http://wwwamb.bologna.enea.it/forgrass/documents/Grass-6-Visual-Tutorial.pdf Visual Tutorial for GRASS 6]''&amp;quot;?&lt;br /&gt;
* [[GRASS_Help#First_Day_Documentation|First day documentation]]&lt;br /&gt;
&lt;br /&gt;
4. Live CD (maintenance to keep uptodate,)&lt;br /&gt;
* OSGeo viscom team hopes that they will have a fancy promo CD soon ''We should wait for that one''&lt;br /&gt;
* Maybe together with OSGEo Viscom to create a FOSSGIS presentation CD &lt;br /&gt;
* [http://ldap.telascience.org/foss4g/ FOSS4G2006 Lausanne/Switzerland ''GRASS Workshop LiveCD 2006'']&lt;br /&gt;
* Others: http://grass.ibiblio.org/download/cdrom.php&lt;br /&gt;
&lt;br /&gt;
5. Find some funding for printing the brochure&lt;br /&gt;
* German GRASS user group offers some funding&lt;br /&gt;
* How much is needed?&lt;br /&gt;
&lt;br /&gt;
''Depends on the quality &amp;amp; number of flyers we want to order''&lt;br /&gt;
''I found one shop where we can get 2500 flyer for about 170 - 270 € (aprox. 225 - 355 US $. depending on paper/colors...)''&lt;br /&gt;
* Find a way to spread the flyer&lt;br /&gt;
&lt;br /&gt;
== Later or synchronous == &lt;br /&gt;
* &amp;lt;strike&amp;gt;Newbie Forum&amp;lt;/strike&amp;gt; (done)&lt;br /&gt;
* Contact Databases&lt;br /&gt;
* Case Histories of GRASS adoption (?)&lt;br /&gt;
** [[Publications|Publications made with GRASS]]&lt;br /&gt;
** [[Use Cases|Use Cases successful applications with GRASS]]&lt;br /&gt;
* Nice Posters with applications where GRASS hass been adopted&lt;br /&gt;
* workaround of [http://www.osgeo.org/grass http://www.osgeo.org/grass]&lt;br /&gt;
* Maybe offer some stuff on coffeepress (?)&lt;br /&gt;
* Stickers, just an idea: [http://www.perlomat.de/headlogo_bg.png www.perlomat.de/headlogo_bg.png]&lt;br /&gt;
&lt;br /&gt;
= People (add yourself here) =&lt;br /&gt;
* Malte Halbey-Martin (maltehalbey on irc): email malte [at] geog.fu-berlin.de&lt;br /&gt;
* Ominiverdi ( doktoreas or ominoverde on irc ) : email info [at] ominiverdi.org&lt;br /&gt;
* Chip Mefford (cpm on irc) : email cpm [at] daviswv.net or cpm [at] well.com&lt;br /&gt;
* Carlos Grohmann: email carlos.grohmann [at] gmail.com&lt;br /&gt;
&lt;br /&gt;
[[Category:Promotion]]&lt;/div&gt;</summary>
		<author><name>⚠️Timmie</name></author>
	</entry>
</feed>