From 73c5d2bfee2907b7f158485a531f00ba61b054f7 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Thu, 22 Jul 2021 18:03:26 -0400 Subject: [PATCH] Rework installation instructions again Dept. of second thoughts: the new verbiage added in commit aaec237b1a2f is targeted at the wrong audience. Remove the bits about git and talk about how to get tarballs only. People looking for the git repo can look in the appendix. That'll need to be expanded, but this commit doesn't do that. In passing, fix a couple of typos that snuck in with the previous commit. Discussion: https://postgr.es/m/713760.1626891263@sss.pgh.pa.us --- doc/src/sgml/installation.sgml | 29 +++++++++-------------------- 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index fddd7d3905..1ebe8482bf 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -354,29 +354,13 @@ su - postgres Getting the Source - The version control repository for PostgreSQL - can be obtained from - ; - this is the recommended way to obtain the - PostgreSQL source code. - You can obtain a clone of the repository by running - -git clone https://git.postgresql.org/git/postgresql.git - - This will create a directory postgresql under the current - directory with the PostgreSQL sources. - Change into that directory for the rest of the installation procedure. - See for further information. - - - - Alternatively, source code for the released versions can be obtained - from the download section of our website: + The PostgreSQL source code for released versions + can be obtained from the download section of our website: . - Download then + Download the postgresql-version.tar.gz or postgresql-version.tar.bz2 - you're interested in, then unpack it: + file you're interested in, then unpack it: tar xf postgresql-version.tar.bz2 @@ -385,6 +369,11 @@ su - postgres the current directory with the PostgreSQL sources. Change into that directory for the rest of the installation procedure. + + + Alternatively, you can use the Git version control system; see + for more information. +