Software Distributor Administration Guide for HP-UX 11i

Managing Installed Software
Removing Installed Software (swremove)
Chapter 3122
Removing Installed Software (swremove)
The swremove command removes software that has been installed on a
host. Before its removal, the software is first unconfigured. swremove
also removes software products that have been copied to a software
depot.
swremove Features and Limitations
Removes files from the specified location. It removes symbolic links,
but not the targets of symbolic links. It also lists busy files that were
not removed.
Automatic use of dependencies to automatically select software on
which to operate (in addition to any software you specify directly).
Ability to run control scripts as part of the removal:
Unconfigure Undoes host configuration performed by configure
scripts.
Checkremove Analyzes each target to determine if removal and
unconfiguration can take place. If this check fails,
an object cannot be removed.
Preremove Performs additional file operations, such as
removing files created by a preinstall script.
Postremove Performs additional remove operations (such as
restoring "rollback" files) immediately after a
fileset or product has been removed.
For more information, see Chapter 11, “Using Control Scripts,on
page 369.
swremove does not perform automatic unconfiguration when you
remove software from alternate roots.