I do follow your instruction. I successfully install postgis, but I can't find postgis.sql under any folder. My postgresql installed by apt-get. After apt-get postgis, What should I to do? Only execute sql in postgis.sql? Joshua D. Drake wrote: > > On Wed, 2009-09-02 at 22:23 +0530, Sachin Srivastava wrote: >> On 09/02/2009 08:20 PM, shane_china wrote: >> > I want to know is there any way can install postgis for postgresql so >> easily, >> > just like one click bin on Ubuntu using command line? > > sudo apt-get install postgresql-8.3-postgis > > Then there will likely be something to the affect of: > > psql -U <user> <db> < /usr/share/postgresql/8.3/contrib/postgis.sql (or > something like that) > > Joshua D. Drake > > > -- > PostgreSQL.org Major Contributor > Command Prompt, Inc: http://www.commandprompt.com/ - 503.667.4564 > Consulting, Training, Support, Custom Development, Engineering > > > > -- > Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-general > > -- View this message in context: http://www.nabble.com/install-postgis-in-linux-server-without-desktop-tp25258662p25267637.html Sent from the PostgreSQL - general mailing list archive at Nabble.com. -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general