--- title: "Installation from Source Code" id: installation pg_version: "20devel" --- # Installation from Source Code ## Table of Contents - [17.1. Requirements](install-requirements.md) - [17.2. Getting the Source](install-getsource.md) - [17.3. Building and Installation with Autoconf and Make](install-make.md) - [17.3.1. Short Version](install-make.md#install-short-make) - [17.3.2. Installation Procedure](install-make.md#install-procedure-make) - [17.3.3. `configure` Options](install-make.md#configure-options) - [17.3.4. `configure` Environment Variables](install-make.md#configure-envvars) - [17.4. Building and Installation with Meson](install-meson.md) - [17.4.1. Short Version](install-meson.md#install-short-meson) - [17.4.2. Installation Procedure](install-meson.md#install-procedure-meson) - [17.4.3. `meson setup` Options](install-meson.md#meson-options) - [17.4.4. `meson` Build Targets](install-meson.md#targets-meson) - [17.5. Post-Installation Setup](install-post.md) - [17.5.1. Shared Libraries](install-post.md#install-post-shlibs) - [17.5.2. Environment Variables](install-post.md#install-post-env-vars) - [17.6. Supported Platforms](supported-platforms.md) - [17.7. Platform-Specific Notes](installation-platform-notes.md) - [17.7.1. AIX](installation-platform-notes.md#installation-notes-aix) - [17.7.2. Cygwin](installation-platform-notes.md#installation-notes-cygwin) - [17.7.3. macOS](installation-platform-notes.md#installation-notes-macos) - [17.7.4. MinGW](installation-platform-notes.md#installation-notes-mingw) - [17.7.5. Solaris](installation-platform-notes.md#installation-notes-solaris) - [17.7.6. Visual Studio](installation-platform-notes.md#installation-notes-visual-studio) This chapter describes the installation of PostgreSQL using the source code distribution. If you are installing a pre-packaged distribution, such as an RPM or Debian package, ignore this chapter and see [ChapterĀ 16](install-binaries.md) instead.