JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Application Packaging Developer's Guide     Oracle Solaris 10 1/13 Information Library
search filter icon
search icon

Document Information


1.  Designing a Package

Where to Find Packaging Tasks

What Are Packages?

Package Components

Required Package Components

Optional Package Components

Package Information Files

Package Installation Scripts

Considerations Before Building a Package

Make Packages Remotely Installable

Optimize for Client-Server Configurations

Package by Functional Boundaries

Package Along Royalty Boundaries

Package by System Dependencies

Eliminate Overlap in Packages

Package Along Localization Boundaries

Packaging Commands, Files, and Scripts

2.  Building a Package

3.  Enhancing the Functionality of a Package (Tasks)

4.  Verifying and Transferring a Package

5.  Case Studies of Package Creation

6.  Advanced Techniques for Creating Packages



Package Components

The components of a package fall into two categories.

The control files are also divided into two categories: information files and installation scripts. Some control files are required. Some control files are optional.

To package your applications, you must first create the required components, and any optional components, that make up your package. You can then build the package by using the pkgmk command.

To build a package, you must provide the following:

The following figure describes the contents of a package.

Figure 1-1 The Contents of a Package

image:The preceding context and the following context describe the graphic.

Required Package Components

You must create the following components before you build your package:

Optional Package Components

Package Information Files

You can include four optional package information files in your package:

Each package information file should have an entry in the prototype file. See Creating Information Files for more information on creating these files.

Package Installation Scripts

Installation scripts are not required. However, you can provide scripts that perform customized actions during the installation of your package. An installation script has the following characteristics:

The four script types are as follows:

See Creating Installation Scripts for a more information on installation scripts.