DB2 Version 7.1 for Linux HOWTO
Prev Next

7. Removing DB2

To remove DB2 from your workstation cleanly, perform the following steps:

  1. Log in as root.

  2. List all DB2 instances:

    bash# /usr/IBMdb2/V7.1/instance/db2ilist

  3. Drop each instance listed in the previous step with the following command:

    bash# /usr/ibmdb2/v7.1/instance/db2idrop 
    
    instance-name
    
    

  4. Drop the DB2 administration server:

    bash# /usr/IBMdb2/V7.1/instance/dasidrop `/usr/IBMdb2/V7.1/instance/dasilist`

  5. 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


Prev Home Next
Creating DB2 instances   Using DB2