Chapter 16. Installation from Source Code

Table of Contents
16.1. Short Version
16.2. Requirements
16.3. Getting The Source
16.4. Installation Procedure
16.5. Post-Installation Setup
16.5.1. Shared Libraries
16.5.2. Environment Variables
16.6. Supported Platforms
16.7. Platform-specific Notes
16.7.1. AIX
16.7.2. Cygwin
16.7.3. HP-UX
16.7.4. macOS
16.7.5. MinGW/Native Windows
16.7.6. SCO OpenServer and SCO UnixWare
16.7.7. 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 read the packager's instructions instead.)