Packaging your software applications

Packaging your software applications

NOTE: This topic describes the pkgadd family of package installation software that is the default package format on SCO UnixWare. While this format is also supported on SCO OpenServer, the primary installation format for SCO OpenServer is the Custom Distribution Mastering Toolkit (CDMT) format. For more information on CDMT, see the custom(ADM) and Intro(CDMT) manual pages.

This topic describes how to package software that will be installed on computers running SCO Openserver or UnixWare. 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.

The section on set packaging describes how you can collect an arbitrary number of packages into a single installable image (the ``set'') for installation on the target machine.

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

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005