Go to main content

Oracle® Solaris Cluster 4.3 System Administration Guide

Exit Print View

Updated: June 2017
 
 

How to Uninstall a Package

  1. Assume a role that provides solaris.cluster.admin authorization.
  2. Uninstall one or more existing packages.
    # pkg uninstall pkg-fmri [pkg-fmri]

    The pkg uninstall command will fail if there are other installed packages that depend on the pkg-fmri you are uninstalling. To uninstall the pkg-fmri, you must supply the pkg uninstall command with all the pkg-fmri dependents. For additional information on uninstalling packages, see Adding and Updating Software in Oracle Solaris 11.3 and the pkg(1) man page.