Installing packages on Solaris 11

Use the Install packages by using pkg task to install and update packages on Solaris 11 and later endpoints that are using local repositories or repositories that are provided by Oracle or other publishers.

Before you begin

Ensure that you meet the following requirements:

About this task

The Install packages by using pkg task uses Image Packaging System (IPS) retrieval client commands to distribute and install software products and patches by using the packages that are in the configured repository.

You can use the package name to specify which packages to install on the endpoints. Package names are hierarchical with an arbitrary number of components that are separated by forward slash (/) characters. For more information about package names, see the Oracle documentation at http://docs.oracle.com/cd/E26502_01/html/E28984/ghyer.html#fmri.

You can also update all the installed packages on the endpoint with newer available versions that are in the configured repository.

The pkg commands for the available actions are as follows:
pkg install <package_name1> <package_name2>
Updates or installs a package with a specific name. Multiple package update or installation is acceptable. Use a space to separate the package names.
pkg update
Updates all the installed packages on the endpoint.
Command options are supported as extra flags for the pkg install and pkg update commands. For example: --accept. For more information about the commands, see the Oracle documentation at http://docs.oracle.com/cd/E23824_01/html/E21796/pkg-1.html.

The Install packages by using pkg task also provides actions to test the packages for installation, without installing the packages on the endpoints.

Procedure

  1. From the Patch Management domain, click OS Vendors > Sun Microsystems Solaris > Configuration > Tasks.
  2. Select the Install packages by using pkg task.
  3. In the Task pane, review the description and follow the instructions in the Actions box to start the task.
  4. Depending on the action that you selected, provide the necessary information and click OK.
    Note: To update all installed packages on the endpoint, select the action to install packages, but do not specify any package name.
  5. In the Take Action pane, select the endpoints to which the packages are to be installed or updated.
  6. Click OK.

What to do next

You can use the Image Packaging System Results analysis to verify whether the IPS packages that you installed by running the Install packages by using pkg task were successfully installed on endpoints. For more information, see Retrieving installed package information.