Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/creepy-pasta101/postgis-termux

Its a short script to install postgis plugin for termux.
https://github.com/creepy-pasta101/postgis-termux

Last synced: 3 days ago
JSON representation

Its a short script to install postgis plugin for termux.

Awesome Lists containing this project

README

        

# Postgis-termux
Its a short script to install postgis plugin for termux.

Copy this script and runπŸ‘πŸ‘

```
pkg install build-essential
pkg install wget curl libiconv postgresql libxml2 libsqlite readline libiconv proj libgeos json-c libprotobuf-c gdal
wget https://download.osgeo.org/postgis/source/postgis-3.1.0.tar.gz
tar xfz postgis-3.1.0.tar.gz
cd postgis-3.1.0
./configure --prefix=$PREFIX --with-projdir=$PREFIX
make -j8
make install
mkdir -p $PREFIX/var/lib/postgresql
initdb $PREFIX/var/lib/postgresql
pg_ctl -D $PREFIX/var/lib/postgresql start
psql -l
createdb gis
```
Now you can also install it by
```
wget https://github.com/suhan-paradkar/Postgis-termux/releases/download/v3.1.0/postgis-plugin_3.1.0.0_all.deb
dpkg -i postgis-plugin_3.1.0.0_all.deb
```

Thanks for @seabre to come up with itπŸ‘