Adding and Updating Software in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

Listing All Installable Packages in a Group Package

Oracle Solaris provides several system installation group packages. The Oracle Solaris 11 GUI installer installs the solaris-desktop 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 command to display the set of packages that is included in each group:

$ pkg contents -Hro fmri -t depend -a type=group solaris-minimal-server
network/ping
service/network/ssh
shell/tcsh
shell/zsh
system/network

The -t option matches depend actions in the package. The -a option matches the depend actions that are type group. The -o option displays only the fmri attribute of the group depend action. Recall that group packages do not specify content such as files; group packages specify other packages that are part of the group. See Group Packages for more information about group packages.

To also show the summary description of each package, use the pkg list -s command:

$ pkg list -Has `pkg contents -Hro fmri -t depend -a type=group solaris-minimal-server`
network/ping                                        Ping command
service/network/ssh                                 Secure Shell protocol server
shell/tcsh                                          Tenex C-shell (tcsh)
shell/zsh                                           Z Shell (zsh)
system/network                                      Core Network Infrastructure