IBM VERSION 9 Uninstalling your DB2 products Linux, Related reference, Prerequisites, Procedure

Models: VERSION 9

1 109
Download 109 pages 12.57 Kb
Page 82
Image 82
Uninstalling your DB2 products (Linux)

v“Uninstalling your DB2 product (Linux and UNIX)” in Quick Beginnings for DB2 Servers

v“Uninstalling a DB2 product using a response file (Windows)” in Installation and Configuration Supplement

v“Changing the Default DB2 copy after installation (Windows)” in Administration Guide: Implementation

Related reference:

v“db2swtch - Switch default DB2 copy command” in Command Reference

v“db2unins - Uninstall DB2 database product command” in Command Reference

v“DROP DATABASE command” in Command Reference

Uninstalling your DB2 products (Linux)

Removing DB2 products using the db2_deinstall or doce_deinstall command (Linux)

This task provides steps for removing DB2 products or DB2 components using the db2_deinstall command. The db2_deinstall command removes all DB2 products from your system. The doce_deinstall command removes the DB2 Information Center that is in the same install path as the doce_deinstall tool. This command is only available on the Linux operating systems.

You cannot remove DB2 products using a native operating system utility, such as rpm or SMIT.

Prerequisites:

Before you remove DB2 products from your system:

vEnsure that you have performed all steps outlined in Uninstalling your DB2 product.

vYou must have root authority to remove DB2 products.

Procedure:

To remove ALL DB2 products from a specific path:

1.Log in as user with root authority.

2.Access the path where the DB2 products are located. To locate the path of the DB2 product to remove, see

3.Run the db2_deinstall -acommand from the DB2DIR/install directory or the doce_deinstall -acommand from the DB2DIR/doc/install directory, where DB2DIR is the location that you specified when you installed your DB2 product.

Related tasks:

v“Applying fix packs” on page 71

v“Listing DB2 products installed on your system (Linux and UNIX)” in Quick Beginnings for DB2 Servers

v“Removing DB2 instances (Linux)” on page 76

v“Uninstalling your DB2 product (Linux and UNIX)” in Quick Beginnings for DB2 Servers

74Getting started with DB2 installation and administration

Page 82
Image 82
IBM VERSION 9 manual Uninstalling your DB2 products Linux, Related reference, Prerequisites, Procedure, Related tasks