  
  In addition, the SQL files for PostGIS are placed in a different location on
  Debian 5.0 . Thus when :ref:`spatialdb_template` either:
  
  * Create a symbolic link to these files::
  
      $ sudo ln -s /usr/share/postgresql-8.3-postgis/{lwpostgis,spatial_ref_sys}.sql \
          /usr/share/postgresql/8.3
  
    If not running PostgreSQL 8.3, then  replace ``8.3`` in the command above with the correct version.
 
</s> remove can be created (and started) with the following command::
 </s> add can be created (and started) with the following command:

.. code-block:: bash </s> remove     install it yourself::
 </s> add     install it yourself:

    .. code-block:: bash </s> remove is very similar::
 </s> add is very similar:

.. code-block:: bash </s> remove the development tools necessary to build the rest of the requirements::
 </s> add the development tools necessary to build the rest of the requirements:

.. code-block:: bash </s> remove Use the synaptic package manager to install the following packages::
 </s> add Use the synaptic package manager to install the following packages:

.. code-block:: bash
* Create a symbolic link to these files:

.. code-block:: bash
  
  In addition, the SQL files for PostGIS are placed in a different location on
  Debian 5.0 . Thus when :ref:`spatialdb_template` either:
  
* Create a symbolic link to these files:

.. code-block:: bash
  
      $ sudo ln -s /usr/share/postgresql-8.3-postgis/{lwpostgis,spatial_ref_sys}.sql \
          /usr/share/postgresql/8.3
  
    If not running PostgreSQL 8.3, then  replace ``8.3`` in the command above with the correct version.
keep keep keep keep replace keep keep keep keep keep
 Fixed #17893 -- Added GeoDjango installation instructions for Ubuntu 11.10. Thanks jpaulett for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17768 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
docs/ref/contrib/gis/install.txt