# postgresql@17 を Homebrew, apt, winget, apk, chocolatey, dnf, MacPorts, zypper, scoop, Nix, pacman でインストール

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

## インストール

```sh
sudo av install brew:postgresql@17
```

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

### macOS

- Homebrew (100%):

```sh
brew install postgresql@17
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install postgresql17
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install postgresql-17
```

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

- apk (92%):

```sh
sudo apk add postgresql17
```

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

- dnf (92%):

```sh
sudo dnf install postgresql17
```

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

- zypper (92%):

```sh
sudo zypper install postgresql17
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#postgresql
```

  証拠: nixpkgs package indexes: postgresql from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S postgresql
```

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

- Ubuntu apt (92%):

```sh
sudo apt install postgresql
```

  証拠: Ubuntu 24.04 LTS package indexes: postgresql from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz

### Windows

- winget (92%):

```sh
winget install --id PostgreSQL.PostgreSQL.17 -e
```

  証拠: Windows Package Manager source index: PostgreSQL.PostgreSQL.17 from https://cdn.winget.microsoft.com/cache/source.msix

- Chocolatey (92%):

```sh
choco install postgresql17
```

  証拠: Chocolatey community package catalog: postgresql17 from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','poshgit'

- Scoop (92%):

```sh
scoop install versions/postgresql17
```

  証拠: Scoop official bucket manifest trees: bucket/postgresql17.json from https://api.github.com/repos/ScoopInstaller/Versions/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:postgresql@17
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/postgresql@17>
- **バージョン:** 17.10
- **ソース概要:** Object-relational database system
- **ホームページ:** <https://www.postgresql.org/>
- **上流ドキュメント:** <https://www.postgresql.org/>
- **ライセンス:** PostgreSQL
- **ソースアーカイブ:** <https://ftp.postgresql.org/pub/source/v17.10/postgresql-17.10.tar.bz2>
- **最終更新:** 2026-08-04T13:11:26+01:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 依存関係

- gettext
- icu4c@78
- krb5
- lz4
- openssl@3
- readline
- zstd

## ビルド依存関係

- docbook
- docbook-xsl
- gettext
- pkgconf

## macOS 提供ライブラリ

- libxml2
- libxslt
- openldap
- perl

## インストール挙動

- post-install フック: 未定義
- サービス: declared
- 注意点: This formula has created a default database cluster with: initdb --locale=en_US.UTF-8 -E UTF-8 $HOMEBREW_PREFIX/var/postgresql@17 When uninstalling, some dead symlinks are left behind so you may want to run: brew cleanup --prune-prefix
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

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

## セキュリティノート

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



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: $PGDATA/postgresql.conf, $PGDATA/pg_hba.conf, $PGDATA/pg_ident.conf

## Credential files

- Unix: ~/.pgpass
- Windows: %APPDATA%\postgresql\pgpass.conf
## ソースデータベース詳細

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

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

- Debian apt - libecpg-compat3 - 17.10-0+deb13u1: normalized package name match | Debian stable package indexes: libecpg-compat3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | older version of run-time library for ECPG programs | http://www.postgresql.org/
- Debian apt - libecpg-dev - 17.10-0+deb13u1: normalized package name match | Debian stable package indexes: libecpg-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | development files for ECPG (Embedded PostgreSQL for C) | http://www.postgresql.org/
- Debian apt - libecpg6 - 17.10-0+deb13u1: normalized package name match | Debian stable package indexes: libecpg6 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | run-time library for ECPG programs | http://www.postgresql.org/
- Debian apt - libpgtypes3 - 17.10-0+deb13u1: normalized package name match | Debian stable package indexes: libpgtypes3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | shared library libpgtypes for PostgreSQL 17 | http://www.postgresql.org/
- Debian apt - libpq-dev - 17.10-0+deb13u1: normalized package name match | Debian stable package indexes: libpq-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | header files for libpq5 (PostgreSQL library) | http://www.postgresql.org/
- Debian apt - libpq5 - 17.10-0+deb13u1: normalized package name match | Debian stable package indexes: libpq5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | PostgreSQL C client library | http://www.postgresql.org/
- Debian apt - postgresql-17 - 17.10-0+deb13u1: normalized package name match | Debian stable package indexes: postgresql-17 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | The World's Most Advanced Open Source Relational Database | http://www.postgresql.org/
- Debian apt - postgresql-client-17 - 17.10-0+deb13u1: normalized package name match | Debian stable package indexes: postgresql-client-17 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | front-end programs for PostgreSQL 17 | http://www.postgresql.org/
- Debian apt - postgresql-doc-17 - 17.10-0+deb13u1: normalized package name match | Debian stable package indexes: postgresql-doc-17 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | documentation for the PostgreSQL database management system | http://www.postgresql.org/
- Debian apt - postgresql-plperl-17 - 17.10-0+deb13u1: normalized package name match | Debian stable package indexes: postgresql-plperl-17 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | PL/Perl procedural language for PostgreSQL 17 | http://www.postgresql.org/
- Debian apt - postgresql-plpython3-17 - 17.10-0+deb13u1: normalized package name match | Debian stable package indexes: postgresql-plpython3-17 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | PL/Python 3 procedural language for PostgreSQL 17 | http://www.postgresql.org/
- Debian apt - postgresql-pltcl-17 - 17.10-0+deb13u1: normalized package name match | Debian stable package indexes: postgresql-pltcl-17 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | PL/Tcl procedural language for PostgreSQL 17 | http://www.postgresql.org/
- Debian apt - postgresql-server-dev-17 - 17.10-0+deb13u1: normalized package name match | Debian stable package indexes: postgresql-server-dev-17 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | development files for PostgreSQL 17 server-side programming | http://www.postgresql.org/
- winget - PostgreSQL.PostgreSQL.17: normalized package name match | Windows Package Manager source index: PostgreSQL.PostgreSQL.17 from https://cdn.winget.microsoft.com/cache/source.msix
- MacPorts - postgresql17: package manager index match | MacPorts ports tree: databases/postgresql17/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- apk - postgresql17 - 17.10-r0: package manager index match | Alpine Linux edge package indexes: postgresql17 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A sophisticated object-relational DBMS, version 17 | https://www.postgresql.org/


## 関連リンク

- [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.
- [openssl@3](https://pkg.so/ja/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [zstd](https://pkg.so/ja/brew/zstd/) - Runtime dependency declared by Homebrew.
- [lz4](https://pkg.so/ja/brew/lz4/) - Runtime dependency declared by Homebrew.
- [gettext](https://pkg.so/ja/brew/gettext/) - Runtime dependency declared by Homebrew.
- [krb5](https://pkg.so/ja/brew/krb5/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/ja/brew/pkgconf/) - Build dependency declared by Homebrew.
- [docbook](https://pkg.so/ja/brew/docbook/) - Build dependency declared by Homebrew.
- [docbook-xsl](https://pkg.so/ja/brew/docbook-xsl/) - Build dependency declared by Homebrew.
- [postgresql@14](https://pkg.so/ja/brew/postgresql-14/) - Package name indicates the same formula family.
- [postgresql@16](https://pkg.so/ja/brew/postgresql-16/) - Package name indicates the same formula family.
- [postgresql@18](https://pkg.so/ja/brew/postgresql-18/) - Package name indicates the same formula family.
- [postgresql@15](https://pkg.so/ja/brew/postgresql-15/) - Package name indicates the same formula family.
- [mysql](https://pkg.so/ja/brew/mysql/) - Shares pkgdb curated category or tags: cli, data, database, rdbms, server.
- [mariadb](https://pkg.so/ja/brew/mariadb/) - Shares pkgdb curated category or tags: cli, data, database, server, sql.
- [lazysql](https://pkg.so/ja/brew/lazysql/) - Shares pkgdb curated category or tags: cli, data, database, postgresql, sql.

## Combined YAML source

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


## ソース

- pkg.so package database
- package-page enrichment
- curated configuration and credential file locations
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
