Thanks to visit codestin.com
Credit goes to postgrespro.com

Chapter 15.  Installation from Source Code

This chapter describes the installation of Postgres Pro 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.)