はじめに
Application Stream(AppStream)を利用してRockyLinux8にPostgreSQL 15をインストール
親記事:そのうち作成予定
参考:RHEL8のパッケージ構成 - BaseOSとApplication Stream - 赤帽エンジニアブログ
サポート
本手法で導入した場合、Red Hat Enterprise Linux 8 Application Streams Life Cycle - Red Hat Customer Portalより、2028-05がEOLだと思われる。
それ以降に報告された脆弱性や不具合への対応は実施されない可能性がある。
LOG
インストール
# cat /etc/redhat-release
Rocky Linux release 8.8 (Green Obsidian)
# yum module list postgresql
Last metadata expiration check: 0:00:04 ago on Fri Jul 7 03:42:17 2023.
Rocky Linux 8 - AppStream
Name Stream Profiles Summary
postgresql 9.6 client, server [d] PostgreSQL server and client module
postgresql 10 [d] client, server [d] PostgreSQL server and client module
postgresql 12 client, server [d] PostgreSQL server and client module
postgresql 13 client, server [d] PostgreSQL server and client module
postgresql 15 client, server [d] PostgreSQL server and client module
Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled
# yum install -y @postgresql:15
... 略
各種確認
# which postgres
/usr/bin/postgres
# which psql
/usr/bin/psql
# psql --version
psql (PostgreSQL) 15.2