Build your package.
See "Building a Package", if needed.
Log in to the server as superuser.
Add a software package to the client system's root file system.
server# pkgadd -d device-name -R rootpath [pkg-abbrev...] |
-d device-name |
Specifies the location of the package. Note that device-name can be a full directory path name or the identifiers for a tape, floppy disk, or removable disk. |
-R rootpath |
Specifies the location of the client system's root (/) file system on the server. |
pkg-abbrev |
Is the name of one or more packages (separated by spaces) to be added. If omitted, pkgadd installs all available packages. |
If you are ready to go to the next task, see "How to Verify the Integrity of Your Package".
The following example shows a command to install the SUNWadmr (software to support system and network administration) package from a server onto a diskless client's root file system. In this case, the diskless client's root file system is /export/root/client-1. This example assumes the SUNWadmr package is available from a mounted SPARC 2.x Solaris CD (/cdrom/cdrom0/s0/Solaris_2.7).
server# pkgadd -d /cdrom/cdrom0/s0/Solaris_2.7 -R /export/root/client-1 SUNWadmr . . . Installation of <SUNWadmr> complete. server# |