Installing PSQL Using RPM
The RPM format allows you to install PSQL if your Linux distribution contains the Red Hat Package Manager (RPM).
The following topics explain how to install PSQL products using RPM:
If you have any trouble with installation, see the chapter Troubleshooting After Installation.
*Note: OS X does not support RPM. Instead, use the TAR installation method.
Installing PSQL Server or Vx Server for Linux - RPM
Choose the package name to use for the installation using the following table and the distribution media.
PSQL-linux-yy.yy-zzz.zzz.x86_64.rpm
PSQL-Vx-linux-yy.yy-zzz.zzz.x86_64.rpm
In the file name, yy.yy is a release number and zzz.zzz is a build number. See the file for its actual name.
Your installation is either a first time, with no previous version, or an upgrade to an existing installed version.
First Time Installation
The package manager copies all necessary files onto disk (default location is /usr/local/psql) and runs a post-installation script which performs the following tasks:
Creates user psql and group pvsw
Sets user:group ownership to psql:pvsw for the installed files
*Note: If you have a previous version of PSQL on your Linux machine, see Upgrade Installation.
1
2
rpm -ivh <server_package_name>
If the RPM package is in another directory, preface the package name with a path.
Upgrade Installation
If you have a previous version of PSQL already installed, you must uninstall that version and then install the new PSQL v12 product.
See Uninstalling PSQL on Linux or OS X for more information.
Installing PSQL Client for Linux - RPM
The name of the PSQL Client installation package follows these conventions:
PSQL-Client-linux-yy.yy-zzz.zzz.x86_64.rpm
PSQL-Client-Access-linux-yy.yy-zzz.zzz.x86_64.rpm
In the file name, yy.yy is a release number and zzz.zzz is a build number. See the file for its actual name.
Your installation is either a first time, with no previous version, or an upgrade to an existing installed version.
First Time Installation
If you need to provide 32-bit client access for an application, you must install the PSQL Client 64-bit first, and then add PSQL Client Access 32-bit. Otherwise, the steps are the same.
1
2
rpm -ivh <client_package_name>
If the RPM package is in another directory, preface the package name with a path.
Upgrade Installation
If you have a previous version of PSQL already installed, you must uninstall that version and then install the new PSQL v12 product.
See Uninstalling PSQL on Linux or OS X for more information.