## Chapter 17. Installation from Source Code

**Table of Contents**

[17.1. Short Version](install-short.html)

[17.2. Requirements](install-requirements.html)

[17.3. Getting the Source](install-getsource.html)

[17.4. Installation Procedure](install-procedure.html)

[17.4.1. `configure` Options](install-procedure.html#CONFIGURE-OPTIONS)

[17.4.2. `configure` Environment Variables](install-procedure.html#CONFIGURE-ENVVARS)

[17.5. Post-Installation Setup](install-post.html)

[17.5.1. Shared Libraries](install-post.html#INSTALL-POST-SHLIBS)

[17.5.2. Environment Variables](install-post.html#id-1.6.4.9.3)

[17.6. Supported Platforms](supported-platforms.html)

[17.7. Platform-Specific Notes](installation-platform-notes.html)

[17.7.1. AIX](installation-platform-notes.html#INSTALLATION-NOTES-AIX)

[17.7.2. Cygwin](installation-platform-notes.html#INSTALLATION-NOTES-CYGWIN)

[17.7.3. macOS](installation-platform-notes.html#INSTALLATION-NOTES-MACOS)

[17.7.4. MinGW/Native Windows](installation-platform-notes.html#INSTALLATION-NOTES-MINGW)

[17.7.5. Solaris](installation-platform-notes.html#INSTALLATION-NOTES-SOLARIS)

[]()

 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.html) instead.

 If you are building PostgreSQL for Microsoft Windows, read this chapter if you intend to build with MinGW or Cygwin; but if you intend to build with Microsoft's Visual C++, see [Chapter 18](install-windows.html) instead.

