To remove DB2 from your workstation cleanly, perform the following steps:
Log in as root.
List all DB2 instances:
bash# /usr/IBMdb2/V7.1/instance/db2ilist |
Drop each instance listed in the previous step with the following command:
bash# /usr/ibmdb2/v7.1/instance/db2idrop instance-name |
Drop the DB2 administration server:
bash# /usr/IBMdb2/V7.1/instance/dasidrop `/usr/IBMdb2/V7.1/instance/dasilist` |
Uninstall all of the DB2 packages on your system using the db2deinstall command on your DB2 CD-ROM:
bash# /mnt/cdrom/db2/db2_deinstall -n |