JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Adding and Updating Oracle Solaris 11.1 Software Packages     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

1.  Introduction to the Image Packaging System

2.  IPS Graphical User Interfaces

Using Package Manager

Package Manager Command Line Options

Using Web Install

Exporting Files Using Web Install

Using Web Install to Add Publishers and Install Packages

Using Update Manager

Update Manager Command Line Options

3.  Getting Information About Software Packages

4.  Installing and Updating Software Packages

5.  Configuring Installed Images

Using Package Manager

Package Manager provides a subset of the tasks that can be performed from the command line:

Start Package Manager in one of the following ways:

Tool bar

Click the Package Manager icon in the tool bar. The Package Manager icon is a box with a circling arrow.

Desktop icon

Double-click the Package Manager icon on the desktop.

Menu bar

Select System>Administration>Package Manager.

Command line

$ pfexec packagemanager &

For complete Package Manager documentation, select Help>Contents from the Package Manager menu bar.

Package Manager Command Line Options

The following options are supported for the packagemanager(1) command.

Table 2-1 Package Manager Command Options

Option
Description
--image-dir or -R dir
Operate on the image rooted at dir. The default behavior is to operate on the current image.

The following command operates on the image stored at /aux0/example_root:

# packagemanager -R /aux0/example_root
--update-all or -U
Update all installed packages that have updates available. Specifying this option is the same as selecting the Updates option in the Package Manager GUI. See Using Update Manager for more information about updating all packages.
--info-install or -i file.p5i
Specify a .p5i file to run Package Manager in Web Install mode. The specified file must have the extension .p5i. See Using Web Install for more information.
--help or -h
Display command usage information.

Using Web Install

See the Package Manager Help for detailed information about the Web Install process.

Package Manager supports installing packages using a simple one-click Web Install process. The Web Install process uses a .p5i file. A .p5i file contains information to add publishers and add packages that can be installed from these publishers. The information in the .p5i file is read and used by the Web Install process.

Exporting Files Using Web Install

If you want other users to be able to install packages that you have installed on your system, you can export the installation instructions for those package files using the Web Install process. The Web Install process creates a .p5i file that consists of installation instructions for those packages and publishers to be installed.

To export the installation instructions for your selected packages and their publishers to a .p5i file, perform the following steps:

  1. From the Package Manager Publisher drop-down menu, select the publisher from which you want to include the packages in the .p5i file.

  2. In the Package Manager package list pane, select the package whose installation instructions you want to distribute.

  3. Select File>Export Selections to display the Export Selections Confirmation window.

  4. Click the OK button to confirm the selections. The Export Selections window is displayed.

  5. A default name for the .p5i file is provided. You can change this file name, but do not change the .p5i extension.

  6. A default location for the .p5i file is provided. You can change the location.

  7. Click the Save button to save the file name and location.

Using Web Install to Add Publishers and Install Packages

The Web Install process enables you to install packages through a .p5i file. This file might be on your desktop or on a web site.

  1. Use one of the following methods to start Package Manager in Web Install mode:

    • Select a .p5i file on your desktop.

    • Start Package Manager from the command line and specify a .p5i file:

      # packagemanager ./wifile.p5i
    • Go to a URL location that contains a link to a .p5i file.

      If the .p5i file is located on a web server that has registered this MIME type, just click the link to the .p5i file.

      If the .p5i file is located on a web server that has not registered this MIME type, save the .p5i file to your desktop and then select it.

  2. The Install/Update window is displayed. The label at the top of the window is: “Package Manager Web Installer/The following will be added to your system.” The publishers and packages to be installed are listed. Click the Proceed button to continue with the installation.

  3. If the specified package publisher is not already configured on your system, the Add Publisher window is displayed. The name and URI of the publisher are already entered.

    If the publishers to be added are secure publishers, an SSL key and certificate are required. Browse to locate the SSL Key and SSL Certificate on your system.

    If the publisher is added successfully, the Adding Publisher Complete dialog displays. Click the OK button to continue with the installation.

  4. If a .p5i file contains packages from a disabled publisher, Web Install opens an Enable Publisher dialog. Use this dialog to enable the publisher so that you can install the packages.

The Install/Update window now looks the same as when you select the Package Manager Install/Update option.

The application closes when all packages are installed.