The purpose of this section is to describe the commands, files, and scripts you might use when manipulating packages. They are described in man pages and in detail throughout this book, in relation to the specific task they perform.
Table 1-1 shows the commands available to help you build, verify, install, and obtain information about a package.
Table 1-1 Packaging Commands
Function |
Command |
Description |
For More Information, Go To ... |
---|---|---|---|
Create packages |
Generate a prototype file for input to the pkgmk command | ||
Create an installable package | |||
Install, remove, and transfer packages |
Install a software package onto a system | ||
Store answers to a request script | |||
Copy packages onto a distribution medium | |||
Remove a package from a system | |||
Obtain information about packages |
Check consistency of a software package | ||
Display software package information | |||
Display package parameter values | |||
Modify installed packages |
Incorporate a new package object into an already installed package |
"Design Rules for Procedure Scripts" and Chapter 5, Package Creation Case Studies |
|
Remove a package object from an already installed package |
Table 1-2 shows the information files available to help you build a package.
Table 1-2 Package Information Files
Files |
Description |
For More Information, Go To ... |
---|---|---|
Package installation defaults file | ||
Package compatibility file | ||
Package copyright information file | ||
Package dependencies file | ||
Package characteristics file | ||
Package contents description file | ||
Package information file | ||
Package disk space requirements file |
Table 1-3 describes optional installation scripts that you can write that affect if and how a package is installed.
Table 1-3 Package Installation Scripts
Scripts |
Description |
For More Information, Go To ... |
---|---|---|
request |
Solicit information from the installer. | |
checkinstall |
Gather file system data. | |
preinstall |
Perform any custom installation requirements before class installation. | |
postinstall |
Perform any custom installation requirements after all volumes are installed. | |
preremove |
Perform any custom removal requirements before class removal. | |
postremove |
Perform any custom removal requirements after all classes have been removed. | |
Class Action |
Perform a series of actions on a specific group of objects. |