To remove or uninstall a software package, use the associated tool that you used to add or install a software package. For example, if you used the Oracle Solaris installation GUI to install software, use the Oracle Solaris installation GUI to uninstall software.
Do no use the rm command to remove software packages. Doing so will result in inaccuracies in the database that keeps track of all installed packages on the system.