Uninstalling PSQL on Linux or OS X
The following topics explain how to remove PSQL from your system.
Removing a PSQL RPM Package
The following table lists the RPM commands to uninstall PSQL packages on Linux. You must log in as the root user using the su command before executing any of the commands.
Note: Client Access should be uninstalled before uninstalling the 64-bit package to which it has been added.
*Note: Uninstalling does not remove the system databases DEFAULTDB and PERVASIVESYSDB.
Removing a PSQL TAR Package
This topic provides a table that lists the shell scripts used to remove various PSQL installations. The uninstalling of a TAR package is slightly different for Linux and OS X, as shown in the following steps.
1
2
cd /usr/local/psql/etc
3
You must be logged in as a user with administrator rights to use the sudo command.
1
Open a terminal window by entering terminal in a Spotlight search.
2
sudo -i bash -l
3
cd /usr/local/psql/etc
4
Note: Client Access should be uninstalled before uninstalling the 64-bit package to which it has been added.
*Note: Uninstalling does not remove the system databases DEFAULTDB and PERVASIVESYSDB.
Removing a PSQL DMG
1
In Finder, open Applications > Actian PSQL v12 and double-click PSQL Uninstaller.
2
Click Cancel to exit from the uninstaller if you need to manage your product keys before continuing. For more information, see License Administration Tasks in PSQL User's Guide.
or
Click Continue.
3
4
*Note: Uninstalling does not remove the system databases DEFAULTDB and PERVASIVESYSDB.