JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Adding and Updating Oracle Solaris 11.1 Software Packages     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

1.  Introduction to the Image Packaging System

2.  IPS Graphical User Interfaces

3.  Getting Information About Software Packages

4.  Installing and Updating Software Packages

Previewing an Operation

Installing and Updating Packages

Boot Environment Options

Installing a New Package

Installing a Package into a New Boot Environment

Rejecting a Package

Updating a Package

Fixing Package Problems

Verifying Package Installation

Fixing Verification Errors

Restoring a File

Uninstalling Packages

Working with Non-Global Zones

Installing Packages in Non-Global Zones

Updating Multiple Non-Global Zones Concurrently

5.  Configuring Installed Images

Uninstalling Packages

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.