How to upgrade to Postgis 2.4.4
To upgrade postgis, you need download the tarball and compile it: wget https://download.osgeo.org/postgis/source/postgis-2.4.4.tar.gz tar xvzf postgis-2.4.4.tar.gz cd postgis-2.4.4 ./configure configure: WARNING: --------- GEOS VERSION WARNING ------------ configure: WARNING: You are building against GEOS 3.5.1 configure: WARNING: To take advantage of all the features of configure: WARNING: this PostGIS version requires GEOS 3.7.0 or higher which is not out yet. configure: WARNING: To take advantage of most of the features of this PostGIS configure: WARNING: we recommend GEOS 3.6 or higher configure: WARNING: You can download the latest versions from configure: WARNING: http://trac.osgeo.org/geos We need to install the lastest geos version cd .. wget http://download.osgeo.org/geos/geos-3.7.0rc1.tar.bz2 tar xjvf geos-3.7.0rc1.tar.bz2 cd geos-3.7.0rc1 ./configure make -j4; sudo make install Now, come back to postgis to finish the configuration