|Skip Navigation Links|
|Exit Print View|
|Adding and Updating Oracle Solaris 11.1 Software Packages Oracle Solaris 11.1 Information Library|
Use the pkg uninstall command to remove installed packages.
/usr/bin/pkg uninstall [-nvq] [-C n] [--no-index] [--no-be-activate] [--no-backup-be | --require-backup-be] [--backup-be-name name] [--deny-new-be | --require-new-be] [--be-name name] pkg_fmri_pattern ...
If a package is the subject of a group dependency, uninstalling the package places it on the avoid list. See Avoiding Installing Some Packages in a Group Package for information about the avoid list.
When you specify the --no-index option, the search indices are not updated after the operation has completed successfully. Specifying this option might save some time if you are installing a large number of packages. When you are finished with all install, update, and uninstall operations, you can use pkg refresh to update the list of available packages and publisher metadata for each publisher specified. If no publishers are specified, the refresh is performed for all publishers.
Use the -C option to uninstall packages in n non-global zones concurrently with the global zone. See Updating Multiple Non-Global Zones Concurrently for an example of using the -C option.