Installing Pervasive PSQL Using TAR
The tape archive (TAR) format allows you to install Pervasive PSQL if you have a Linux distribution that does not support the RPM format or if you prefer not to use RPM.
This section explains how to install the following Pervasive PSQL products using TAR:
If you have any trouble with installation, see the chapter Troubleshooting After Installation.
Installing Pervasive PSQL Server for Linux - TAR
The name of the Pervasive PSQL Server installation package conforms to the following conventions.
Pervasive.SQL-yy.yy-zzz.zzz.x86_64.tar.gz
Pervasive.SQL-yy.yy-zzz.zzz.i486.tar.gz
In all cases, the yy.yy designates a release number and zzz.zzz designates a build number. Refer to the distribution media for the actual name of the package.
Installation is categorized as either first time, in which no previous version exists, or upgrade, in which a previous version exists.
First Time Installation
1
2
Change to the /usr/local directory.
cd /usr/local
3
cp <path_to_tar>/<Linux_Server_Package_Name> .
*Note: Refer to Linux Server Package Names - TAR for the package name to use. You must include the appropriate release and build number information to perform the installation. Verify the complete package name from the distribution media.
For example, if you downloaded the installation package into the /home/bholly directory:
cp /home/bholly/<Linux_Server_Package_Name> .
4
tar -xzf <Linux_Server_Package_Name>
5
cd psql/etc
6
sh preinstall.sh
7
sh postinstall.sh
Your tar installation is complete. For additional information, see After Installing Pervasive PSQL for Linux.
Upgrade Installation
If you have a previous version of Pervasive PSQL already installed, you must uninstall that product and then install the Pervasive PSQL product. See Uninstalling Pervasive PSQL for Linux for information on uninstalling Pervasive PSQL.
Installing Pervasive PSQL Client for Linux - TAR
The name of the Pervasive PSQL Client installation package conforms to the following conventions:
Pervasive.SQL-Client-Core-yy.yy-zzz.zzz.x86_64.tar.gz
Pervasive.SQL-Client-yy.yy-zzz.zzz.i486.tar.gz
In all cases, the yy.yy designates a release number and zzz.zzz designates a build number. Refer to the distribution media for the actual name of the package.
Installation is categorized as either first time, in which no previous version exists, or upgrade, in which a previous version exists.
*Note: The Client 64-bit installation does not include certain utilities, documentation, or SDK components. To install them, you need to install both the Client 64-bit and Client 32-bit products. Because this is the same as for the Pervasive PSQL Client for Windows, see Installing the Pervasive PSQL Client for Windows for details.
First Time Installation
1
2
Change to the /usr/local directory.
cd /usr/local
3
cp path_to_tar/<Linux_Client_Package_Name> .
For example, if the installation package resides in the /home/bholly directory:
cp /home/bholly/<Linux_Client_Package_Name> .
*Note: Refer to Linux Client Package Names - TAR for the package name to use. You must include the appropriate release and build number information to perform the installation. Verify the complete package name from the distribution media.
4
tar -xzf <Linux_Client_Package_Name>
The unpacking action creates a directory named “psqlclient.”
5
Change directories to the /usr/local/psql/etc folder where the Pervasive PSQL installation scripts reside.
cd psql/etc
6
sh clientpreinstall.sh
7
sh clientpostinstall.sh
Your tar installation is complete. For additional information, see After Installing Pervasive PSQL for Linux and Configuring Network Communications for Clients.
Upgrade Installation
If you have a previous version of Pervasive PSQL already installed, you must uninstall that product and then install the Pervasive PSQL product. See Uninstalling Pervasive PSQL for Linux for information on uninstalling Pervasive PSQL for more information.