Skip to content

Commit 5493487

Browse files
committed
Update packages installation instructions
1 parent 76afcee commit 5493487

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

README.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,33 @@ Regardless of the chosen backup type, all backups taken with `pg_probackup` supp
4747
#DEB Ubuntu|Debian Packages
4848
echo "deb [arch=amd64] http://repo.postgrespro.ru/pg_probackup/deb/ $(lsb_release -cs) main-$(lsb_release -cs)" > /etc/apt/sources.list.d/pg_probackup.list
4949
wget -O - http://repo.postgrespro.ru/pg_probackup/keys/GPG-KEY-PG_PROBACKUP | apt-key add - && apt-get update
50-
apt-get install pg-probackup-(10|9.6|9.5)
50+
apt-get install pg-probackup-{10,9.6,9.5}
5151

5252
#DEB-SRC Packages
5353
echo "deb-src [arch=amd64] http://repo.postgrespro.ru/pg_probackup/deb/ $(lsb_release -cs) main-$(lsb_release -cs)" >>\
5454
/etc/apt/sources.list.d/pg_probackup.list
55+
apt-get source pg-probackup-{10,9.6,9.5}
5556

5657
#RPM Centos Packages
5758
rpm -ivh http://repo.postgrespro.ru/pg_probackup/keys/pg_probackup-repo-centos.noarch.rpm
58-
yum install pg_probackup-(10|9.6|9.5)
59+
yum install pg_probackup-{10,9.6,9.5}
5960

6061
#SRPM Centos Packages
61-
yumdownloader --source pg_probackup-(10|9.6|9.5)
62+
yumdownloader --source pg_probackup-{10,9.6,9.5}
63+
64+
#RPM RHEL Packages
65+
rpm -ivh http://repo.postgrespro.ru/pg_probackup/keys/pg_probackup-repo-rhel.noarch.rpm
66+
yum install pg_probackup-{10,9.6,9.5}
67+
68+
#SRPM RHEL Packages
69+
yumdownloader --source pg_probackup-{10,9.6,9.5}
70+
71+
#RPM Oracle Linux Packages
72+
rpm -ivh http://repo.postgrespro.ru/pg_probackup/keys/pg_probackup-repo-oraclelinux.noarch.rpm
73+
yum install pg_probackup-{10,9.6,9.5}
74+
75+
#SRPM Oracle Linux Packages
76+
yumdownloader --source pg_probackup-{10,9.6,9.5}
6277
```
6378

6479
To compile `pg_probackup`, you must have a PostgreSQL installation and raw source tree. To install `pg_probackup`, execute this in the module's directory:

0 commit comments

Comments
 (0)