This task provides steps for removing DB2 Version 8 products using the db2_deinstall command. The db2_deinstall command removes all DB2 products from your system. If you want to remove a subset of DB2 products, use your operating system's native tools to remove DB2 components, packages, or file sets.
PrerequisitesBefore you remove DB2 products from your UNIX system:
- Ensure that you have performed all steps outlined in Removing DB2 on UNIX before removing DB2 products from your UNIX system.
- You must have root authority to remove DB2 products.
- You will need your product CD-ROM to use the db2_deinstall command. The db2_deinstall command is found in the root directory on the DB2 Version 8 product CD-ROM.
ProcedureTo remove DB2 products from your UNIX system:
- Log in as user with root authority.
- Mount the DB2 Version 8 product CD-ROM.
- Run the db2_deinstall -n command from the root directory of your DB2 Version 8 product CD-ROM. The -n parameter makespkgrm non-interactive. The -n parameter is only on System V (Solaris).This command will remove all DB2 products from your system.
There are alternative methods for removing DB2 products from your operating system. You may employ one of these methods if you only want to remove a subset of DB2 products from your system. Alternative methods for removing DB2 products include:
- AIX
- You can use the System Management Interface Tool (SMIT) to remove some or all DB2 products. If you use SMIT to remove DB2, DB2 Version 8 products can be identified by their prefix of db2_08_01. You can also remove all DB2 products from AIX systems using theinstallp command by entering installp -u db2_08_01.
- HP-UX
- You can use the swremove command to remove some or all DB2 products.
- Linux
- You can use the rpm command to remove some or all DB2 products.
- Solaris Operating Environment
- You can remove some or all DB2 products using the pkgrm command.
Comments
Post a Comment