3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Raspberry Pi OSにPostgreSQL 13 / PostGIS 3 をインストールメモ

Posted at

Raspberry Pi OSを最新にアップデート

sudo apt update
sudo apt full-upgrade

念の為再起動

sudo reboot

PostgreSQL 13のリポジトリを追加

wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" |sudo tee  /etc/apt/sources.list.d/pgdg.list
sudo apt update
sudo apt install postgresql-13 postgresql-client-13 postgresql-13-postgis-3

接続

sudo su - postgres
psql

PostGISエクステンションの追加

postgres=# create extension postgis;
3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?