If you didn’t activate the driver during installation, you can activate it later using one of two methods:
To activate the driver over the internet using Command Prompt (works for both Perpetual and Subscription licenses):
1. Open a terminal and navigate to the folder where the driver is installed. The default installation paths are:
For the DEB package: /usr/share/devart/odbcsalesforce
For the RPM package: /usr/local/devart/odbcsalesforce
2. Run the activation command with superuser privileges, using either the activation key or the path to the file containing the key:
To activate the driver using the activation key:
sudo ./salesforceodbcactivator -a <your_activation_key>
Note
Replace
<your_activation_key>
with the driver activation key, which you can find in the registration email or your Customer Portal account.
To activate the driver using a file with the key:
sudo ./salesforceodbcactivator -a <path_to_your_activation_file>
Note
Replace
<path_to_your_activation_file>
with the full path of the file containing the activation key.
Once completed, the driver is activated, and the License Summary will be displayed in the console.
This method is ideal when you need to perform an offline activation, or you prefer not to activate the driver over the internet. It works only for Perpetual licenses and is useful in secure environments where network connectivity is restricted, or when automating large-scale deployments without relying on online activation servers.
For offline activation (only for Perpetual licenses), follow these steps:
1. Create a new file named activation.key in the driver installation folder.
Note
The default installation paths are:
- For the DEB package:
/usr/share/devart/odbcsalesforce
- For the RPM package:
/usr/local/devart/odbcsalesforce
2. Copy the activation key from the registration email or your Customer Portal account and paste it into the newly created file.
3. The driver will be activated upon saving the file.
To deactivate Devart ODBC Driver for Salesforce on Linux:
1. Open the Terminal and navigate to the folder where the driver is installed. The default installation paths are:
For the DEB package: /usr/share/devart/odbcsalesforce
For the RPM package: /usr/local/devart/odbcsalesforce
2. Run the following command with superuser privileges to deactivate the driver:
sudo ./salesforceodbcactivator -d
Note
If you activated the driver using an activation key file, you can deactivate it by deleting the file.