|
|
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.