Skip to content

Installing PostgreSQL 13 beta/RC on RHEL/CentOS/Fedora

PostgreSQL 13 is in beta right now, and we need everyone to test it! The RPMs are out.
First, please download repo rpm from here, if you have not downloaded already:

https://yum.postgresql.org/repopackages.php.

Since PostgreSQL13 is not stable yet, we distribute the RPMs via the "testing" repo. To enable the repo, please edit the repo file and enable v13 testing repo.

RHEL/CentOS: /etc/yum.repos.d/pgdg-redhat-all.repo


Fedora: /etc/yum.repos.d/pgdg-fedora-all.repo


Please find

[pgdg13-updates-testing]


and set

enabled=1


Due to a packaging issue, please remove postgresql13 packages if you installed them from daily builds:

yum -y remove postgresql13


You can now install PostgreSQL 13:

RHEL/CentOS 7:
yum -y install postgresql13-server postgresql13-contrib


RHEL 8 and Fedora:
yum -y install postgresql13-server postgresql13-contrib


Initialize the cluster:

/usr/pgsql-13/bin/postgresql-13-setup initdb


If you are running multiple versions, you may want to change the port number first, by editing

/var/lib/pgsql/13/data/postgresql.conf


Finally, start PostgreSQL 13:

systemctl enable --now postgresql-13


$ psql -c "SELECT version()"
version
-----------------------------------------------------------------------------------------------------------
PostgreSQL 13beta1 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 10.1.1 20200507 (Red Hat 10.1.1-1), 64-bit

(1 row)



Please report any bugs to https://www.postgresql.org/account/submitbug/

Trackbacks

No Trackbacks

Comments

Display comments as Linear | Threaded

No comments

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Form options

Submitted comments will be subject to moderation before being displayed.