# postgis を Homebrew, apk, apt, dnf, MacPorts, pacman, zypper でインストール

postgis のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:postgis
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install postgis
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install postgis
```

  証拠: MacPorts ports tree: databases/postgis/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add postgis
```

  証拠: Alpine Linux edge package indexes: postgis from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install postgis
```

  証拠: Debian stable package indexes: postgis from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install postgis
```

  証拠: Fedora Rawhide package metadata: postgis from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S postgis
```

  証拠: Arch Linux sync databases: postgis from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install postgresql14-postgis
```

  証拠: openSUSE Tumbleweed package metadata: postgresql14-postgis from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:postgis
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/postgis>
- **バージョン:** 3.6.4
- **ソース概要:** Adds support for geographic objects to PostgreSQL
- **ホームページ:** <https://postgis.net/>
- **上流ドキュメント:** <https://postgis.net/>
- **ライセンス:** GPL-2.0-or-later
- **ソースアーカイブ:** <https://download.osgeo.org/postgis/source/postgis-3.6.4.tar.gz>
- **最終更新:** 2026-08-02T12:51:37+01:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- create_upgrade.pl (cli)
- pgsql2shp (cli)
- pgtopo_export (cli)
- pgtopo_import (cli)
- postgis (cli)
- postgis_restore (cli)
- profile_intersects.pl (cli)
- raster2pgsql (cli)
- shp2pgsql (cli)
- test_estimation.pl (cli)
- test_geography_estimation.pl (cli)
- test_geography_joinestimation.pl (cli)
- test_joinestimation.pl (cli)
- create_upgrade.pl (エイリアス)
- pgsql2shp (エイリアス)
- pgtopo_export (エイリアス)
- pgtopo_import (エイリアス)
- postgis (エイリアス)
- postgis_restore (エイリアス)
- profile_intersects.pl (エイリアス)
- raster2pgsql (エイリアス)
- shp2pgsql (エイリアス)
- test_estimation.pl (エイリアス)
- test_geography_estimation.pl (エイリアス)
- test_geography_joinestimation.pl (エイリアス)
- test_joinestimation.pl (エイリアス)

## 依存関係

- gdal
- geos
- gettext
- icu4c@78
- json-c
- libpq
- libxml2
- pcre2
- proj
- protobuf-c
- sfcgal

## ビルド依存関係

- pkgconf
- postgresql@17
- postgresql@18

## macOS 提供ライブラリ

- perl

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 3.6.4
- マネージャ更新日: 2026-08-02
- ローカルデータ: OK
- 上流リポジトリ: https://postgis.net/
- 情報: Release/tag comparison is only available for GitHub repositories.

## セキュリティノート

postgis に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、パッケージメタデータはここに公開されています。


## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** postgis
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 他のパッケージマネージャ記録

- Debian apt - postgis - 3.5.2+dfsg-1: normalized package name match | Debian stable package indexes: postgis from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Geographic objects support for PostgreSQL | https://postgis.net/
- Debian apt - postgis-doc - 3.5.2+dfsg-1: normalized package name match | Debian stable package indexes: postgis-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Geographic objects support for PostgreSQL -- documentation | https://postgis.net/
- Debian apt - postgresql-17-postgis-3 - 3.5.2+dfsg-1: normalized package name match | Debian stable package indexes: postgresql-17-postgis-3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Geographic objects support for PostgreSQL 17 | https://postgis.net/
- Debian apt - postgresql-17-postgis-3-scripts - 3.5.2+dfsg-1: normalized package name match | Debian stable package indexes: postgresql-17-postgis-3-scripts from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Geographic objects support for PostgreSQL 17 -- SQL scripts | https://postgis.net/
- Debian apt - postgresql-postgis - 3.5.2+dfsg-1: normalized package name match | Debian stable package indexes: postgresql-postgis from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Geographic objects support for PostgreSQL -- Metapackage | https://postgis.net/
- Debian apt - postgresql-postgis-scripts - 3.5.2+dfsg-1: normalized package name match | Debian stable package indexes: postgresql-postgis-scripts from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Geographic objects support for PostgreSQL -- SQL scripts metapackage | https://postgis.net/
- Ubuntu apt - postgis - 3.4.2+dfsg-1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: postgis from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Geographic objects support for PostgreSQL | https://postgis.net/
- Ubuntu apt - postgis-doc - 3.4.2+dfsg-1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: postgis-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Geographic objects support for PostgreSQL -- documentation | https://postgis.net/
- Ubuntu apt - postgresql-16-postgis-3 - 3.4.2+dfsg-1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: postgresql-16-postgis-3 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Geographic objects support for PostgreSQL 16 | https://postgis.net/
- Ubuntu apt - postgresql-16-postgis-3-scripts - 3.4.2+dfsg-1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: postgresql-16-postgis-3-scripts from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Geographic objects support for PostgreSQL 16 -- SQL scripts | https://postgis.net/
- Ubuntu apt - postgresql-postgis - 3.4.2+dfsg-1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: postgresql-postgis from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Geographic objects support for PostgreSQL -- Metapackage | https://postgis.net/
- Ubuntu apt - postgresql-postgis-scripts - 3.4.2+dfsg-1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: postgresql-postgis-scripts from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Geographic objects support for PostgreSQL -- SQL scripts metapackage | https://postgis.net/
- apk - postgis - 3.6.3-r0: normalized package name match | Alpine Linux edge package indexes: postgis from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | spatial database extender for PostgreSQL object-relational database | https://postgis.net/
- apk - postgis-doc - 3.6.3-r0: normalized package name match | Alpine Linux edge package indexes: postgis-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | spatial database extender for PostgreSQL object-relational database (documentation) | https://postgis.net/
- dnf - postgis - 3.6.4-3.fc45: normalized package name match | Fedora Rawhide package metadata: postgis from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Open-source vector similarity search for Postgres | https://www.postgis.net
- pacman - postgis - 3.6.4-1: normalized package name match | Arch Linux sync databases: postgis from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A spatial database extender for PostgreSQL | https://postgis.net/


## 関連リンク

- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://pkg.so/ja/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [pcre2](https://pkg.so/ja/brew/pcre2/) - Runtime dependency declared by Homebrew.
- [gettext](https://pkg.so/ja/brew/gettext/) - Runtime dependency declared by Homebrew.
- [libxml2](https://pkg.so/ja/brew/libxml2/) - Runtime dependency declared by Homebrew.
- [libpq](https://pkg.so/ja/brew/libpq/) - Runtime dependency declared by Homebrew.
- [gdal](https://pkg.so/ja/brew/gdal/) - Runtime dependency declared by Homebrew.
- [proj](https://pkg.so/ja/brew/proj/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/ja/brew/pkgconf/) - Build dependency declared by Homebrew.
- [postgresql@17](https://pkg.so/ja/brew/postgresql-17/) - Build dependency declared by Homebrew.
- [postgresql@18](https://pkg.so/ja/brew/postgresql-18/) - Build dependency declared by Homebrew.
- [osm2pgrouting](https://pkg.so/ja/brew/osm2pgrouting/) - Popular package that depends on this formula.
- [postgresql@14](https://pkg.so/ja/brew/postgresql-14/) - Shares pkgdb curated category or tags: cli, data, database, postgresql.
- [postgresql@16](https://pkg.so/ja/brew/postgresql-16/) - Shares pkgdb curated category or tags: cli, data, database, postgresql.
- [postgresql@15](https://pkg.so/ja/brew/postgresql-15/) - Shares pkgdb curated category or tags: cli, data, database, postgresql.
- [libgeotiff](https://pkg.so/ja/brew/libgeotiff/) - Shares pkgdb curated category or tags: cli, data, geospatial, gis.
- [lazysql](https://pkg.so/ja/brew/lazysql/) - Shares pkgdb curated category or tags: cli, data, database, postgresql.
- [mapnik](https://pkg.so/ja/brew/mapnik/) - Shares pkgdb curated category or tags: cli, data, geospatial, gis.
- [mapserver](https://pkg.so/ja/brew/mapserver/) - Local package facts share a topical domain. Shared terms: cli, data, gdal, geos, geospatial.

## Combined YAML source

View the package source record on GitHub. [combined/postgis.yml](https://github.com/mxcl/pkgdb/blob/main/combined/postgis.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
