On Ubuntu 7.10
Open console, execute following command:
sudo apt-get install postgresql-8.2 postgresql-client-8.2 postgresql-client-common postgresql-common postgresql-server-dev-8.2 postgresql-contrib-8.2 libgeos-dev proj postgis postgresql-8.2-postgis
Note: /usr/lib/postgresql/8.2/lib ---> directory contains file liblwgeom.so
On Ubuntu 7.04
1. Open console, execute following command:
sudo apt-get install postgresql-8.2 postgresql-client-8.2 postgresql-client-common postgresql-common postgresql-server-dev-8.2 postgresql-contrib-8.2 libgeos-dev proj flex postgis
2. Download postgis-1.3.x.tar.gz and decompress.
3. Execute following commands:
cd ${postgis-1.3.x}
./configure
Result:
SUMMARY
-------------------------------------------------------
HOST_OS: linux-gnu
PGSQL: /usr/bin/pg_config
GEOS: /usr/bin/geos-config (with C-API)
(ldflags: -L/usr/lib)
PROJ: prefix=/usr libdir=/usr/lib
ICONV: 1
PORTNAME: linux
PREFIX: /usr
EPREFIX: ${prefix}
DOC: /usr/share/doc/postgresql-doc-8.2/contrib
DATA: ${datarootdir}
MAN: ${datarootdir}/man
BIN: /usr/lib/postgresql/8.2/bin
EXT: /usr/lib/postgresql/8.2/lib (\$$libdir)
-------------------------------------------------------
Note: EXT: /usr/lib/postgresql/8.2/lib ---> directory contains file liblwgeom.so
4. Compile & Install
make
sudo make install
Wednesday, 3 October 2007
Install PostgreSQL 8.2 with PostGIS on Ubuntu
Subscribe to:
Post Comments (Atom)
1 comment:
Nice article as for me. Thank you for posting this information.
Fill Torson
sattelite jammer
Post a Comment