When you want to uninstall Solaris WBEM Services from your computer, you remove the packages. When you remove the Solaris WBEM Services packages, not all files that make up your WBEM installation are removed. If Sun WBEM SDK is installed, none of its associated packages are removed. For information about removing Sun WBEM SDK, see "Uninstalling the Sun WBEM SDK" in Chapter 2, Installing the Sun WBEM SDK.
If you uninstall both the Sun WBEM SDK and Solaris WBEM Services, the LDAP schema and data files remain installed. You can remove these files, and the subdirectories that contain them, from the path /opt/SUNWconn/ldap. However, if you remove the LDAP data, you may encounter errors in other applications that require the data. Also, if you remove the LDAP data, you will need to re-install it if you decide to re-install the Sun WBEM SDK or Solaris WBEM Services at a later date.
Become root on your system by typing the following command:
% su |
Type the root password at the Password prompt.
Type the following command at the system prompt to remove a package:
# pkgrm package_name |
where package_name is replaced by the name of the package that you want to remove.
Type y when you are prompted with the question: "Do you want to remove this package?"
You can remove the following packages in any order:
SUNWwbcor
SUNWwbxml
SUNWwbdoc
Be sure to remove the SUNWwbapi package last because all other packages rely on it.
When a package has been removed successfully, the following message is displayed.
Removal of package_name was successful |
Type the pkgrm command at the system prompt for each package you want to remove.
Type exit to exit root and return to your system prompt when you have finished removing packages.