一个针对 Fedora / Red Hat / CentOS Linux 发行版的 PostgreSQL软件仓库已经可用。用户可通过 Yum 的方式安装、更新 PostgreSQL 软件包。
Available PostgreSQL Releases
- 8.3
- 8.2
- 8.1
- 8.0
- 7.4
- 7.3
Available Platforms
- Fedora 7,8
- Red Hat Enterprise Linux 3,4,5
- CentOS 3,4,5
Available Architectures
- x86 (i686)
- x86_64
具体做法:
* As root, cd /etc/yum.repos.d
* Edit distro’s .repo file:
– On Fedora, edit fedora.repo and fedora-updates.repo, [fedora] sections
– On CentOS, edit CentOS-Base.repo, [base] and [updates] sections.
* Add
exclude=postgresql*
to the bottom of the section.
Please visit http://yum.pgsqlrpms.org for details.