Appendix A. Building and Installing the Red Hat Database

Use these installation instructions if you require a special configuration for the Red Hat Database.

Requirements

This version of the Red Hat Database is supported on Red Hat Linux 7.1 or greater on Intel x86 processors only.

Required Software Tools

You require the following tools to build the Red Hat Database; all are included with your Red Hat software:

  • GNU make is required; other make programs will not work. On Red Hat Linux, GNU make is the default tool with the name make.

  • You need an ISO/ANSI C compiler. Red Hat Linux comes with GCC. This version of GCC is the recommended compiler for PostgreSQL.

  • gzip

  • The GNU Readline library for comfortable line editing and command history retrieval will automatically be used if found. This library is shipped with Red Hat Linux.

  • Flex and Bison are not required when building from the released source package because the output files are pre-generated. You will need these programs only when building from a CVS tree or when the actual scanner and parser definition files were changed. The released source RPM does not require Flex or Bison. Other lex programs will definitely not work.

Required Disk Space

You will need about 40 MB for the source tree during compilation and about 5 MB for the installation directory. An empty database takes about 1 MB; later it takes about five times the amount of space that a flat text file with the same data would take. If you are going to run the regression tests, you will temporarily need an extra 20 MB. To check for disk space, use the df command.