Install PostgreSQL for Linux


Overview

CAST does not provide a PostgreSQL installer for Linux environments, however, CAST recommends installing the equivalent PostgreSQL release on a Linux server to take advantage of the superior performance over CAST Storage Service installed on Microsoft Windows.

You can install an official PostgreSQL installation:

  • either direct on your Linux server
  • or via a Docker image.

See the instructions below.

Instructions

Direct install on Linux server

Your chosen Linux distribution may include a specific release of PostgreSQL by default but that may not be the latest available release nor one that is supported by CAST (see What are the database requirements?). You can instead use the official PostgreSQL repository for your distribution’s package manager system to install the specific release you need:

Distribution Instructions
Ubuntu via APT https://www.postgresql.org/download/linux/ubuntu/external link
Debian via APT https://www.postgresql.org/download/linux/debian/external link
Red Hat (RHEL/Rocky/Alma/CentOS) via Yum or DNF https://www.postgresql.org/download/linux/redhat/external link

Install via a Docker image

See https://hub.docker.com/_/postgresexternal link for more information about how to install an official PostgreSQL image on Docker.

What next?

See Post installation information and action items.