Listing All Packages in a Group Package
The text installer and the default AI manifest in an Automated Installer installation install the solaris-large-server
group package. The default installation manifest for non-global zones installs the solaris-small-server
group package. The solaris-minimal-server
group package installs the minimal supported set of packages required to run Oracle Solaris.
You can use the following search form to display the set of packages that is included in the specified group package.
Note:
This package list does not include every package that is installed when you install the group package. Dependencies of the packages in this list will also be installed, and dependencies of those dependencies.$ pkg search -o type,fmri \*/solaris-minimal-server:depend::
TYPE FMRI
require developer/debug/mdb
require editor/vim/vim-core
require group/system/solaris-core-platform
group network/ping
group network/ssh
require package/pkg
require release/name
require release/notices
group service/network/ssh
require shell/bash
require shell/ksh93
group shell/tcsh
group shell/zsh
require system/core-os
require system/library/platform
group system/network
group system/rsyslog
The depend
query field matches depend
actions in the package. The -o
option displays the values of the type
and fmri
attributes of the depend
action. Recall that group packages do not specify file system content; group packages specify other packages that are part of the group. See Group Packages for more information about group packages.
The pkg search
command is returning the value of an attribute of an action in a specified package. In this example, that attribute value is a package name. The number of results from this command can be larger than the number of the results from the similar pkg contents
command shown in Listing All Installable Packages in a Group Package because these search results include the names of all packages that are named in depend
actions of type group
in the specified package, not just installable packages. For example, package variants and facets might be included that are not installable in this image. To see this difference, try both examples with the solaris-large-server
package.