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

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

## インストール

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

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

### macOS

- Homebrew (100%):

```sh
brew install postgresql@16
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install postgresql16
```

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

### Linux

- Ubuntu apt (92%):

```sh
sudo apt install postgresql-16
```

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

- apk (92%):

```sh
sudo apk add postgresql16
```

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

- dnf (92%):

```sh
sudo dnf install postgresql16
```

  証拠: Fedora Rawhide package metadata: postgresql16 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 postgresql16
```

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

- Debian apt (92%):

```sh
sudo apt install postgresql
```

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

- 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

### Windows

- winget (92%):

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

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

- Chocolatey (92%):

```sh
choco install postgresql16
```

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

- Scoop (92%):

```sh
scoop install versions/postgresql16
```

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

## パッケージ情報

- **パッケージキー:** brew:postgresql@16
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/postgresql@16>
- **バージョン:** 16.14
- **ソース概要:** Object-relational database system
- **ホームページ:** <https://www.postgresql.org/>
- **上流ドキュメント:** <https://www.postgresql.org/>
- **ライセンス:** PostgreSQL
- **ソースアーカイブ:** <https://ftp.postgresql.org/pub/source/v16.14/postgresql-16.14.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

## ビルド依存関係

- 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@16
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

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

## セキュリティノート

postgresql@16 に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ 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@16
- **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

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

- Ubuntu apt - libecpg-compat3 - 16.2-1ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: libecpg-compat3 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | older version of run-time library for ECPG programs | http://www.postgresql.org/
- Ubuntu apt - libecpg-dev - 16.2-1ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: libecpg-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | development files for ECPG (Embedded PostgreSQL for C) | http://www.postgresql.org/
- Ubuntu apt - libecpg6 - 16.2-1ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: libecpg6 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | run-time library for ECPG programs | http://www.postgresql.org/
- Ubuntu apt - libpgtypes3 - 16.2-1ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: libpgtypes3 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | shared library libpgtypes for PostgreSQL 16 | http://www.postgresql.org/
- Ubuntu apt - libpq-dev - 16.2-1ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: libpq-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | header files for libpq5 (PostgreSQL library) | http://www.postgresql.org/
- Ubuntu apt - libpq5 - 16.2-1ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: libpq5 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | PostgreSQL C client library | http://www.postgresql.org/
- Ubuntu apt - postgresql-16 - 16.2-1ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: postgresql-16 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | The World's Most Advanced Open Source Relational Database | http://www.postgresql.org/
- Ubuntu apt - postgresql-client-16 - 16.2-1ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: postgresql-client-16 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | front-end programs for PostgreSQL 16 | http://www.postgresql.org/
- Ubuntu apt - postgresql-doc-16 - 16.2-1ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: postgresql-doc-16 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | documentation for the PostgreSQL database management system | http://www.postgresql.org/
- Ubuntu apt - postgresql-plperl-16 - 16.2-1ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: postgresql-plperl-16 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | PL/Perl procedural language for PostgreSQL 16 | http://www.postgresql.org/
- Ubuntu apt - postgresql-plpython3-16 - 16.2-1ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: postgresql-plpython3-16 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | PL/Python 3 procedural language for PostgreSQL 16 | http://www.postgresql.org/
- Ubuntu apt - postgresql-pltcl-16 - 16.2-1ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: postgresql-pltcl-16 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | PL/Tcl procedural language for PostgreSQL 16 | http://www.postgresql.org/
- Ubuntu apt - postgresql-server-dev-16 - 16.2-1ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: postgresql-server-dev-16 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | development files for PostgreSQL 16 server-side programming | http://www.postgresql.org/
- winget - PostgreSQL.PostgreSQL.16: normalized package name match | Windows Package Manager source index: PostgreSQL.PostgreSQL.16 from https://cdn.winget.microsoft.com/cache/source.msix
- MacPorts - postgresql16: package manager index match | MacPorts ports tree: databases/postgresql16/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- apk - postgresql16 - 16.14-r0: package manager index match | Alpine Linux edge package indexes: postgresql16 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A sophisticated object-relational DBMS, version 16 | 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.
- [postgresql@14](https://pkg.so/ja/brew/postgresql-14/) - Package name indicates the same formula family.
- [postgresql@17](https://pkg.so/ja/brew/postgresql-17/) - 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.
- [percona-server](https://pkg.so/ja/brew/percona-server/) - Shares pkgdb curated category or tags: cli, data, database, server, sql.

## Combined YAML source

View the package source record on GitHub. [combined/postgresql@16.yml](https://github.com/mxcl/pkgdb/blob/main/combined/postgresql@16.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
