16.3. Получение исходного кода
Исходные коды PostgreSQL 13.23 можно получить в соответствующем разделе нашего сайта: https://www.postgresql.org/download/. Вам следует выбрать файл postgresql-13.23.tar.gz или postgresql-13.23.tar.bz2. Получив выбранный файл, распакуйте его:
gunzip postgresql-13.23.tar.gztar xf postgresql-13.23.tar
(Если вы выбрали файл .bz2, используйте bunzip2 вместо gunzip.) Также заметьте, что современные версии tar могут распаковывать сжатые архивы, поэтому отдельная команда gunzip или bunzip2 может не потребоваться.) При этом в текущем каталоге будет создан подкаталог postgresql-13.23 с исходными кодами PostgreSQL. Перейдите в этот подкаталог для продолжения процедуры установки.
Вы также можете получить исходный код непосредственно из репозитория системы управления версиями (см. Приложение I).
16.3. Getting the Source
The PostgreSQL 13.23 sources can be obtained from the download section of our website: https://www.postgresql.org/download/. You should get a file named postgresql-13.23.tar.gz or postgresql-13.23.tar.bz2. After you have obtained the file, unpack it:
gunzip postgresql-13.23.tar.gztar xf postgresql-13.23.tar
(Use bunzip2 instead of gunzip if you have the .bz2 file. Also, note that most modern versions of tar can unpack compressed archives directly, so you don't really need the separate gunzip or bunzip2 step.) This will create a directory postgresql-13.23 under the current directory with the PostgreSQL sources. Change into that directory for the rest of the installation procedure.
You can also get the source directly from the version control repository, see Appendix I.