Chapter 16. Installation from Source Code

Table of Contents

16.1. Requirements
16.2. Getting the Source
16.3. Building and Installation with Autoconf and Make
16.3.1. Short Version
16.3.2. Installation Procedure
16.3.3. configure Options
16.3.4. configure Environment Variables
16.4. Building and Installation with Meson
16.4.1. Short Version
16.4.2. Installation Procedure
16.4.3. meson setup Options
16.4.4. meson Build Targets
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. Cygwin
16.7.2. macOS
16.7.3. MinGW
16.7.4. Solaris
16.7.5. 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 17 instead.