While in the global zone, run the pkgrm command followed by the package name.

global# pkgrm package_name

How to Remove a Package From a Specified
Non-Global Zone Only

To remove a package from a specified non-global zone only, the SUNW_PKG_ALLZONES package parameter must be set to false.

You must be the zone administrator in the non-global zone to perform
this procedure.

Log in to the non-global zone as the zone administrator.

While in the non-global zone, my-zone in this procedure, run the pkgrm command followed
by the package name.

my-zone# pkgrm package_name

Applying a Patch to a Solaris System
With Zones Installed

You can use the patchadd system utility described
in the patchadd(1M) man
page to perform the following tasks:

Apply a patch to the global zone only

Apply a patch to the global zone and all non-global zones

Apply a patch to specified non-global zone only

How to Apply a Patch to the Global Zone
Only

Note –

Solaris 10 3/05 through Solaris 10 11/06: If
you are patching a package that was added by using the pkgadd command
with the -G option, the package must be patched by using the patchadd command with the -G option. This restriction
is removed in the Solaris 8/07 release.

You must be the global administrator in the global zone to perform this
procedure.

How to Apply a Patch to a Specified Non-Global
Zone Only

To apply a patch to a specified non-global zone only, the SUNW_PKG_ALLZONES package parameter for all packages in the patch set must be set
to false.

You must be the zone administrator in the non-global zone to perform
this procedure.

Log in to the non-global zone as the zone administrator.

While in the non-global zone, my-zone in this procedure, execute the patchadd command
followed by the patch ID.

my-zone# patchadd patch_id

Solaris 10 10/09: How to Patch Non-Global Zones in
Parallel

Set the number of non-global zones that will be patched in parallel
in the patchadd configuration file /etc/patch/pdo.conf. When patching in the global zone has finished, the number of non-global
zones set in num_proc= are patched together.

If running a release prior to Solaris 10 10/09, download patch 119254-66
or later revision (SPARC) or 119255-66 or later revision (x86).

You must be the global administrator in the global zone to perform this
procedure.

In the /etc/patch/pdo.conf file, set 6 non-global
zones to be patched together in parallel on a system with 4 online CPUs.

num_proc=6

If there are more than six non-global zones on the system, the first
six will be patched in parallel, then the remaining non-global zones will
be patched as processes finish patching the first six non-global zones.

Removing a Patch on a System with Zones
Installed

You can use the patchrm system utility described
in the patchrm(1M) man
page to perform the following task:

Remove a patch from the global zone and all non-global zones

Remove a patch from a specified non-global zone only

How to Remove a Patch From the Global Zone and All
Non-Global Zones

You must be the global administrator in the global zone to perform this
procedure.

How to Remove a Patch From a Specified
Non-Global Zone Only

To remove a patch from a specified non-global zone only, the SUNW_PKG_ALLZONES package parameter for all packages in the patch set must be set
to false.

You must be the zone administrator in the non-global zone to perform
this procedure.

Log in to the non-global zone as the zone administrator.

While in the non-global zone, my-zone in this procedure, execute the patchrm command
followed by the patch ID.

my-zone# patchrm patch_id

Checking Package Parameter Settings on
a System with Zones Installed

Before you add or remove a software package, you can use the pkgparam command to check package parameter settings. This step is optional.
This check also can be done when troubleshooting why a package is not added
or removed as expected. For information about displaying package parameter
values, see the pkgparam(1) man
page.

(Optional) How to Check the Setting of
a Package Already Installed on the System

To check the package parameter setting of a package that is already
installed in a global or non-global zone, use pkgparam followed
by the package name and the name of the parameter.