DB2 Version 9.7 for Linux, UNIX, and Windows
Uninstalling >

Uninstalling your DB2 product (Linux and UNIX)

This task provides steps for removing a DB2® product from your Linux® or UNIX® operating system.

This task is not required to install a new version of a DB2 product. Each version of a DB2 product on Linux or UNIX has a different installation path and can therefore coexist on the same computer.

Note:
This task applies to DB2 products that were installed with root authority. A separate topic explains how to uninstall DB2 products that were installed as a non-root user.

To remove your DB2 product:

  1. Optional: Drop all databases. You can drop databases using the Control Center or the drop database command. Database files remain intact on your file systems when you drop an instance without dropping databases first.
  2. Stop the DB2 Administration Server. Refer to the Installing DB2 Servers manual.
  3. Remove the DB2 Administration Server, or run the dasupdt command to update the DB2 Administration Server to another installation path. To remove the DB2 Administration Server, refer to the Installing DB2 Servers manual.
  4. Stop all DB2 instances. Refer to the Installing DB2 Servers manual.
  5. Remove the DB2 instances, or run the db2iupdt command to update the instances another installation path. To remove the DB2 instances, refer to the Installing DB2 Servers manual.
  6. Remove the DB2 products. Refer to the Installing DB2 Servers manual.
[ Top of Page | Previous Page | Next Page | Contents ]