IBM Books

Quick Beginnings for DB2 Universal Database for UNIX


Step 5. Remove DB2 Products



Figure hint not displayed.

You must stop all outstanding DB2 processes before removing the DB2 products.

The following steps describe how to remove DB2 products on UNIX operating systems.

Remove DB2 Products on AIX Systems

You can remove the DB2 products on AIX using the SMIT interface as follows:

  1. Log in as user with root authority.

  2. Type smit install_remove to proceed directly to the Remove Software Products screen.

  3. Press F4 to display a list of the software to remove. Press F7 at some or all of the entries that have a prefix of db2_05_00.
    Note:For a detailed description of the software packages, see Appendix B. Contents of the DB2 Products.

  4. Press Enter to start removing the DB2 products.


Figure hint not displayed.

You can also remove all DB2 Version 5 products on AIX, using the installp command with the de-install option:

   installp -u db2_05_00

  


Remove DB2 Products on HP-UX Systems

You can remove the DB2 products on the HP-UX operating system using the swremove program as follows:

  1. Log in as user with root authority.

  2. Use swremove to remove some or all of the DB2 Version 5 products.

Remove DB2 Products on SCO UnixWare 7 Systems

You can remove the DB2 products on the SCO UnixWare 7 operating system using the scoadmin program as follows:

  1. Log in as user with root authority.

  2. Use the scoadmin command to remove some or all of the DB2 Version 5 products.

Remove DB2 Products on Solaris Systems

You can remove the DB2 products on the Solaris operating system using the pkgrm program as follows:

  1. Log in as user with root authority.

  2. Determine the packages for all DB2 for Solaris related products you have installed on your system by entering:
       pkginfo | grep -i db2 | grep 50
    

  3. Remove all packages listed in step 2 with the pkgrm command.

  4. Select Yes at the prompt for each package to be removed.

    Before removing a package, all its dependent packages must be removed first. You must remove packages in the following order:

    1. db2ht%L50
    2. db2ms%L50
    3. db2adts50
    4. db2adt50
    5. db2cent50
    6. db2entp50
    7. db2wkgp50
    8. db2cnvt50
    9. db2cnvc50
    10. db2cnvk50
    11. db2cnvj50
    12. db2smpl50
    13. db2repl50
    14. db2conn50
    15. db2das50
    16. db2cipx50
    17. db2cdrd50
    18. db2csna50
    19. db2crte50
    20. db2engn50
    21. db2rte50
    22. db2jdbc50
    23. db2odbc50
    24. db2cliv50

    Where %L is the language/locale identifier
    Note:See Appendix B. Contents of the DB2 Products for a list of packages for Solaris.



Figure hint not displayed.

You can also use the db2_deinstall command to remove products as follows:

  1. Mount the CD-ROM as described in Step 3. Mount the CD-ROM.

  2. Go the appropriate /cdrom mount directory.

  3. Run the db2_deinstall command.

    The command lists the products installed and will de-install them in the correct order.



[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]