How to install postgis2.0 on Debian6.0 and with Postgressql9.1 ? Didn't find any good repository ? Do you have to go all the way and compile ?
sudo su in a terminal window and then sudo apt-get install postgis postgresql-9.1 That should work.
I am using debian wheezy. SMP Debian 3.2.57-3+deb7u2 x86_64 GNU/Linux I followed the instructions from the postgres website to upgrade both postgresql and postgis as follows:
Create /etc/apt/sources.list.d/pgdg.list. The distributions are called codename-pgdg. In the example, replace wheezy with the actual distribution you are using:
deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main
(You may determine the codename of your distribution by running lsb_release -c.)
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - sudo apt-get update sudo apt-get upgrade sudo apt-get install postgresql-9.3 pgadmin3 sudo apt-get install postgis-2.1