Packaging your software applications

Packaging your software applications

SCO OpenServer Release 5.0.5a and later releases support the UnixWare 7 pkg packaging facilities as well as the CDMT packaging facilities. This topic describes how to package software using the UnixWare 7 tools.

Earlier releases of SCO OpenServer supported an earlier version of these tools. Supporting these tools on SCO OpenServer enables developers to create packages that can be installed on both SCO OpenServer and UnixWare 7. The major new capabilities provided to SCO OpenServer developers with the UnixWare 7 tools is support for sets and menus. Each manual page contains detailed information comparing the command or file to that used for older versions of the pkg facilities.

These tools deliver information to the system through package information files. A packaging tool, the pkgmk(C) command, is provided to help automate package creation. It gathers the components of a package on the development machine, copies them onto the installation medium, and places them into a structure that the installation tool, pkgadd(ADM), recognizes.

This topic also describes the pkgadd(ADM) command, which copies the package from the installation medium onto a system and performs system housekeeping routines that concern the package. This tool is primarily for the installer but is described here to provide you with a background on the environment into which your packages will be placed and to help you test-install packages.

The first two sections describe what a package consists of and gives an overview of the structural life cycle of a package (how its structure on your development machine relates to its structure on the installation medium and on the installation machine).

The remaining sections familiarize you with the tools, files, and scripts involved in creating a package, provide suggestions for how to approach software packaging, and describe some specific procedures.

A section on set packaging is at the end of this topic. It describes the new concept of "sets," how packages are related to them, and how some of the packaging commands have been enhanced to support sets.

After reading this topic, you should study ``Case studies of package installation'', which provides case studies using the tools and techniques described in this topic.

Next topic: Contents of a package

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003