Uninstall
This section covers the steps to uninstall CADP for C.
Uninstalling CADP for C on Linux
Before you begin uninstalling CADP for C, note the folder in which CADP for C is installed. If you did not install CADP for C in the default folder of /opt
, you will be required to enter the location of the folder in which the software is installed during the uninstallation process.
You have the option to uninstall CADP for C with or without admin rights. If you uninstall CADP for C using admin rights (as a root user), then as part of the uninstallation process, the backup of the VAE library, which was taken during the upgrade from VAE to CADP for C, will be reverted. In addition, the soft link that was created between the VAE library and the CADP for C library during the upgrade will be removed. If you are uninstalling CADP for C without using admin rights, then you are required to perform these steps manually after the uninstallation process is completed. Note that these additional steps do require the use of admin rights as accessing the folder /opt
requires the use of admin rights. If you choose to uninstall CADP for C without the use of admin rights, then refer to Reverting Backup of VAE Library and Removing Soft Link between the Libraries after the uninstallation and perform these steps.
Note
Thales *recommends that you perform the uninstallation procedure using admin rights.
To uninstall CADP for C on Linux:
Execute the following command from the directory in which CADP for C is installed:
With admin rights:
sudo ./install.sh -u
Without admin rights:
./install.sh -u
Where:
- -u: Indicates to uninstall.
For example with admin rights:
[user@test CADP_for_C-8.14.0.00X]# sudo ./install.sh -u Current Installation path [/opt]: Uninstall succeeded!
On successful uninstallation, the message Uninstall succeeded!
is displayed.
Reverting Backup of VAE Library and Removing Soft Link between the Libraries
If you completed the uninstallation of CADP for C without the use of admin rights, perform the following steps:
Log on to the client machine on which CADP for C is installed as a user with admin rights.
Access the directory in which the
libvorpkcs11.so
is located:For example:
cd /opt/vormetric/DataSecurityExpert/agent/pkcs11/lib/
Remove the soft link from the VAE library (
libvorpkcs11.so
) to the CADP for C PKCS11 library (libcadp_pkcs11.so
):rm –f /opt/vormetric/DataSecurityExpert/agent/pkcs11/lib/libvorpkcs11.so
where
-f
stands for force. The soft link will be removed immediately without any prompt ofyes
orno
for the confirmation of the removal.Revert the VAE backup library (
libvorpkcs11.so.save
) to its original VAE library (libvorpkcs11.so
)mv /opt/vormetric/DataSecurityExpert/agent/pkcs11/lib/libvorpkcs11.so.save /opt/vormetric/DataSecurityExpert/agent/pkcs11/lib/libvorpkcs11.so
Note
If you are reverting back to VAE by uninstalling CADP for C, you need to start vaed
service.
Uninstalling CADP for C on Windows
You can uninstall CADP for C on Windows in the following ways:
Note
If you had upgraded from VAE to CADP for C and selected to maintain backward compatibility with VAE during the upgrade, then the backup of the VAE library, which was taken during the upgrade, will be reverted. In addition, the libcadp_pkcs11.dll
, which was renamed as vorpkcs11.dll
during the upgrade, will be removed from the default Vormetric
folder.
Using Control Panel for Uninstallation
You can uninstall CADP for C using the Control Panel.
Note
The steps in this section reflect a Windows 10 operating system (OS). If you using a different Windows OS, the steps may differ slightly.
Search for Control Panel (Start > Settings > Control Panel).
Select Programs and Features.
Select the CADP for C program and right-click on it.
Select Uninstall.
When prompted "Are you sure you want to uninstall CADP for C?", select Yes.
When prompted whether you want to allow this app to make changes to your device, select Yes.
Silent Uninstallation
To uninstall CADP for C silently on Windows, execute the following command:
setup.exe /x /s /v/qn
Where:
/x: Indicates uninstallation.
/s /v/qn: Indicates silent mode.
Note
If you are reverting back to VAE by uninstalling CADP for C, you need to start vaed
service.