Uninstalling the IBM Data Server Driver for ODBC and CLI package
The IBM Data Server Driver for ODBC and CLI is not part of the IBM Data Server Client or the IBM Data Server Runtime Client. It must be installed and configured separately.
Before you begin
- Ensure that no applications are linked to the libraries of the copy of the driver that are uninstalling.
-
- On Windows operating systems only:
- If you ran the
db2cli install -setup
command to register the driver with the Microsoft Distributed Transaction Coordinator (DTC), you must run thedb2cli install -cleanup
command before uninstalling the driver. This cleans up the Windows registry entries that were created when you ran it to register the driver with the DTC.
Procedure
There is no uninstall utility for the IBM Data Server Driver for
ODBC and CLI. The
driver is removed manually by deleting the directory in which you installed the driver. This applies
to installations on Linux, AIX, and Windows systems.
- On Windows
- For example, if you are running Windows and you installed the driver in C:\<user_directory>\ibm_data_server_driver_for_odbc_cli, simply delete the directory ibm_data_server_driver_for_odbc_cli.
- On AIX and Linux
- If you are running AIX or Linux, use the following command to remove the
directory:
whererm -rf <odbc-cli driver directory name>
-r
deletes the directory and its contents recursively, and-f
forces the deletion of the directory contents without prompting you.