Uninstalling a Db2 database product, feature, or language using a response file (Linux and UNIX)
To silently uninstall Db2 database products, features, or languages in a Db2 copy, use the db2_deinstall command with the -r option.
About this task
If you have Db2 database products installed in various installation paths, you must run this command separately from each installation path. Sample response file, db2un.rsp, is in DB2DIR/install, where DB2DIR specifies the path where the Db2 database product was installed.
Procedure
To perform an uninstallation: