diff --git a/doc/install-source.sgml b/doc/install-source.sgml index 3e9e76e4..127c0aaf 100644 --- a/doc/install-source.sgml +++ b/doc/install-source.sgml @@ -26,7 +26,21 @@ add the apt.postgresql.org repository to your sources.list if you - have not already done so. Then install the pre-requisites for + have not already done so, and ensure the source repository is enabled. + + + + If not configured, the source repository can be added by including + a deb-src line as a copy of the existing deb + line in the repository file, which is usually + /etc/apt/sources.list.d/pgdg.list, e.g.: + +deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main +deb-src http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main + + + + Then install the prerequisites for building PostgreSQL with: sudo apt-get update