Installing PostGIS on Ubuntu 18.04 x86_64

前提条件

インストールプロセスを開始する前に:

  • 同じホストにEDB Postgres Advanced Serverをインストールします。

    Installing EDB Postgres Advanced Server を参照してください。

  • リポジトリをセットアップする

リポジトリーの設定は1回限りのタスクです。リポジトリを既に設定している場合、この手順を実行する必要はありません。

リポジトリをセットアップするには、

EDB repositories に移動し、そこに表示される指示に従います。

パッケージをインストールする

#  To install PostGIS 3.2 using EDB Postgres Advanced Server 13-14:

sudo apt-get -y install edb-as<xx>-postgis32

#  To install PostGIS 3.2 using EDB Postgres Advanced Server 11-12:

sudo apt-get -y install edb-as<xx>-postgis-3.2

#  To install PostGIS 3.1 using EDB Postgres Advanced Server 13-14:

sudo apt-get -y install edb-as<xx>-postgis3

#  To install PostGIS 3.1 using EDB Postgres Advanced Server 11-12:

sudo apt-get -y install edb-as<xx>-postgis-3.1

<xx> はEDB Postgres Advanced Serverのバージョンです。 <xx> を、使用しているEDB Postgres Advanced Serverのバージョンに置き換えます。たとえば、edb-as14-postgis32 。