|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris Administration: Oracle Solaris Zones, Oracle Solaris 10 Zones, and Resource Management Oracle Solaris 11 Information Library|
The software installed in solaris branded zones, as described in brands(5), must be compatible with the software that is installed in the global zone. The pkg command automatically enforces this compatibility. If the pkg update command is run in the global zone to update software, zones are also updated, to keep the zones in sync with the global zone. The non—global zone and global zone can have different software installed. The pkg command can also be used in a zone to manage software within that zone.
If the pkg update command (with no FMRIs specified) is run in the global zone, pkg will update all the software in both the global zone and any non-global zones on the system.
You can use the trial-run, also called dry-run, installation capability of pkg install in Oracle Solaris Zones.
Using a zone package variant, the various components within a package are specifically tagged to only be installed in either a global zone (global) or a non-global zone (nonglobal). A given package can contain a file that is tagged so that it will not be installed into a non-global zone.
Only a subset of the Oracle Solaris packages installed in the global zone are completely replicated when a non-global zone is installed. For example, many packages that contain the Oracle Solaris kernel are not needed in a non-global zone. All non-global zones implicitly share the same kernel from the global zone.
For more information, see Installing Oracle Solaris 11 Systems and Adding and Updating Oracle Solaris 11 Software Packages.
Note - When updating the global zone on a system with non-global zones, the system might appear to display package download information twice for the zones. However, the packages are only downloaded once.