Monday, August 10, 2015

postgresql - Setting up PostGIS on Ubuntu Server 9.04?



Ubuntu Server 9.04 comes with PostgreSQL 8.3 installed. This is working correctly; I am able to log in, list the databases, etc.




I have tried to follow the instructions here for installing PostGIS, including a sudo apt-get install postgis. This appeared to install version 1.3 of PostGIS okay, but then doing a locate lwpostgis.sql or locate postgis didn't return any results. Since I was unable to locate these .sql files, I was unable to continue with the installation guide.


Answer



You need to install postgresql-8.3-postgis.



The 1.3 release is quite old: You might want to install potgis 1.4 or even better 1.5 from source, but then you have to compile proj and geos first.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...