Uninstalling Pervasive PSQL Vx Server for Linux
This section explains how to uninstall the RPM and TAR distributions of Pervasive PSQL Vx Server.
RPM Version
The following table lists the RPM commands to uninstall the various Pervasive PSQL Vx Server packages. You must log in as the root user using the “su” command before executing any of the commands.
*Note: The uninstall program does not remove the system databases DEFAULTDB and SYSTEMDB.
TAR Version
The following table lists the shell scripts used to uninstall the various Pervasive PSQL Vx Server packages. You must log in as the root user using the su command before executing any of the commands.
Note: The scripts must be executed in sequence: preuninstall first followed by postuninstall.
Note: The scripts must be executed in sequence: clientpreuninstall first followed by clientpostuninstall.
1 Assumes that the scripts are executed from the directory where they reside. For example, from /usr/local/psql/etc or /usr/local/psql/pbs/etc
2 You may want to remove the uninstall scripts themselves after the product is uninstalled. For example:
Uninstalling Both 32-bit and 64-bit Clients
If you have installed both the 32-bit and 64-bit clients on your machine, you may uninstall one or both by passing the architecture option with the uninstall script. Running the scripts without any architecture option removes both clients, as the default option is to remove both clients.
Example
To uninstall only the 64-bit client you would run the following:
/usr/local/psql/etc/clientpreuninstall.sh -a x86_64
/usr/local/psql/etc/clientpostuninstall.sh -a x86_64
The 32-bit client remains fully operational.
To uninstall only the 32-bit client you would run the following:
/usr/local/psql/etc/clientpreuninstall.sh -a x86
/usr/local/psql/etc/clientpostuninstall.sh -a x86
The 64-bit client remains fully operational.
To uninstall both the 32-bit and 64-bit clients you would run the following:
/usr/local/psql/etc/clientpreuninstall.sh
/usr/local/psql/etc/clientpostuninstall.sh