Chapter 18. Installation

Table of Contents
Requirements to Run Postgres
Installation Procedure
Playing with Postgres
The Next Step
Porting Notes

Complete installation instructions for Postgres v6.3.

This procedure is This is based on the installation instructions for Postgres v6.3 found in $PGROOT/INSTALL. Up to date information on Postgres may be found at

The installation notes below assume the following (except where noted):

Commands were tested on RedHat Linux version 4.2 using the tcsh shell. Except where noted, they will probably work on most systems. Commands like ps and tar vary wildly on what options you should use on each platform. Use common sense before typing in these commands.

Our Makefiles require GNU make (called “gmake” in this document) and also assume that install accepts BSD options. The INSTALL variable in the Makefiles is set to the BSD-compatible version of install. On some systems, you will have to find a BSD-compatible install (eg. bsdinst, which comes with the MIT X Window System distribution).

Unsupported PlatformsUpRequirements to Run Postgres