Go to main content

Transitioning From Oracle® Solaris 10 to Oracle Solaris 11.3

Exit Print View

Updated: December 2018

Oracle Solaris 10 SVR4 and IPS Package Comparison

    Review the following information about software packaging changes:

  • The SUNW prefix for package names is no longer used. With the introduction of IPS, all software packages are renamed. A set of mappings has been added to the former SVR4 package database for compatibility. The mappings ensure that package dependencies are met for administrators who want to install a legacy SVR4 package.

  • Certain SVR4 package commands, such as pkgadd, are retained for administering legacy SVR4 packages, but the primary package installation and update interface is the pkg(1) set of commands. If you previously used the pkgadd command to install a particular package, you can check whether that package is available as an IPS package. The IPS package name will most likely be different.

    Locate a specific SVR4 package as follows:

    $ pkg info -g http://pkg.oracle.com/solaris/release/ SUNWcsl
       Name: SUNWcsl
             State: Not installed (Renamed)
        Renamed to: system/library@0.5.11-0.133
         Publisher: solaris
           Version: 0.5.11
     Build Release: 5.11
            Branch: 0.133
    Packaging Date: Wed Oct 27 18:35:58 2010
              Size: 0.00 B
              FMRI: pkg://solaris/SUNWcsl@0.5.11,5.11-0.133:20101027T183558Z 

    The previous output shows that the SVR4 SUNWcsl package is renamed to the IPS system/library package. Determine If the IPS package is installed as follows:

    $ pkg list system/library
    NAME (PUBLISHER)                                  VERSION                    IFO
    system/library                                    0.5.11-    i--

    The previous output indicates that the system/library package is already installed. If the package was not installed, you would install the package as follows:

    $ pkg install system/library
  • If an SVR4 package is available as an IPS package, install the IPS package rather than the SVR4 package. Installing the IPS package ensures that only versions that are compatible with the rest of the image can be installed and that dependencies are automatically checked and updated. See Adding and Updating Software in Oracle Solaris 11.3.

    In the previous example, even if you attempted to install the SVR4 package, the system/library IPS package is automatically installed. However, in this example, since the package is already installed, the command returns the following message:

    $ pkg install SUNWcsl
    No updates necessary for this image.
  • Certain SVR4 package commands, for example, patchadd, are no longer available. Instead, use the IPS pkg update command. When you use this command, any package dependencies are automatically resolved.

  • IPS package names use a Fault Manager Resource Identifier (FMRI) naming style. Package names are also hierarchical instead of abbreviated. To reiterate, the core system library package in Oracle Solaris 10 is SUNWcsl but the IPS name is system/library. The FMRI format of system/library is similar to the following:


    See Fault Management Resource Identifiers in Adding and Updating Software in Oracle Solaris 11.3.

    Note -  Due to organizational restructuring of the files that are delivered with each package, there is not an exact one-to-one mapping of Oracle Solaris 10 package names to Oracle Solaris 11 package names.
  • Oracle Solaris 10 packages are split into development, documentation, and runtime components. In Oracle Solaris 11, all of these components are delivered in one package. You can use the pkg change-facet command to exclude certain components such as man pages or header files. See Controlling Installation of Optional Components in Adding and Updating Software in Oracle Solaris 11.3.

  • SVR4 packaging and patch tools are still supported in Oracle Solaris 10 Containers. These Oracle Solaris 10 branded, non-global zones run on Oracle Solaris 11 by using zones and branded zones. See Oracle Solaris Zones Features.

The following table compares SVR4 package and patch commands with IPS package commands.

Table 6  SVR4 and IPS Package Command Equivalents
SVR4 Package Command
IPS Package Command Equivalent
pkg install
pkg update
pkg uninstall
pkgadm addcert, pkgadm removecert
pkg set-publisher –k, –c, --approve-ca-cert, --revoke-ca-cert, unset-ca-cert
pkginfo, pkgchk –l
pkg info, pkg list, pkg contents, pkg search
pkg verify, pkg fix, pkg revert