JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Adding and Updating Software in Oracle® Solaris 11.2
Oracle Technology Network
Print View
search filter icon
search icon

Document Information

Using This Documentation

Chapter 1 Introduction to the Image Packaging System

Chapter 2 Getting Information About Software Packages

Chapter 3 Installing and Updating Software Packages

Chapter 4 Updating or Upgrading an Oracle Solaris Image

Chapter 5 Configuring Installed Images

Configuring Publishers

Displaying Publisher Information

Adding, Modifying, or Removing Package Publishers

Adding Publishers

Adding and Changing Publisher Origins

Adding and Changing Publisher Mirrors

Setting Publisher Search Order and Stickiness

Configuring Publisher Properties

Configuring Publisher Keys and Certificates

Configuring a Publisher Proxy

Enabling and Disabling Publishers

Removing a Publisher

Specifying a Proxy

Using the pkg set-publisher Command to Set a Proxy

Using Environment Variables to Set a Proxy

Controlling Installation of Optional Components

How Variant and Facet Values Affect Package Installation

Example Variant and Facet Values

Showing and Changing Variant Values

Showing and Changing Facet Values

Locking Packages to a Specified Version

Relaxing Version Constraints Specified by Incorporations

Specifying a Default Application Implementation

Identifying Participants in a Mediation

Changing the Preferred Application

Avoiding Installing Some Packages in a Group Package

Configuring Image and Publisher Properties

Boot Environment Policy Image Properties

Properties for Signing Packages

Image Properties for Signed Packages

Publisher Properties for Signed Packages

Configuring Package Signature Properties

Additional Image Properties

Setting Image Properties

Displaying the Values of Image Properties

Setting the Value of an Image Property

Resetting the Value of an Image Property

Creating an Image

Viewing Operation History

Appendix A Troubleshooting Package Installation and Update

Appendix B IPS Graphical User Interfaces


Specifying a Default Application Implementation

Multiple versions of an application or tool might be available in the same image. Each version of the application is available to users by specifying the full path. One version, called the preferred version, is available from a common directory such as /usr/bin for ease of use. If all versions participate in the same mediation, as described below, you can easily reset the version that is the preferred version. This administrative selection is retained across package updates.

A mediation is a set of links in which the link path is the same for each link in the set, and the target of each link is different. For example, the link path might be /usr/bin/myapp and targets of the link might include /usr/myapp/myapp1/bin/myapp and /usr/myapp/myapp2/bin/myapp. Each link in a mediation is called a participant in the mediation. If /usr/bin/myapp currently invokes myapp1, you can easily change the selection so that /usr/bin/myapp invokes myapp2. The version of the software that is currently the target of the link is the preferred version.