Uninstallation of DB2 with DB2 commands
If your computer contains DB2® instances for the DB2 copy, you must manually drop the DB2 instances before the uninstallation of DB2.
It is advisable to back up DB2 databases and data before the uninstallation.
If you manually installed DB2 in a custom location with DB2 commands, use DB2 commands for uninstallation of DB2. On AIX®, or Linux™, run the db2_deinstall command in the DB2_installation_location/install/ directory for uninstallation of DB2. On Windows™, run the db2unins command in the DB2_instalaton_location\bin directory for uninstallation of DB2. For more information about the uninstallation of DB2, see the DB2 product documentation at http://www-01.ibm.com/support/knowledgecenter/SSEPGG/welcome.